summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-12-23 02:18:52 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-12-23 02:18:52 +0000
commit06b848e42351cda6fffcdee41d2ccef18f2e61ab (patch)
treee31f74545cdcbbc3052361658c8e88396592441e
parent27f2e30fad2aac9c6f4ecd0b9203b92ab820a669 (diff)
Teach gdb that the trap frame should be used for alltraps_kern_meltdown().
ok bluhm kettenis
-rw-r--r--gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c b/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
index 4ee9936b9e8..48465e9a760 100644
--- a/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
@@ -463,6 +463,7 @@ amd64obsd_trapframe_sniffer (const struct frame_unwind *self,
|| (name[0] == 'X' && strncmp(name, "Xipi_", 5) != 0)
|| (strcmp (name, "alltraps") == 0)
|| (strcmp (name, "alltraps_kern") == 0)
+ || (strcmp (name, "alltraps_kern_meltdown") == 0)
|| (strcmp (name, "intr_fast_exit") == 0)
|| (strcmp (name, "intr_exit_recurse") == 0)));
}