diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-06-26 16:07:16 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-06-26 16:07:16 +0000 |
commit | 4791e09145b6f65c4fda344417aa2844eea69d3b (patch) | |
tree | d58ba270963a27b797d9fc9dd26317c36437cbcd /gdb/vax-tdep.h | |
parent | 164c405440d6481b1e129a826f3707fb6970386b (diff) | |
download | fsf-binutils-gdb-4791e09145b6f65c4fda344417aa2844eea69d3b.zip fsf-binutils-gdb-4791e09145b6f65c4fda344417aa2844eea69d3b.tar.gz fsf-binutils-gdb-4791e09145b6f65c4fda344417aa2844eea69d3b.tar.bz2 |
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.
Diffstat (limited to 'gdb/vax-tdep.h')
-rw-r--r-- | gdb/vax-tdep.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/vax-tdep.h b/gdb/vax-tdep.h index 95324bc..ccabdd5 100644 --- a/gdb/vax-tdep.h +++ b/gdb/vax-tdep.h @@ -21,6 +21,8 @@ #ifndef VAX_TDEP_H #define VAX_TDEP_H +#include "osabi.h" + /* Say how long (ordinary) registers are. This is a piece of bogosity used in push_word and a few other places; REGISTER_RAW_SIZE is the real way to know how big a register is. */ @@ -52,4 +54,10 @@ #define VAX_PC_REGNUM 15 /* Contains program counter */ #define VAX_PS_REGNUM 16 /* Contains processor status */ +/* Target-dependent structure in gdbarch. */ +struct gdbarch_tdep +{ + enum gdb_osabi osabi; /* OS/ABI of inferior. */ +}; + #endif /* VAX_TDEP_H */ |