This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[python] fix python-less build


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;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]