mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Catch a few alternative names for the syscall entry frame, eg: post-ELF
and int $0x80 entry methods.
This commit is contained in:
parent
f7b6e45d5b
commit
07a79932e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71244
@ -168,7 +168,10 @@ db_nextframe(fp, ip)
|
||||
frame_type = TRAP;
|
||||
} else if (!strncmp(name, "Xresume", 7)) {
|
||||
frame_type = INTERRUPT;
|
||||
} else if (!strcmp(name, "_Xsyscall")) {
|
||||
} else if (!strcmp(name, "_Xsyscall") ||
|
||||
!strcmp(name, "Xsyscall") ||
|
||||
!strcmp(name, "_Xint0x80_syscall") ||
|
||||
!strcmp(name, "Xint0x80_syscall")) {
|
||||
frame_type = SYSCALL;
|
||||
}
|
||||
}
|
||||
|
@ -168,7 +168,10 @@ db_nextframe(fp, ip)
|
||||
frame_type = TRAP;
|
||||
} else if (!strncmp(name, "Xresume", 7)) {
|
||||
frame_type = INTERRUPT;
|
||||
} else if (!strcmp(name, "_Xsyscall")) {
|
||||
} else if (!strcmp(name, "_Xsyscall") ||
|
||||
!strcmp(name, "Xsyscall") ||
|
||||
!strcmp(name, "_Xint0x80_syscall") ||
|
||||
!strcmp(name, "Xint0x80_syscall")) {
|
||||
frame_type = SYSCALL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user