summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-28 18:46:49 +0000
committerpeter <peter@FreeBSD.org>2002-07-28 18:46:49 +0000
commit2d279f09c9cb47443b87f385aab814479ed33ac9 (patch)
tree4d6a89580215ff1349e13a1162dcdb357c856d04 /gnu
parent41bbd45191a07f59720dd54143aa2a08d5e23008 (diff)
downloadFreeBSD-src-2d279f09c9cb47443b87f385aab814479ed33ac9.zip
FreeBSD-src-2d279f09c9cb47443b87f385aab814479ed33ac9.tar.gz
Recognize frames for lcall_syscall and int0x80_syscall.
Reminded by: bde
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/kvm-fbsd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
index 14f557b..27fe396 100644
--- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
+++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
@@ -415,7 +415,8 @@ ksym_maxuseraddr()
#define KSYM_TRAP "calltrap"
#define KSYM_INTR "Xintr"
#define KSYM_FASTINTR "Xfastintr"
-#define KSYM_SYSCALL "Xsyscall"
+#define KSYM_OLDSYSCALL "Xlcall_syscall"
+#define KSYM_SYSCALL "Xint0x80_syscall"
/*
@@ -444,7 +445,8 @@ struct frame_info *fr;
strlen(KSYM_INTR)) == 0 || strncmp (SYMBOL_NAME(sym),
KSYM_FASTINTR, strlen(KSYM_FASTINTR)) == 0)
frametype = tf_interrupt;
- else if (strcmp (SYMBOL_NAME(sym), KSYM_SYSCALL) == 0)
+ else if (strcmp (SYMBOL_NAME(sym), KSYM_SYSCALL) == 0 ||
+ strcmp (SYMBOL_NAME(sym), KSYM_OLDSYSCALL) == 0)
frametype = tf_syscall;
}
OpenPOWER on IntegriCloud