Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix gdb build failure for mips-linux
@ 2007-01-05 16:12 Thiemo Seufer
  2007-01-05 16:14 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2007-01-05 16:12 UTC (permalink / raw)
  To: gdb-patches

Hello All,

the appended patch fixes the initialization of mips_linux_n64_rt_sigframe,
the old version fails to build with gcc-4.1.


Thiemo


2007-01-05  Thiemo Seufer  <ths@mips.com>

	* mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
	initialization.


Index: gdb/mips-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-linux-tdep.c,v
retrieving revision 1.47
diff -u -p -r1.47 mips-linux-tdep.c
--- gdb/mips-linux-tdep.c	28 Nov 2006 21:41:02 -0000	1.47
+++ gdb/mips-linux-tdep.c	5 Jan 2007 16:02:55 -0000
@@ -799,9 +799,11 @@ static const struct tramp_frame mips_lin
 static const struct tramp_frame mips_linux_n64_rt_sigframe = {
   SIGTRAMP_FRAME,
   4,
-  { MIPS_INST_LI_V0_N64_RT_SIGRETURN,
-    MIPS_INST_SYSCALL,
-    TRAMP_SENTINEL_INSN },
+  {
+    { MIPS_INST_LI_V0_N64_RT_SIGRETURN, -1 },
+    { MIPS_INST_SYSCALL, -1 },
+    { TRAMP_SENTINEL_INSN, -1 }
+  },
   mips_linux_n32n64_sigframe_init
 };
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-05 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05 16:12 [PATCH] Fix gdb build failure for mips-linux Thiemo Seufer
2007-01-05 16:14 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox