aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-tdep.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2007-01-24 13:37:07 +0000
committerThiemo Seufer <ths@networkno.de>2007-01-24 13:37:07 +0000
commitfcbd8a5cb700fa015c289503ad2fa408fe873faa (patch)
tree9232f410e0a11b92c40955da8c5f437e64f9457b /gdb/mips-linux-tdep.c
parent2024f65ab8bec1dd6d60cfbd92cca9125d3d8a1b (diff)
downloadgdb-fcbd8a5cb700fa015c289503ad2fa408fe873faa.zip
gdb-fcbd8a5cb700fa015c289503ad2fa408fe873faa.tar.gz
gdb-fcbd8a5cb700fa015c289503ad2fa408fe873faa.tar.bz2
* mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
initialization.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r--gdb/mips-linux-tdep.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index b17eb5e..5ce51b2 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -799,9 +799,11 @@ static const struct tramp_frame mips_linux_n32_rt_sigframe = {
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
};