diff options
author | John Gilmore <gnu@cygnus> | 1992-01-27 21:45:35 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-01-27 21:45:35 +0000 |
commit | 3818ed33a96cca926f6d8b97fbc50630481b5110 (patch) | |
tree | 71b618e9d4827f2e6c89ac03ff53ba79a3a2f4a9 /gdb | |
parent | 71f49876db6a49e2b98e4c4d2643ea24f8b925c3 (diff) | |
download | gdb-3818ed33a96cca926f6d8b97fbc50630481b5110.zip gdb-3818ed33a96cca926f6d8b97fbc50630481b5110.tar.gz gdb-3818ed33a96cca926f6d8b97fbc50630481b5110.tar.bz2 |
* xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/xm-convex.h | 10 | ||||
-rw-r--r-- | gdb/xm-hp300bsd.h | 5 | ||||
-rw-r--r-- | gdb/xm-isi.h | 5 | ||||
-rw-r--r-- | gdb/xm-merlin.h | 60 | ||||
-rw-r--r-- | gdb/xm-news.h | 5 | ||||
-rw-r--r-- | gdb/xm-np1.h | 4 | ||||
-rw-r--r-- | gdb/xm-pn.h | 2 | ||||
-rw-r--r-- | gdb/xm-pyr.h | 11 | ||||
-rw-r--r-- | gdb/xm-rtbsd.h | 5 | ||||
-rw-r--r-- | gdb/xm-symmetry.h | 6 | ||||
-rw-r--r-- | gdb/xm-umax.h | 5 |
12 files changed, 16 insertions, 108 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 004e477..b66ef36 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon Jan 27 13:43:26 1992 John Gilmore (gnu at cygnus.com) + + * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h, + xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h: + Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines. + Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com) * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is diff --git a/gdb/xm-convex.h b/gdb/xm-convex.h index 923e6d6..f1a6bf9 100644 --- a/gdb/xm-convex.h +++ b/gdb/xm-convex.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on Convex Unix (4bsd) - Copyright (C) 1989, 1991 Free Software Foundation, Inc. + Copyright 1989, 1991, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -33,14 +33,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define STOP_SIGNAL SIGCONT -/* Use csh to do argument expansion so we get ~ and such. */ - -/* Doesn't work. */ -/* #define SHELL_FILE "/bin/csh" */ - -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF - /* Hook to call after creating inferior process. */ #define CREATE_INFERIOR_HOOK create_inferior_hook diff --git a/gdb/xm-hp300bsd.h b/gdb/xm-hp300bsd.h index db06dbc..42c0f4c 100644 --- a/gdb/xm-hp300bsd.h +++ b/gdb/xm-hp300bsd.h @@ -1,5 +1,5 @@ /* Parameters for hosting on a Hewlett-Packard 9000/300, running bsd. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -61,9 +61,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpiar; \ } -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF - /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT diff --git a/gdb/xm-isi.h b/gdb/xm-isi.h index e26cb95..1934ff5 100644 --- a/gdb/xm-isi.h +++ b/gdb/xm-isi.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on an ISI Optimum V (3.05) under 4.3bsd. - Copyright (C) 1987, 1989 Free Software Foundation, Inc. + Copyright 1987, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -38,9 +38,6 @@ extern int rloc[]; /* Defined in isi-dep.c */ else if (regno < 29) addr = (int) &((struct user *)0)->u_68881_regs \ + 8 * 12 + (regno - 26) * 4; \ } - -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF /* Interface definitions for kernel debugger KDB. */ diff --git a/gdb/xm-merlin.h b/gdb/xm-merlin.h index 665efb0..7cbba1c 100644 --- a/gdb/xm-merlin.h +++ b/gdb/xm-merlin.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on a merlin under utek 2.1 - Copyright 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -62,61 +62,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ abort (); \ } \ } - -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF - -#if 0 -/* Interface definitions for kernel debugger KDB. */ - -/* Map machine fault codes into signal numbers. - First subtract 0, divide by 4, then index in a table. - Faults for which the entry in this table is 0 - are not handled by KDB; the program's own trap handler - gets to handle then. */ - -#define FAULT_CODE_ORIGIN 0 -#define FAULT_CODE_UNITS 4 -#define FAULT_TABLE \ -{ 0, SIGKILL, SIGSEGV, 0, 0, 0, 0, 0, \ - 0, 0, SIGTRAP, SIGTRAP, 0, 0, 0, 0, \ - 0, 0, 0, 0, 0, 0, 0, 0} - -/* Start running with a stack stretching from BEG to END. - BEG and END should be symbols meaningful to the assembler. - This is used only for kdb. */ - -#define INIT_STACK(beg, end) \ -{ asm (".globl end"); \ - asm ("movl $ end, sp"); \ - asm ("clrl fp"); } - -/* Push the frame pointer register on the stack. */ -#define PUSH_FRAME_PTR \ - asm ("pushl fp"); - -/* Copy the top-of-stack to the frame pointer register. */ -#define POP_FRAME_PTR \ - asm ("movl (sp), fp"); - -/* After KDB is entered by a fault, push all registers - that GDB thinks about (all NUM_REGS of them), - so that they appear in order of ascending GDB register number. - The fault code will be on the stack beyond the last register. */ - -#define PUSH_REGISTERS \ -{ asm ("pushl 8(sp)"); \ - asm ("pushl 8(sp)"); \ - asm ("pushal 0x14(sp)"); \ - asm ("pushr $037777"); } - -/* Assuming the registers (including processor status) have been - pushed on the stack in order of ascending GDB register number, - restore them and return to the address in the saved PC register. */ - -#define POP_REGISTERS \ -{ asm ("popr $037777"); \ - asm ("subl2 $8,(sp)"); \ - asm ("movl (sp),sp"); \ - asm ("rei"); } -#endif /* 0 */ diff --git a/gdb/xm-news.h b/gdb/xm-news.h index eae0248..147063d 100644 --- a/gdb/xm-news.h +++ b/gdb/xm-news.h @@ -1,5 +1,5 @@ /* Parameters for execution on a Sony/NEWS, for GDB, the GNU debugger. - Copyright (C) 1987, 1989 Free Software Foundation, Inc. + Copyright 1987, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -44,9 +44,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ addr = blockend + 4 * offsets[regno]; \ } -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF - /* NewsOS 3 apparently dies on large alloca's -- roland@ai.mit.edu. */ #define BROKEN_LARGE_ALLOCA diff --git a/gdb/xm-np1.h b/gdb/xm-np1.h index 8d3bf40..290003e 100644 --- a/gdb/xm-np1.h +++ b/gdb/xm-np1.h @@ -1,5 +1,5 @@ /* Parameters for execution on a Gould NP1, for GDB, the GNU debugger. - Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -41,8 +41,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Don't try to write the frame pointer. */ #define CANNOT_STORE_REGISTER(regno) ((regno) == FP_REGNUM) - -#define MISSING_VPRINTF /* * No KDB support, Yet! */ diff --git a/gdb/xm-pn.h b/gdb/xm-pn.h index d180b6e..71894d8 100644 --- a/gdb/xm-pn.h +++ b/gdb/xm-pn.h @@ -22,8 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Get rid of any system-imposed stack limit if possible. */ #define SET_STACK_LIMIT_HUGE -#define MISSING_VPRINTF - /* Address of U in kernel space */ #define KERNEL_U_ADDR 0x3fc000 diff --git a/gdb/xm-pyr.h b/gdb/xm-pyr.h index 21924df..0d496a3 100644 --- a/gdb/xm-pyr.h +++ b/gdb/xm-pyr.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on a Pyramidax under OSx 4.0 (4.2bsd). - Copyright (C) 1988, 1989 Free Software Foundation, Inc. + Copyright 1988, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -94,12 +94,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ #define FETCH_INFERIOR_REGISTERS - -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF - - -/* Interface definitions for kernel debugger KDB. */ - -/* I have *no idea* how to debug OSx kernels, so this - is flushed, possible forever. */ diff --git a/gdb/xm-rtbsd.h b/gdb/xm-rtbsd.h index 109d0ad..77c4257 100644 --- a/gdb/xm-rtbsd.h +++ b/gdb/xm-rtbsd.h @@ -1,5 +1,5 @@ /* Definitions to host GDB on an IBM RT/PC running BSD Unix. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. Contributed by David Wood @ New York University (wood@lab.ultra.nyu.edu). This file is part of GDB. @@ -27,9 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This OS has the wait structure */ #define HAVE_WAIT_STRUCT -/* This unix does not have a libc with vprintf */ -#define MISSING_VPRINTF - #ifdef HOSTING_ONLY /* * This next two defines are to get GDB up and running as a host to diff --git a/gdb/xm-symmetry.h b/gdb/xm-symmetry.h index 4e1aeac..a18340a 100644 --- a/gdb/xm-symmetry.h +++ b/gdb/xm-symmetry.h @@ -1,6 +1,6 @@ /* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0, with Weitek 1167 and i387 support. - Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -138,10 +138,6 @@ switch (regno) { \ } \ } -/* Compensate for lack of `vprintf' function. */ - -#define MISSING_VPRINTF - /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ #define FETCH_INFERIOR_REGISTERS diff --git a/gdb/xm-umax.h b/gdb/xm-umax.h index 263ac79..f6f2e17 100644 --- a/gdb/xm-umax.h +++ b/gdb/xm-umax.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on an encore under umax 4.2 - Copyright (C) 1987, 1989 Free Software Foundation, Inc. + Copyright 1987, 1989, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -59,6 +59,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ abort (); \ } \ } - -/* Compensate for lack of `vprintf' function. */ -#define MISSING_VPRINTF |