aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
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/gdbarch.h
parent367d69d1bc48fc022cacc4d0c4a712b2f2079b1b (diff)
downloadfsf-binutils-gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.zip
fsf-binutils-gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.tar.gz
fsf-binutils-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/gdbarch.h')
-rw-r--r--gdb/gdbarch.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index df09553..3d9dc79 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -600,13 +600,6 @@ typedef CORE_ADDR (gdbarch_addr_bits_remove_ftype) (struct gdbarch *gdbarch, COR
extern CORE_ADDR gdbarch_addr_bits_remove (struct gdbarch *gdbarch, CORE_ADDR addr);
extern void set_gdbarch_addr_bits_remove (struct gdbarch *gdbarch, gdbarch_addr_bits_remove_ftype *addr_bits_remove);
-/* It is not at all clear why gdbarch_smash_text_address is not folded into
- gdbarch_addr_bits_remove. */
-
-typedef CORE_ADDR (gdbarch_smash_text_address_ftype) (struct gdbarch *gdbarch, CORE_ADDR addr);
-extern CORE_ADDR gdbarch_smash_text_address (struct gdbarch *gdbarch, CORE_ADDR addr);
-extern void set_gdbarch_smash_text_address (struct gdbarch *gdbarch, gdbarch_smash_text_address_ftype *smash_text_address);
-
/* FIXME/cagney/2001-01-18: This should be split in two. A target method that
indicates if the target needs software single step. An ISA method to
implement it.