diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-11-13 15:02:15 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-11-13 15:02:15 +0000 |
commit | 73e113d4609dd70ee0ee7a334a132044df651854 (patch) | |
tree | 59cc1447ad5509146f9a4cd7d02fd0fe851e702e /gdb/monitor.c | |
parent | ede76260a7201121e1dbed3a14e280bd3aa8c459 (diff) | |
download | gdb-73e113d4609dd70ee0ee7a334a132044df651854.zip gdb-73e113d4609dd70ee0ee7a334a132044df651854.tar.gz gdb-73e113d4609dd70ee0ee7a334a132044df651854.tar.bz2 |
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index 6b5f820..4fff107 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -2026,7 +2026,6 @@ monitor_insert_breakpoint (struct bp_target_info *bp_tgt) { CORE_ADDR addr = bp_tgt->placed_address; int i; - const unsigned char *bp; int bplen; monitor_debug ("MON inst bkpt %s\n", paddr (addr)); @@ -2037,7 +2036,7 @@ monitor_insert_breakpoint (struct bp_target_info *bp_tgt) addr = gdbarch_addr_bits_remove (current_gdbarch, addr); /* Determine appropriate breakpoint size for this address. */ - bp = gdbarch_breakpoint_from_pc (current_gdbarch, &addr, &bplen); + gdbarch_breakpoint_from_pc (current_gdbarch, &addr, &bplen); bp_tgt->placed_address = addr; bp_tgt->placed_size = bplen; |