Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
gdb.5469
gdb-6.3-ppc64displaysymbol-20041124.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdb-6.3-ppc64displaysymbol-20041124.patch of Package gdb.5469
2004-11-24 Andrew Cagney <cagney@gnu.org> * printcmd.c (build_address_symbolic): Find a section for the address. Index: gdb-6.8.50.20081128/gdb/printcmd.c =================================================================== --- gdb-6.8.50.20081128.orig/gdb/printcmd.c 2008-12-04 01:36:05.000000000 +0100 +++ gdb-6.8.50.20081128/gdb/printcmd.c 2008-12-04 01:37:18.000000000 +0100 @@ -616,6 +616,14 @@ build_address_symbolic (CORE_ADDR addr, addr = overlay_mapped_address (addr, section); } } + /* To ensure that the symbol returned belongs to the correct setion + (and that the last [random] symbol from the previous section + isn't returned) try to find the section containing PC. First try + the overlay code (which by default returns NULL); and second try + the normal section code (which almost always succeeds). */ + section = find_pc_overlay (addr); + if (section == NULL) + section = find_pc_section (addr); /* First try to find the address in the symbol table, then in the minsyms. Take the closest one. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor