Re: [PATCH v3 2/5] Support breakpoint kinds for software breakpoints in GDBServer.

Ulrich Weigand
2015-10-22T13:49:59Z

Antoine Tremblay wrote:

> gdb/gdbserver/ChangeLog:
> * mem-break.c : Remove breakpoint_data/breakpoint_len global variables.
> (set_breakpoint_data): Remove.

This breaks building gdbserver for spu-elf:

spu-low.o: In function `initialize_low':
gdb/gdbserver/spu-low.c:684: undefined reference to `set_breakpoint_data'

and most likely other non-Linux gdbserver targets that still refer to
set_breakpoint_data:

gdb/gdbserver/nto-low.c: set_breakpoint_data (the_low_target.breakpoint,
gdb/gdbserver/win32-low.c: set_breakpoint_data (the_low_target.breakpoint,

What needs to be done to fix those?

B.t.w. if set_breakpoint_data is really gone, its prototype should be
removed from mem-break.h as well.

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com