mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
s* and t* symbols too.
This commit is contained in:
parent
73578b1e49
commit
43ece84dc3
@ -1,3 +1,8 @@
|
||||
Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||
|
||||
* i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
|
||||
s* and t* symbols too.
|
||||
|
||||
Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
|
||||
|
||||
* symfile.c (generic_load): Avoid division by zero.
|
||||
|
@ -81,12 +81,25 @@ static int tregmap[] =
|
||||
tEIP, tEFLAGS, tCS, tSS
|
||||
};
|
||||
|
||||
#ifdef sEAX
|
||||
static int sregmap[] =
|
||||
{
|
||||
sEAX, sECX, sEDX, sEBX,
|
||||
sESP, sEBP, sESI, sEDI,
|
||||
sEIP, sEFLAGS, sCS, sSS
|
||||
};
|
||||
#else /* No sEAX */
|
||||
|
||||
/* FreeBSD has decided to collapse the s* and t* symbols. So if the s*
|
||||
ones aren't around, use the t* ones for sregmap too. */
|
||||
|
||||
static int sregmap[] =
|
||||
{
|
||||
tEAX, tECX, tEDX, tEBX,
|
||||
tESP, tEBP, tESI, tEDI,
|
||||
tEIP, tEFLAGS, tCS, tSS
|
||||
};
|
||||
#endif /* No sEAX */
|
||||
|
||||
/* blockend is the value of u.u_ar0, and points to the
|
||||
place where ES is stored. */
|
||||
|
Loading…
Reference in New Issue
Block a user