From: Jan Kratochvil Date: Thu, 13 Nov 2008 15:02:15 +0000 (+0000) Subject: * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73e113d4609dd70ee0ee7a334a132044df651854;p=binutils-gdb.git * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ba7354ce7f..d3c833cbe67 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-11-13 Jan Kratochvil + + * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'. + 2008-11-13 Joel Brobecker * ia64-tdep.c: Remove commented out #define. diff --git a/gdb/monitor.c b/gdb/monitor.c index 6b5f8207d85..4fff1079b08 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;