diff options
author | Stan Shebs <shebs@apple.com> | 1999-04-26 18:23:13 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-04-26 18:23:13 +0000 |
commit | 949f7e044857ba880be0ca823ad5deb6c74523ed (patch) | |
tree | df87c179830590079553ee864c6241b30302946b /gdb/gdbarch.h | |
parent | afd7b565a713ad9cfe87f63fdba50a9205ff7cb0 (diff) | |
download | gdb-949f7e044857ba880be0ca823ad5deb6c74523ed.tar.gz |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 098db4c2860..beb206b1ba8 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef GDBARCH_H #define GDBARCH_H - /* The target-system-dependant byte order is dynamic */ /* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness @@ -100,6 +99,21 @@ extern disassemble_info tm_print_insn_info; +/* Explicit test for D10V architecture. + USE of these macro's is *STRONGLY* discouraged. */ + +#define GDB_TARGET_IS_D10V (TARGET_ARCHITECTURE->arch == bfd_arch_d10v) +#ifndef D10V_MAKE_DADDR +#define D10V_MAKE_DADDR(X) (abort (), 0) +#endif +#ifndef D10V_MAKE_IADDR +#define D10V_MAKE_IADDR(X) (abort (), 0) +#endif + + + + + /* Set the dynamic target-system-dependant parameters (architecture, byte-order, ...) using information found in the BFD */ |