* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.

This commit is contained in:
Jan Kratochvil 2008-11-13 15:02:15 +00:00
parent ede76260a7
commit 73e113d460
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
2008-11-13 Joel Brobecker <brobecker@adacore.com>
* ia64-tdep.c: Remove commented out #define.

View File

@ -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;