This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: [PATCH 9/9] add python layer


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> This patch adds some Python support for type pretty-printing, with the
Tom> idea that programs can ship a bit of Python code to customize type
Tom> display.

Apparently I neglected to build and test the final series without Python
enabled.

This patch, on top of patch #9, makes it build again, and passes
regression testing (with the help.exp patch I just sent applied).

I'm amending patch #9 to include this.

Tom

diff --git a/gdb/python/python.c b/gdb/python/python.c
index 9b863a1..71b7c1b 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1362,7 +1362,7 @@ start_type_printers (void)
 }
 
 char *
-apply_type_printers (struct type *type)
+apply_type_printers (void *ignore, struct type *type)
 {
   return NULL;
 }


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