* breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
authorDoug Evans <dje@google.com>
Mon, 28 Jun 2010 18:56:38 +0000 (18:56 +0000)
committerDoug Evans <dje@google.com>
Mon, 28 Jun 2010 18:56:38 +0000 (18:56 +0000)
All callers updated.

gdb/ChangeLog
gdb/breakpoint.c

index 2b889fc9bea068ac0f60472584f52ef325f5f9b3..d8fbe97658587ea19d8e07c650d2f219639af01c 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-28  Doug Evans  <dje@google.com>
+
+       * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
+       All callers updated.
+
 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * cp-valprint.c (cp_print_value_fields) <recurse == 0>: Call
index ce618ccf1d59ec1dfd07482d176d123df4f1ee87..77f8b0df6f7c52bada083ed01707a4e90ba3f552 100644 (file)
@@ -7223,8 +7223,7 @@ parse_breakpoint_sals (char **address,
    inserted as a breakpoint.  If it can't throw an error. */
 
 static void
-breakpoint_sals_to_pc (struct symtabs_and_lines *sals,
-                      char *address)
+breakpoint_sals_to_pc (struct symtabs_and_lines *sals)
 {    
   int i;
 
@@ -7462,7 +7461,7 @@ create_breakpoint (struct gdbarch *gdbarch,
   /* Resolve all line numbers to PC's and verify that the addresses
      are ok for the target.  */
   if (!pending)
-    breakpoint_sals_to_pc (&sals, addr_start);
+    breakpoint_sals_to_pc (&sals);
 
   type_wanted = (traceflag
                 ? (hardwareflag ? bp_fast_tracepoint : bp_tracepoint)