From 260edbc2caedd55298a64621088983551dfd208c Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 12 Jun 2007 16:55:32 +0000 Subject: 2007-06-12 Markus Deuling * 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. --- gdb/dbxread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index b26d00c..702e315 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; -- cgit v1.1