This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Move IA-64/AIX GDB_GREGSET_T defines
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Move IA-64/AIX GDB_GREGSET_T defines
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Fri, 2 Mar 2001 17:18:12 -0700
I've just committed the patch below. This patch addresses the concerns
raised by Andrew Cagney in
http://sources.redhat.com/ml/gdb/2001-02/msg00414.html
Thanks to Andrew for bringing this problem to my attention.
* config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
from here...
* config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
(MONTEREY): Don't define.
(AIX5): Define.
Index: config/ia64/nm-aix.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/nm-aix.h,v
retrieving revision 1.1
diff -u -p -r1.1 nm-aix.h
--- nm-aix.h 2001/02/22 03:01:27 1.1
+++ nm-aix.h 2001/03/02 23:41:30
@@ -23,12 +23,15 @@
#include "nm-sysv4.h"
-#ifndef MONTEREY
-#define MONTEREY 1
+#ifndef AIX5
+#define AIX5 1
#endif
/* Type of the operation code for sending control messages to the
/proc/PID/ctl file */
#define PROC_CTL_WORD_TYPE int
+
+#define GDB_GREGSET_T prgregset_t
+#define GDB_FPREGSET_T prfpregset_t
#endif /* #ifndef NM_AIX_H */
Index: config/ia64/xm-aix.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/xm-aix.h,v
retrieving revision 1.1
diff -u -p -r1.1 xm-aix.h
--- xm-aix.h 2001/02/22 03:01:27 1.1
+++ xm-aix.h 2001/03/02 23:41:30
@@ -27,7 +27,4 @@
#include "xm-sysv4.h"
-#define GDB_GREGSET_T prgregset_t
-#define GDB_FPREGSET_T prfpregset_t
-
#endif /* #ifndef XM_AIX_H */