diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/s390-nat.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a417f0b..141eabb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c index 00f6ecc..0239ed0 100644 --- a/gdb/s390-nat.c +++ b/gdb/s390-nat.c @@ -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; |