* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
internal_error.
This commit is contained in:
parent
a985cd4128
commit
e2d46a8c2c
2 changed files with 10 additions and 4 deletions
|
@ -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>
|
||||
|
||||
* gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
|
||||
|
|
|
@ -59,12 +59,13 @@ s390_register_u_addr (int blockend, int regnum)
|
|||
else
|
||||
{
|
||||
#ifdef GDBSERVER
|
||||
error
|
||||
error ("s390_register_u_addr invalid regnum %s %d regnum=%d",
|
||||
__FILE__, (int) __LINE__, regnum);
|
||||
#else
|
||||
internal_error
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"s390_register_u_addr invalid regnum regnum=%d",
|
||||
regnum);
|
||||
#endif
|
||||
("s390_register_u_addr invalid regnum %s %d regnum=%d", __FILE__,
|
||||
(int) __LINE__, regnum);
|
||||
retval = 0;
|
||||
}
|
||||
return retval + blockend;
|
||||
|
|
Loading…
Reference in a new issue