* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
internal_error.
This commit is contained in:
parent
a985cd4128
commit
e2d46a8c2c
|
@ -1,3 +1,8 @@
|
||||||
|
2001-11-06 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
|
||||||
|
internal_error.
|
||||||
|
|
||||||
2001-11-06 Andrew Cagney <ac131313@redhat.com>
|
2001-11-06 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
|
* gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
|
||||||
|
|
|
@ -59,12 +59,13 @@ s390_register_u_addr (int blockend, int regnum)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef GDBSERVER
|
#ifdef GDBSERVER
|
||||||
error
|
error ("s390_register_u_addr invalid regnum %s %d regnum=%d",
|
||||||
|
__FILE__, (int) __LINE__, regnum);
|
||||||
#else
|
#else
|
||||||
internal_error
|
internal_error (__FILE__, __LINE__,
|
||||||
|
"s390_register_u_addr invalid regnum regnum=%d",
|
||||||
|
regnum);
|
||||||
#endif
|
#endif
|
||||||
("s390_register_u_addr invalid regnum %s %d regnum=%d", __FILE__,
|
|
||||||
(int) __LINE__, regnum);
|
|
||||||
retval = 0;
|
retval = 0;
|
||||||
}
|
}
|
||||||
return retval + blockend;
|
return retval + blockend;
|
||||||
|
|
Loading…
Reference in New Issue