summaryrefslogtreecommitdiff
path: root/gdb/dbxread.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
commit537793482a04114039ddedffbd97d7faef4311d4 (patch)
tree3ab807a26778a08ba544c8d326793a4f225637e6 /gdb/dbxread.c
parentb068cda0d7d4e827d88a0dd6e3795c330e7e8c8c (diff)
downloadgdb-537793482a04114039ddedffbd97d7faef4311d4.tar.gz
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/dbxread.c')
-rw-r--r--gdb/dbxread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index b26d00c6f22..702e315fd7c 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -2738,7 +2738,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
/* Relocate for dynamic loading. */
valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile));
- valu = SMASH_TEXT_ADDRESS (valu);
+ valu = gdbarch_smash_text_address (current_gdbarch, valu);
last_function_start = valu;
goto define_a_symbol;