* [obv] Fix spu-tdep.c compilation failure
@ 2010-07-02 8:06 Jan Kratochvil
2010-07-02 13:22 ` Ulrich Weigand
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kratochvil @ 2010-07-02 8:06 UTC (permalink / raw)
To: gdb-patches; +Cc: Pedro Alves
Hi,
currently compilation failed with --enable-64-bit-bfd --enable-targets=all:
spu-tdep.c: In function ‘spu_catch_start’:
spu-tdep.c:1898: error: passing argument 10 of ‘create_breakpoint’ makes pointer from integer without a cast
breakpoint.h:834: note: expected ‘struct breakpoint_ops *’ but argument is of type ‘int’
spu-tdep.c:1898: error: passing argument 11 of ‘create_breakpoint’ makes integer from pointer without a cast
breakpoint.h:834: note: expected ‘int’ but argument is of type ‘void *’
spu-tdep.c:1898: error: too many arguments to function ‘create_breakpoint’
Checked-in as obvious.
Regards,
Jan
http://sourceware.org/ml/gdb-cvs/2010-07/msg00012.html
--- src/gdb/ChangeLog 2010/07/01 18:03:48 1.11959
+++ src/gdb/ChangeLog 2010/07/02 08:04:02 1.11960
@@ -1,3 +1,8 @@
+2010-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * spu-tdep.c (spu_catch_start): Adjust the caller of changed
+ create_breakpoint prototype.
+
2010-07-01 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify
--- src/gdb/spu-tdep.c 2010/06/23 12:46:35 1.61
+++ src/gdb/spu-tdep.c 2010/07/02 08:04:03 1.62
@@ -1892,7 +1892,7 @@
create_breakpoint (get_objfile_arch (objfile), buf /* arg */,
NULL /* cond_string */, -1 /* thread */,
0 /* parse_condition_and_thread */, 1 /* tempflag */,
- 0 /* hardwareflag */, 0 /* traceflag */,
+ bp_breakpoint /* type_wanted */,
0 /* ignore_count */,
AUTO_BOOLEAN_FALSE /* pending_break_support */,
NULL /* ops */, 0 /* from_tty */, 1 /* enabled */);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [obv] Fix spu-tdep.c compilation failure
2010-07-02 8:06 [obv] Fix spu-tdep.c compilation failure Jan Kratochvil
@ 2010-07-02 13:22 ` Ulrich Weigand
2010-07-04 9:11 ` Hui Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Weigand @ 2010-07-02 13:22 UTC (permalink / raw)
To: Jan Kratochvil; +Cc: gdb-patches, Pedro Alves
Jan Kratochvil wrote:
> +2010-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
> +
> + * spu-tdep.c (spu_catch_start): Adjust the caller of changed
> + create_breakpoint prototype.
Thanks for the quick fix, Jan!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [obv] Fix spu-tdep.c compilation failure
2010-07-02 13:22 ` Ulrich Weigand
@ 2010-07-04 9:11 ` Hui Zhu
0 siblings, 0 replies; 3+ messages in thread
From: Hui Zhu @ 2010-07-04 9:11 UTC (permalink / raw)
To: Jan Kratochvil; +Cc: gdb-patches, Pedro Alves, Ulrich Weigand
I am OK now. Thanks Jan.
Hui
On Fri, Jul 2, 2010 at 21:22, Ulrich Weigand <uweigand@de.ibm.com> wrote:
> Jan Kratochvil wrote:
>
>> +2010-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
>> +
>> + * spu-tdep.c (spu_catch_start): Adjust the caller of changed
>> + create_breakpoint prototype.
>
> Thanks for the quick fix, Jan!
>
> Bye,
> Ulrich
>
> --
> Dr. Ulrich Weigand
> GNU Toolchain for Linux on System z and Cell BE
> Ulrich.Weigand@de.ibm.com
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-04 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02 8:06 [obv] Fix spu-tdep.c compilation failure Jan Kratochvil
2010-07-02 13:22 ` Ulrich Weigand
2010-07-04 9:11 ` Hui Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox