Recognize mchk_calltrap as a trapframe generator.

Should have been included in r328157.
This commit is contained in:
jhb 2018-01-19 01:36:25 +00:00
parent e2ed91ad09
commit 7a06e69a3b

View File

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