summaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-02-01 16:09:22 +0000
committerDaniel Jacobowitz <drow@false.org>2010-02-01 16:09:22 +0000
commita1dcb23a280b453738e569f0f7674dbd8ca39933 (patch)
tree015d493cd0b952fbffc94328372c2aab77d97750 /gdb/arch-utils.h
parent9848eadf581655235ddd11bddd68fc40252fd06f (diff)
* arch-utils.c (default_remote_breakpoint_from_pc): New function.
* arch-utils.h (default_remote_breakpoint_from_pc): Declare. * gdbarch.c, gdbarch.h: Regenerated. * gdbarch.sh (remote_breakpoint_from_pc): New architecture method. * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use gdbarch_remote_breakpoint_from_pc. doc/ * gdb.texinfo (Architecture-Specific Protocol Details): New section. Document ARM breakpoint types. (Register Packet Format): Move into the new section. (Packets): Describe the KIND argument for Z0, z0, Z1, and z1 packets.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index 6fee1e57fa..d5d7f1db54 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -159,4 +159,7 @@ extern int default_fast_tracepoint_valid_at (struct gdbarch *gdbarch,
CORE_ADDR addr,
int *isize, char **msg);
+extern void default_remote_breakpoint_from_pc (struct gdbarch *,
+ CORE_ADDR *pcptr, int *kindptr);
+
#endif