diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2009-06-23 15:12:44 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2009-06-23 15:12:44 +0000 |
commit | c631402292d43f01daa982c42c82f96e39659d99 (patch) | |
tree | b0406646b06b99ee86ba3cdf7f8ee697b9f0cc30 /gdb/gdbserver/target.h | |
parent | 0639a6f66272d7fdc956bd64e2cbf6acfd10a03d (diff) | |
download | gdb-c631402292d43f01daa982c42c82f96e39659d99.zip gdb-c631402292d43f01daa982c42c82f96e39659d99.tar.gz gdb-c631402292d43f01daa982c42c82f96e39659d99.tar.bz2 |
* server.c (process_serial_event): Add support for Z0 and Z1 packet.
* target.h (target_ops): Comment for *_watchpoint to make it clear
the functions can get types '0' and '1'.
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index 70b5d01..5ca6390 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -216,10 +216,11 @@ struct target_ops /* Insert and remove a hardware watchpoint. Returns 0 on success, -1 on failure and 1 on unsupported. The type is coded as follows: - 2 = write watchpoint - 3 = read watchpoint - 4 = access watchpoint - */ + '0' - software-breakpoint + '1' - hardware-breakpoint + '2' - write watchpoint + '3' - read watchpoint + '4' - access watchpoint */ int (*insert_watchpoint) (char type, CORE_ADDR addr, int len); int (*remove_watchpoint) (char type, CORE_ADDR addr, int len); |