mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-07 09:20:11 +00:00
NMIs now come from 'nmi_calltrap' rather than 'calltrap', so teach 'kgdb'
to treat the frame under 'nmi_calltrap' as a trapframe. MFC after: 3 days Approved by: re (bmah)
This commit is contained in:
parent
58dfa07ade
commit
4ba3dab395
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171924
@ -178,6 +178,7 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_frame)
|
||||
if (pname == NULL)
|
||||
return (NULL);
|
||||
if (strcmp(pname, "calltrap") == 0 ||
|
||||
strcmp(pname, "nmi_calltrap") == 0 ||
|
||||
(pname[0] == 'X' && pname[1] != '_'))
|
||||
return (&kgdb_trgt_trapframe_unwind);
|
||||
/* printf("%s: %lx =%s\n", __func__, pc, pname); */
|
||||
|
Loading…
Reference in New Issue
Block a user