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 | 49da3559322343d5bc9973c5cbc7cd8a7996f8ad (patch) | |
tree | 2b832d0333794f4c29fccb30c9f6793fdcbec844 /gdb/vax-tdep.h | |
parent | caa5317f3975e33dc24530e0eca574c8b96335f0 (diff) | |
download | gdb-49da3559322343d5bc9973c5cbc7cd8a7996f8ad.tar.gz |
* 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 95324bcc036..ccabdd53557 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 */ |