Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I

think that's the lot, but it's hard to understand the exception code
by mere glancing at it.

MFC after: 1 week
This commit is contained in:
Marcel Moolenaar 2005-09-11 06:52:14 +00:00
parent 78af1d5d26
commit dc78598a0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149977

View File

@ -184,7 +184,10 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_frame)
find_pc_partial_function(pc, &pname, NULL, NULL);
if (pname == NULL)
return (NULL);
if (strcmp(pname, "tl1_trap") == 0)
if (strcmp(pname, "tl0_intr") == 0 ||
strcmp(pname, "tl0_trap") == 0 ||
strcmp(pname, "tl1_intr") == 0 ||
strcmp(pname, "tl1_trap") == 0)
return (&kgdb_trgt_trapframe_unwind);
/* printf("%s: %lx =%s\n", __func__, pc, pname); */
return (NULL);