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]

[commit] Fix spu-tdep.c build regression [Re: [PATCH v2] dynamic printf]


On Mon, 14 May 2012 17:53:50 +0200, Stan Shebs wrote:
> Thanks for the feedback!  Here's what I committed.

with --enable-targets=all:

spu-tdep.c: In function ‘spu_catch_start’:
spu-tdep.c:1950:8: error: incompatible type for argument 10 of ‘create_breakpoint’
In file included from inferior.h:37:0,
                 from spu-tdep.c:36:
breakpoint.h:1220:12: note: expected ‘enum auto_boolean’ but argument is of type ‘struct breakpoint_ops *’
spu-tdep.c:1950:8: error: too few arguments to function ‘create_breakpoint’
In file included from inferior.h:37:0,
                 from spu-tdep.c:36:
breakpoint.h:1220:12: note: declared here


BTW sourceware GIT still displays you as:
	Author: Stan Shebs <shebs@apple.com>


Regards,
Jan


http://sourceware.org/ml/gdb-cvs/2012-05/msg00105.html

--- src/gdb/ChangeLog	2012/05/14 18:56:39	1.14249
+++ src/gdb/ChangeLog	2012/05/15 04:08:44	1.14250
@@ -1,3 +1,8 @@
+2012-05-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* spu-tdep.c (spu_catch_start): Update create_breakpoint caller
+	parameters.
+
 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* amd64-tdep.c: Include features/i386/x32.c and
--- src/gdb/spu-tdep.c	2012/03/13 13:30:42	1.78
+++ src/gdb/spu-tdep.c	2012/05/15 04:08:47	1.79
@@ -1942,6 +1942,7 @@
   xsnprintf (buf, sizeof buf, "*%s", core_addr_to_string (pc));
   create_breakpoint (get_objfile_arch (objfile), buf /* arg */,
 		     NULL /* cond_string */, -1 /* thread */,
+		     NULL /* extra_string */,
 		     0 /* parse_condition_and_thread */, 1 /* tempflag */,
 		     bp_breakpoint /* type_wanted */,
 		     0 /* ignore_count */,


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