This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 2/5] Support breakpoint kinds for software breakpoints in GDBServer.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: antoine dot tremblay at ericsson dot com (Antoine Tremblay)
- Cc: gdb-patches at sourceware dot org, antoine dot tremblay at ericsson dot com (Antoine Tremblay), palves at redhat dot com
- Date: Thu, 22 Oct 2015 15:49:52 +0200 (CEST)
- Subject: Re: [PATCH v3 2/5] Support breakpoint kinds for software breakpoints in GDBServer.
- Authentication-results: sourceware.org; auth=none
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