Fixes to make new gdb compile on vax.
This commit is contained in:
parent
e603ff5aa3
commit
c700804dcb
1
gnu/dist/bfd/libaout.h
vendored
1
gnu/dist/bfd/libaout.h
vendored
@ -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 */
|
||||
|
1
gnu/dist/bfd/targets.c
vendored
1
gnu/dist/bfd/targets.c
vendored
@ -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;
|
||||
|
2
gnu/dist/bfd/vaxnetbsd.c
vendored
2
gnu/dist/bfd/vaxnetbsd.c
vendored
@ -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. */
|
||||
|
2
gnu/dist/gdb/vax-tdep.c
vendored
2
gnu/dist/gdb/vax-tdep.c
vendored
@ -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);
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user