* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 13 Nov 2008 15:02:15 +0000 (15:02 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 13 Nov 2008 15:02:15 +0000 (15:02 +0000)
gdb/ChangeLog
gdb/monitor.c

index 3ba7354ce7f33d8ae23901f72b297fb43061a499..d3c833cbe670151ab2c450d981bb08fa2cc1241c 100644 (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.
index 6b5f8207d851e6d75ca49d6adab942102343c68d..4fff1079b08f1270adba9522b44e5bd224fe9022 100644 (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;
 
This page took 0.029379 seconds and 4 git commands to generate.