mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
This commit is contained in:
parent
03a372ed70
commit
11ebf93929
@ -1,3 +1,7 @@
|
||||
Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
|
||||
|
||||
Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
|
||||
|
||||
* symtab.c (lookup_symbol): Don't try adding .c to the name.
|
||||
|
@ -28,12 +28,26 @@ static int tregmap[] =
|
||||
tESP, tEBP, tESI, tEDI,
|
||||
tEIP, tEFLAGS, tCS, tSS
|
||||
};
|
||||
|
||||
#ifdef sEAX
|
||||
static int sregmap[] =
|
||||
{
|
||||
sEAX, sECX, sEDX, sEBX,
|
||||
sESP, sEBP, sESI, sEDI,
|
||||
sEIP, sEFLAGS, sCS, sSS
|
||||
};
|
||||
#else /* No sEAX */
|
||||
|
||||
/* NetBSD 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