better unwinding for 386.

command-line extraction from core files on linux and freebsd.

move linux ureg into ureg386.h (used in many places).
This commit is contained in:
rsc 2004-12-25 22:03:28 +00:00
parent cdf1805191
commit 1cc215aaf9
13 changed files with 495 additions and 109 deletions

View file

@ -40,11 +40,18 @@ static struct
uint mtype;
uint atype;
int (*coreregs)(Elf*, ElfNote*, uchar**);
int (*corecmd)(Elf*, ElfNote*, char**);
} ctab[] =
{ /* Font Tab 4 */
M386, ALINUX, coreregslinux386,
M386, ANONE, coreregslinux386, /* [sic] */
M386, AFREEBSD, coreregsfreebsd386,
M386, ALINUX,
coreregslinux386,
corecmdlinux386,
M386, ANONE,
coreregslinux386, /* [sic] */
corecmdlinux386, /* [sic] */
M386, AFREEBSD,
coreregsfreebsd386,
corecmdfreebsd386,
};
int