Bug 10779 - MIPS hardware watchpoint support missing in gdbserver
Summary: MIPS hardware watchpoint support missing in gdbserver
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.0
: P2 enhancement
Target Milestone: 7.7
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 17:31 UTC by Sorin Otescu
Modified: 2022-01-03 14:10 UTC (History)
2 users (show)

See Also:
Host: x86-linux-gnu
Target: mips-linux-gnu
Build: x86-linux-gnu
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sorin Otescu 2009-10-14 17:31:58 UTC
GDB 7.0 has native support for MIPS hardware watchpoints, as added by the
patches from http://sourceware.org/ml/gdb-patches/2008-09/msg00230.html and later.

However, gdbserver support is missing. This limits the usefulness of the patches
for MIPS machines with limited RAM.

The changes from mips-linux-nat.c should be added to gdbserver.
Comment 1 Hannes Domani 2022-01-03 14:10:50 UTC
The NEWS for gdb 7.7 says:

  ** GDBserver now supports hardware watchpoints on the MIPS GNU/Linux
     target.

It was implemented with this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=7a60ad401761a2fc7d95ba164b90e4b58052ca86