From: Jim Blandy Date: Tue, 6 Nov 2001 21:28:29 +0000 (+0000) Subject: * gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2d46a8c2cf62913e7676a0e01b7e2eb415f9a47;p=binutils-gdb.git * gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to internal_error. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a417f0bc270..141eabb97c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-11-06 Jim Blandy + + * gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to + internal_error. + 2001-11-06 Andrew Cagney * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value. diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c index 00f6eccf346..0239ed08747 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;