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 v3 2/5] Support breakpoint kinds for software breakpoints in GDBServer.


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


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