This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] fix python-less build
- From: Tom Tromey <tromey at redhat dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Tue, 09 Dec 2008 09:24:06 -0700
- Subject: [python] fix python-less build
- Reply-to: Tom Tromey <tromey at redhat dot com>
Someone on irc mentioned a build failure; he didn't have python-dev
installed.
This fixes the python-less build.
Tom
2008-12-09 Tom Tromey <tromey@redhat.com>
* python/python.c (apply_val_pretty_printer): Add missing
"struct". Fix typo in "ui_file".
diff --git a/gdb/python/python.c b/gdb/python/python.c
index b6fbc73..75cd435 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1167,10 +1167,10 @@ eval_python_from_control_command (struct command_line *cmd)
int
apply_val_pretty_printer (struct type *type, const gdb_byte *valaddr,
int embedded_offset, CORE_ADDR address,
- struct ui_ifle *stream, int format,
+ struct ui_file *stream, int format,
int deref_ref, int recurse,
enum val_prettyprint pretty,
- const language_defn *language)
+ const struct language_defn *language)
{
return 0;
}