X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fblock.c;h=2ae6ee277c741e3ec6905fff5504e1c1f3340d4f;hb=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763;hp=a0f82ece83790b3b68bd0e38cd1322b793928c19;hpb=6ac9ef80f54f5364a49ad11fe7d6bd8cb97a54a6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/block.c b/gdb/block.c index a0f82ece83..2ae6ee277c 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -1,6 +1,6 @@ /* Block-related functions for the GNU debugger, GDB. - Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -208,7 +208,7 @@ call_site_for_pc (struct gdbarch *gdbarch, CORE_ADDR pc) if (slot == NULL) { - struct minimal_symbol *msym = lookup_minimal_symbol_by_pc (pc); + struct bound_minimal_symbol msym = lookup_minimal_symbol_by_pc (pc); /* DW_TAG_gnu_call_site will be missing just if GCC could not determine the call target. */ @@ -216,7 +216,8 @@ call_site_for_pc (struct gdbarch *gdbarch, CORE_ADDR pc) _("DW_OP_GNU_entry_value resolving cannot find " "DW_TAG_GNU_call_site %s in %s"), paddress (gdbarch, pc), - msym == NULL ? "???" : SYMBOL_PRINT_NAME (msym)); + (msym.minsym == NULL ? "???" + : SYMBOL_PRINT_NAME (msym.minsym))); } return *slot;