diff options
author | Doug Evans <dje@google.com> | 2010-06-28 18:56:38 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-06-28 18:56:38 +0000 |
commit | 23e7acfb8e8d982c021a54631384b301c16a1223 (patch) | |
tree | deea93ecfe2129e86aa996d75ccc9bb1b8ab9fe3 /gdb/breakpoint.c | |
parent | 6036c742216f95a45095562947749755601a61f5 (diff) | |
download | gdb-23e7acfb8e8d982c021a54631384b301c16a1223.zip gdb-23e7acfb8e8d982c021a54631384b301c16a1223.tar.gz gdb-23e7acfb8e8d982c021a54631384b301c16a1223.tar.bz2 |
* breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
All callers updated.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) |