aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:55:32 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:55:32 +0000
commit260edbc2caedd55298a64621088983551dfd208c (patch)
treea7be0a7b754f6be73edb8474d8b4837ec39da3cf /gdb/elfread.c
parentc1afe53dd0ad0474a838e84cd0d98f8830c3d9ef (diff)
downloadgdb-260edbc2caedd55298a64621088983551dfd208c.zip
gdb-260edbc2caedd55298a64621088983551dfd208c.tar.gz
gdb-260edbc2caedd55298a64621088983551dfd208c.tar.bz2
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by gdbarch_smash_text_address. * somread.c (som_symtab_read): Likewise. * elfread.c (record_minimal_symbol): Likewise. * dbxread.c (process_one_symbol): Likewise. * coffread.c (coff_symtab_read): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index ed21750..ea28d7c 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -96,7 +96,7 @@ record_minimal_symbol (char *name, CORE_ADDR address,
asection *bfd_section, struct objfile *objfile)
{
if (ms_type == mst_text || ms_type == mst_file_text)
- address = SMASH_TEXT_ADDRESS (address);
+ address = gdbarch_smash_text_address (current_gdbarch, address);
return prim_record_minimal_symbol_and_info
(name, address, ms_type, NULL, bfd_section->index, bfd_section, objfile);