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 0/2] xtensa: add hardware breakpoints support


On 03/09/2016 09:48 PM, Max Filippov wrote:
Hello,

this series cleans up gdb/xtensa-linux-nat.c so that it builds without
warnings and adds support for hardware breakpoints and watchpoints.
The implementation closely follows what ARM does.
Please review.

Unfortunately, you looked at one of the targets that still doesn't
share the debug registers code with gdbserver.  See how at least
x86, aarch64 and mips put debug registers code in gdb/nat/.

I think we should require all new GNU/Linux debug registers
support code follow such a scheme.

Patch #1 is obvious, please push it in.


Max Filippov (2):
   gdb: xtensa: make locally used functions static
   gdb: xtensa: support hardware breakpoints/watchpoints

  gdb/xtensa-linux-nat.c | 607 ++++++++++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 604 insertions(+), 3 deletions(-)

Thanks,
Pedro Alves


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