From: Thiemo Seufer <ths@networkno.de>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Fix gdb build failure for mips-linux
Date: Fri, 05 Jan 2007 16:12:00 -0000 [thread overview]
Message-ID: <20070105161253.GA15486@networkno.de> (raw)
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
};
next reply other threads:[~2007-01-05 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-05 16:12 Thiemo Seufer [this message]
2007-01-05 16:14 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070105161253.GA15486@networkno.de \
--to=ths@networkno.de \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox