aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-21 00:29:55 +0000
committerYao Qi <yao@codesourcery.com>2012-11-21 00:29:55 +0000
commit85ddcc7021c2709e1b2846277d9af37fe0c6ee80 (patch)
treee2f154c30144bd08eeb756ed557d1ecc162c81cd /gdb/coffread.c
parent367d69d1bc48fc022cacc4d0c4a712b2f2079b1b (diff)
downloadgdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.zip
gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.tar.gz
gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.tar.bz2
gdb/
2012-11-21 Yao Qi <yao@codesourcery.com> PR tdep/7438 * gdbarch.sh (smash_text_address): Remove. * gdbarch.c, gdbarch.h: Regenerate. * arm-tdep.c (arm_smash_text_address): Remove. (arm_gdbarch_init): Don't call set_gdbarch_smash_text_address. * hppa-tdep.c (hppa_smash_text_address): Remove. (hppa_addr_bits_remove): Rename from hppa_smash_text_address. (hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address. Caller update. * coffread.c (coff_symtab_read): Caller update. * dbxread.c (process_one_symbol): Likewise. * elfread.c (record_minimal_symbol): Likewise. * somread.c (som_symtab_read): Likewise.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 0c7e6d9..3789995 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -941,7 +941,7 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms,
cs->c_sclass == C_EXT || cs->c_sclass == C_THUMBEXTFUNC
|| cs->c_sclass == C_THUMBEXT ?
mst_text : mst_file_text;
- tmpaddr = gdbarch_smash_text_address (gdbarch, tmpaddr);
+ tmpaddr = gdbarch_addr_bits_remove (gdbarch, tmpaddr);
}
else if (bfd_section->flags & SEC_ALLOC
&& bfd_section->flags & SEC_LOAD)