diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symtab.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b296122..030d14e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2009-06-11 Pedro Alves <pedro@codesourcery.com> + * symtab.c (append_expanded_sal): Remove unused local variables. + +2009-06-11 Pedro Alves <pedro@codesourcery.com> + * infrun.c (sched_multi): New global. (resume): If sched_multi is set, resume only threads of the current inferior. diff --git a/gdb/symtab.c b/gdb/symtab.c index 5d375ab..3a82d33 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4502,8 +4502,6 @@ append_expanded_sal (struct symtabs_and_lines *sal, struct symtab *symtab, int lineno, CORE_ADDR pc) { - CORE_ADDR func_addr, func_end; - sal->sals = xrealloc (sal->sals, sizeof (sal->sals[0]) * (sal->nelts + 1)); |