aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
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/remote.c
parent9848eadf581655235ddd11bddd68fc40252fd06f (diff)
downloadgdb-a1dcb23a280b453738e569f0f7674dbd8ca39933.zip
gdb-a1dcb23a280b453738e569f0f7674dbd8ca39933.tar.gz
gdb-a1dcb23a280b453738e569f0f7674dbd8ca39933.tar.bz2
* 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/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 2cee1b0..bf7568c 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -7245,7 +7245,7 @@ remote_insert_breakpoint (struct gdbarch *gdbarch,
char *p;
int bpsize;
- gdbarch_breakpoint_from_pc (gdbarch, &addr, &bpsize);
+ gdbarch_remote_breakpoint_from_pc (gdbarch, &addr, &bpsize);
rs = get_remote_state ();
p = rs->buf;
@@ -7447,7 +7447,7 @@ remote_insert_hw_breakpoint (struct gdbarch *gdbarch,
/* The length field should be set to the size of a breakpoint
instruction, even though we aren't inserting one ourselves. */
- gdbarch_breakpoint_from_pc
+ gdbarch_remote_breakpoint_from_pc
(gdbarch, &bp_tgt->placed_address, &bp_tgt->placed_size);
if (remote_protocol_packets[PACKET_Z1].support == PACKET_DISABLE)