diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-07-15 19:11:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-07-15 19:11:34 +0000 |
commit | 7f0df27888b662a1b4800036cb0f0fa266f297d5 (patch) | |
tree | f88741f440a0af5d5a3a33d364b2a135656e7a5e /gdb/breakpoint.c | |
parent | 54af988d1e631ef9f44c83cc23cbc33bdcf12cf5 (diff) | |
download | gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.zip gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.gz gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.bz2 |
* block.c (block_function): Renamed to ...
(block_linkage_function): ... this. All callers changed.
* block.h (block_function): Renamed to ...
(block_linkage_function): ... this.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 55cd0d8..463da57 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2651,7 +2651,8 @@ watchpoint_check (void *p) /* If we've gotten confused in the unwinder, we might have returned a frame that can't describe this variable. */ if (within_current_scope - && block_function (b->exp_valid_block) != get_frame_function (fr)) + && (block_linkage_function (b->exp_valid_block) + != get_frame_function (fr))) within_current_scope = 0; /* in_function_epilogue_p() returns a non-zero value if we're still @@ -5700,7 +5701,7 @@ resolve_sal_pc (struct symtab_and_line *sal) bv = blockvector_for_pc_sect (sal->pc, 0, &b, sal->symtab); if (bv != NULL) { - sym = block_function (b); + sym = block_linkage_function (b); if (sym != NULL) { fixup_symbol_section (sym, sal->symtab->objfile); |