diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 0f96997..26864d7 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5747,12 +5747,10 @@ resolve_sal_pc (struct symtab_and_line *sal) struct blockvector *bv; struct block *b; struct symbol *sym; - int index; - bv = blockvector_for_pc_sect (sal->pc, 0, &index, sal->symtab); + bv = blockvector_for_pc_sect (sal->pc, 0, &b, sal->symtab); if (bv != NULL) { - b = BLOCKVECTOR_BLOCK (bv, index); sym = block_function (b); if (sym != NULL) { |