2004-02-09 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 9 Feb 2004 19:13:46 +0000 (19:13 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 9 Feb 2004 19:13:46 +0000 (19:13 +0000)
commit43b54b88e73a74b1505df5eb4de6d6885bd4c3b4
treec9d7b39690363d30e7d6767a74c50cc9023aa7c5
parentf38069161116907b870668f979f81c8dc5bba0d9
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