This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 9/9] add python layer
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 10 Sep 2012 11:30:29 -0600
- Subject: Re: [PATCH 9/9] add python layer
- References: <87r4qdhdjw.fsf@fleche.redhat.com>
>>>>> "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;
}