This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
build break in RDA
- From: Jimi Xenidis <jimix at watson dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: msnyder at redhat dot com
- Date: Tue, 2 Sep 2003 14:57:02 -0400
- Subject: build break in RDA
Bug fix for:
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1343
ChangeLog:
2003-09-02 Jimi Xenidis <jimix@watson.ibm.com>
* linux-target.c (reginfo): The MQ register is for IBM POWER
(pre-PowerPC) architecture, and is undefined in PPC GNU/Linux
environment.
Index: ./rda/unix/linux-target.c
===================================================================
RCS file: /cvs/src/src/rda/unix/linux-target.c,v
retrieving revision 1.8
diff -u -r1.8 linux-target.c
--- ./rda/unix/linux-target.c 9 May 2003 22:06:12 -0000 1.8
+++ ./rda/unix/linux-target.c 2 Sep 2003 18:41:19 -0000
@@ -799,8 +799,10 @@
{ PT_CCR * 4, 4, GREGS, PT_CCR * 4, 4, 4 },
{ PT_LNK * 4, 4, GREGS, PT_LNK * 4, 4, 4 },
{ PT_CTR * 4, 4, GREGS, PT_CTR * 4, 4, 4 },
- { PT_XER * 4, 4, GREGS, PT_XER * 4, 4, 4 },
- { PT_MQ * 4, 4, GREGS, PT_MQ * 4, 4, 4 }
+ { PT_XER * 4, 4, GREGS, PT_XER * 4, 4, 4 }
+#ifdef PT_MQ
+ , { PT_MQ * 4, 4, GREGS, PT_MQ * 4, 4, 4 }
+#endif
};
/* End of PPC_LINUX_TARGET */