This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Delete unused macros


committed,
Andrew
2004-04-04  Andrew Cagney  <cagney@redhat.com>

	* config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
	* config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
	* config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.

Index: config/alpha/xm-alphalinux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/xm-alphalinux.h,v
retrieving revision 1.5
diff -u -r1.5 xm-alphalinux.h
--- config/alpha/xm-alphalinux.h	24 Feb 2002 22:56:04 -0000	1.5
+++ config/alpha/xm-alphalinux.h	4 Apr 2004 14:02:35 -0000
@@ -19,8 +19,5 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-/* The alpha has no siginterrupt routine.  */
-#define NO_SIGINTERRUPT
-
 #define HAVE_TERMIOS
 #define USG
Index: config/alpha/xm-alphaosf.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/xm-alphaosf.h,v
retrieving revision 1.3
diff -u -r1.3 xm-alphaosf.h
--- config/alpha/xm-alphaosf.h	2 Dec 2001 02:57:14 -0000	1.3
+++ config/alpha/xm-alphaosf.h	4 Apr 2004 14:02:35 -0000
@@ -18,7 +18,4 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-/* The alpha has no siginterrupt routine.  */
-#define NO_SIGINTERRUPT
-
 #define HAVE_TERMIOS
Index: config/vax/xm-vax.h
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/xm-vax.h,v
retrieving revision 1.2
diff -u -r1.2 xm-vax.h
--- config/vax/xm-vax.h	2 Dec 2001 02:57:18 -0000	1.2
+++ config/vax/xm-vax.h	4 Apr 2004 14:02:35 -0000
@@ -34,21 +34,11 @@
    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        \
Index: doc/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/doc/ChangeLog,v
retrieving revision 1.403
diff -u -r1.403 ChangeLog
--- doc/ChangeLog	2 Apr 2004 23:20:50 -0000	1.403
+++ doc/ChangeLog	4 Apr 2004 14:02:36 -0000
@@ -1,3 +1,8 @@
+2004-04-04  Andrew Cagney  <cagney@redhat.com>
+
+	* gdbint.texinfo (Host Definition): Delete reference to
+	NO_SIGINTERRUPT.
+
 2004-04-02  Andrew Cagney  <cagney@redhat.com>
 
 	* gdbint.texinfo (Target Architecture Definition): Delete
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.195
diff -u -r1.195 gdbint.texinfo
--- doc/gdbint.texinfo	2 Apr 2004 23:20:50 -0000	1.195
+++ doc/gdbint.texinfo	4 Apr 2004 14:02:38 -0000
@@ -2251,10 +2251,6 @@
 set correctly if compiling with GCC.  This will almost never need to be
 defined.
 
-@item NO_SIGINTERRUPT
-@findex siginterrupt
-Define this to indicate that @code{siginterrupt} is not available.
-
 @item SEEK_CUR
 @itemx SEEK_SET
 Define these to appropriate value for the system @code{lseek}, if not already

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]