OSDN Git Service

2004-02-09 Andrew Cagney <cagney@redhat.com>
authorcagney <cagney>
Mon, 9 Feb 2004 19:13:46 +0000 (19:13 +0000)
committercagney <cagney>
Mon, 9 Feb 2004 19:13:46 +0000 (19:13 +0000)
commit51e391d0e67a9afa07c24f6b7ff8d984f45c6ceb
treec895fb0653f6ad8a8fe2cf92fad45244bf7002da
parenta0ab7356d044a3a04f3be60e91ca8ebcec517104
2004-02-09  Andrew Cagney  <cagney@redhat.com>

* blockframe.c (find_pc_partial_function): If find_pc_overlay
fails, try find_pc_section.  Fix PR c++/1267.
* minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
instead of find_pc_mapped_section.
(lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
not default to the section containing PC.  Fix PR symtab/1519.
gdb/ChangeLog
gdb/blockframe.c
gdb/minsyms.c