1
0
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:
Peter Wemm 2001-01-19 10:49:20 +00:00
parent f7b6e45d5b
commit 07a79932e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71244
2 changed files with 8 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}