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]

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 */


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