diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-21 19:47:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-21 19:47:44 +0000 |
commit | eee30e78fda947a2e93669f2861d347c803fe822 (patch) | |
tree | cb411f52cb823a11e65f190949b106e128a9c756 /gdb/gdbarch.h | |
parent | b77be6cfae4bcdf8ecf81cc6853f7d6b19da8a0f (diff) | |
download | gdb-eee30e78fda947a2e93669f2861d347c803fe822.zip gdb-eee30e78fda947a2e93669f2861d347c803fe822.tar.gz gdb-eee30e78fda947a2e93669f2861d347c803fe822.tar.bz2 |
* gdbarch.sh: Allow a non- multi-arch target to override a
predicate.
* gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 18c5b15..f5b1b44 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -623,8 +623,10 @@ extern void set_gdbarch_register_sim_regno (struct gdbarch *gdbarch, gdbarch_reg #if defined (REGISTER_BYTES_OK) /* Legacy for systems yet to multi-arch REGISTER_BYTES_OK */ +#if !defined (REGISTER_BYTES_OK_P) #define REGISTER_BYTES_OK_P() (1) #endif +#endif /* Default predicate for non- multi-arch targets. */ #if (!GDB_MULTI_ARCH) && !defined (REGISTER_BYTES_OK_P) @@ -1310,8 +1312,10 @@ extern void set_gdbarch_frame_num_args (struct gdbarch *gdbarch, gdbarch_frame_n #if defined (STACK_ALIGN) /* Legacy for systems yet to multi-arch STACK_ALIGN */ +#if !defined (STACK_ALIGN_P) #define STACK_ALIGN_P() (1) #endif +#endif /* Default predicate for non- multi-arch targets. */ #if (!GDB_MULTI_ARCH) && !defined (STACK_ALIGN_P) @@ -1352,8 +1356,10 @@ extern void set_gdbarch_extra_stack_alignment_needed (struct gdbarch *gdbarch, i #if defined (REG_STRUCT_HAS_ADDR) /* Legacy for systems yet to multi-arch REG_STRUCT_HAS_ADDR */ +#if !defined (REG_STRUCT_HAS_ADDR_P) #define REG_STRUCT_HAS_ADDR_P() (1) #endif +#endif /* Default predicate for non- multi-arch targets. */ #if (!GDB_MULTI_ARCH) && !defined (REG_STRUCT_HAS_ADDR_P) @@ -1381,8 +1387,10 @@ extern void set_gdbarch_reg_struct_has_addr (struct gdbarch *gdbarch, gdbarch_re #if defined (SAVE_DUMMY_FRAME_TOS) /* Legacy for systems yet to multi-arch SAVE_DUMMY_FRAME_TOS */ +#if !defined (SAVE_DUMMY_FRAME_TOS_P) #define SAVE_DUMMY_FRAME_TOS_P() (1) #endif +#endif /* Default predicate for non- multi-arch targets. */ #if (!GDB_MULTI_ARCH) && !defined (SAVE_DUMMY_FRAME_TOS_P) |