aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-19 17:21:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-19 17:21:51 +0000
commitf73e88f92fc5c54b19418144cb4b3cf9b6beff36 (patch)
treed8d51999058bbcd3a61cdce6fb4b836847091f38 /gdb/gdbarch.h
parentcab58a69eb053e15d0b4698c870e76f5aa98b1ef (diff)
downloadgdb-f73e88f92fc5c54b19418144cb4b3cf9b6beff36.zip
gdb-f73e88f92fc5c54b19418144cb4b3cf9b6beff36.tar.gz
gdb-f73e88f92fc5c54b19418144cb4b3cf9b6beff36.tar.bz2
* gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by
gdbarch_believe_pcc_promotion. * stabsread.c (define_symbol): Likewise. Remove unnecessary definition. * coffread.c (process_coff_symbol): Remove unnecessary code. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 19fb2b3..9235b11 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -320,12 +320,6 @@ extern void set_gdbarch_get_longjmp_target (struct gdbarch *gdbarch, gdbarch_get
extern int gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch);
extern void set_gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch, int believe_pcc_promotion);
-#if !defined (GDB_TM_FILE) && defined (BELIEVE_PCC_PROMOTION)
-#error "Non multi-arch definition of BELIEVE_PCC_PROMOTION"
-#endif
-#if !defined (BELIEVE_PCC_PROMOTION)
-#define BELIEVE_PCC_PROMOTION (gdbarch_believe_pcc_promotion (current_gdbarch))
-#endif
typedef int (gdbarch_convert_register_p_ftype) (int regnum, struct type *type);
extern int gdbarch_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type);