mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
* 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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user