MIPS: Hardware watch register support for gdb (version 3).
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 of 6 patches 2 repliesIn review
Changes from the previous version from the cover letter
* Agreement from gdb maintainers that the ptrace interface is workable.
* Work around for watchhi registers that do not report the I, R, and W condition bits.
* General cleanup, including making much less code conditionally compiled.
5 of 6 patches are in this archive. The cover letter announces 6.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/6 | MIPS: Add HARDWARE_WATCHPOINTS definitions and support code.arch/ arch/ include/ +3 more | +223 | 0 replies | |
| 3/6 | MIPS: Probe watch registers and report configuration.arch/ arch/ | +10 | 0 replies | |
| 4/6 | MIPS: Watch exception handling for HARDWARE_WATCHPOINTS.arch/ arch/ | +13 | 0 replies | |
| 5/6 | MIPS: Scheduler support for HARDWARE_WATCHPOINTS.include/ | +2 | 0 replies | |
| 6/6 | MIPS: Ptrace support for HARDWARE_WATCHPOINTSarch/ arch/ include/ | +142 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch 0/6] MIPS: Hardware watch register support for gdb (version 3).
Esteemed kernel hackers,
To follow is my third pass at MIPS watch register support.
This version has been tested on:
* MIPS 4KEc (mips32) with a single set of watch registers watchhi not reporting I, R, and W conditions.
* MIPS 4KEc (mips32r2) with four sets of watch registers.
* R5000 SGI O2 (mips4 64bit) with no watch register support.
The patches are against 2.6.27-rc4
Changes from the previous version:
* Agreement from gdb maintainers that the ptrace interface is workable.
* Work around for watchhi registers that do not report the I, R, and W condition bits.
* General cleanup, including making much less code conditionally compiled.
To really test the patch you will need a patched gdb. My current gdb patch is here:
http://sourceware.org/ml/gdb-patches/2008-08/msg00650.html
If you have any comments or questions please let me know.
David Daney