Fixes to make new gdb compile on vax.

This commit is contained in:
ragge 1997-10-20 12:44:24 +00:00
parent e603ff5aa3
commit c700804dcb
5 changed files with 6 additions and 4 deletions

View File

@ -228,6 +228,7 @@ enum machine_type {
M_68K4K_NETBSD = 136, /* NetBSD/m68k4k binary */
M_532_NETBSD = 137, /* NetBSD/ns32k binary */
M_SPARC_NETBSD = 138, /* NetBSD/sparc binary */
M_VAX_NETBSD = 140, /* NetBSD/vax binary */
M_SPARCLET_1 = 147, /* 0x93, reserved */
M_MIPS1 = 151, /* MIPS R2000/R3000 binary */
M_MIPS2 = 152, /* MIPS R4000/R6000 binary */

View File

@ -574,6 +574,7 @@ extern const bfd_target sparcnetbsd_vec;
extern const bfd_target sparccoff_vec;
extern const bfd_target sunos_big_vec;
extern const bfd_target tekhex_vec;
extern const bfd_target vaxnetbsd_vec;
extern const bfd_target versados_vec;
extern const bfd_target we32kcoff_vec;
extern const bfd_target w65_vec;

View File

@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define DEFAULT_ARCH bfd_arch_vax
#define DEFAULT_MID M_VAX
#define DEFAULT_MID M_VAX_NETBSD
#define MY(OP) CAT(vaxnetbsd_,OP)
/* This needs to start with a.out so GDB knows it is an a.out variant. */

View File

@ -61,7 +61,7 @@ vax_print_insn (memaddr, stream)
/* Point at first byte of argument data,
and at descriptor for first argument. */
p = buffer + 1 + (votstrs[i].detail.code >= 0x100);
d = votstrs[i].detail.args;
d = (char *)votstrs[i].detail.args;
if (*d)
fputc_unfiltered (' ', stream);

View File

@ -1,10 +1,10 @@
# $NetBSD: _vax.mk,v 1.2 1997/10/17 20:07:48 gwr Exp $
# $NetBSD: _vax.mk,v 1.3 1997/10/20 12:44:24 ragge Exp $
BFD_MACHINES = cpu-vax.c
BFD_BACKENDS = vaxnetbsd.c aout32.c
ARCH_DEFS = -DARCH_vax \
-DSELECT_ARCHITECTURES='&bfd_arch_vax'
-DSELECT_ARCHITECTURES='&bfd_vax_arch'
TDEFAULTS = \
-DDEFAULT_VECTOR=vaxnetbsd_vec \