1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Recognize mchk_calltrap as a trapframe generator.

Should have been included in r328157.
This commit is contained in:
John Baldwin 2018-01-19 01:36:25 +00:00
parent 68fd3b0ef5
commit 09707a19f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328158

View File

@ -189,6 +189,7 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_frame)
if (pname == NULL) if (pname == NULL)
return (NULL); return (NULL);
if (strcmp(pname, "calltrap") == 0 || if (strcmp(pname, "calltrap") == 0 ||
strcmp(pname, "mchk_calltrap") == 0 ||
strcmp(pname, "nmi_calltrap") == 0 || strcmp(pname, "nmi_calltrap") == 0 ||
(pname[0] == 'X' && pname[1] != '_')) (pname[0] == 'X' && pname[1] != '_'))
return (&kgdb_trgt_trapframe_unwind); return (&kgdb_trgt_trapframe_unwind);