From: Doug Evans Date: Mon, 28 Jun 2010 18:56:38 +0000 (+0000) Subject: * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused. X-Git-Tag: gdb_7_2-2010-07-07-branchpoint~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23e7acfb8e8d982c021a54631384b301c16a1223;p=external%2Fbinutils.git * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused. All callers updated. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2b889fc..d8fbe97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-06-28 Doug Evans + + * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused. + All callers updated. + 2010-06-28 Jan Kratochvil * cp-valprint.c (cp_print_value_fields) : Call diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ce618cc..77f8b0d 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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)