aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 16:25:25 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 16:25:25 +0000
commit9fdb3f7aad80699becae8d400d181a2b924fb0a5 (patch)
tree9e88ae9cbfb39d1fd0af4392525a3ac8fe309bac /gdb/dwarfread.c
parent0b233d31dfe5919025acff17491ea0ee70491cdc (diff)
downloadgdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.zip
gdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.tar.gz
gdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.tar.bz2
* config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
* elfread.c (record_minimal_symbol_and_info), dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index 1d8931a..956fb7e 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -1989,6 +1989,11 @@ process_dies (thisdie, enddie, objfile)
{
nextdie = thisdie + di.die_length;
}
+#ifdef SMASH_TEXT_ADDRESS
+ /* I think that these are always text, not data, addresses. */
+ SMASH_TEXT_ADDRESS (di.at_low_pc);
+ SMASH_TEXT_ADDRESS (di.at_high_pc);
+#endif
switch (di.die_tag)
{
case TAG_compile_unit: