mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 13:30:30 +00:00
* a29k-tdep.c (read_register_stack): Make val static.
This commit is contained in:
parent
e1f63216eb
commit
8549490910
@ -1,3 +1,7 @@
|
||||
Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* a29k-tdep.c (read_register_stack): Make val static.
|
||||
|
||||
Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
|
||||
|
@ -520,7 +520,7 @@ read_register_stack (memaddr, myaddr, actual_mem_addr, lval)
|
||||
if (memaddr >= rstack_high_address)
|
||||
{
|
||||
/* a bogus value */
|
||||
char val[] = {~0, ~0, ~0, ~0};
|
||||
static char val[] = {~0, ~0, ~0, ~0};
|
||||
/* It's in a local register, but off the end of the stack. */
|
||||
int regnum = (memaddr - rsp) / 4 + LR0_REGNUM;
|
||||
if (myaddr != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user