From e2d46a8c2cf62913e7676a0e01b7e2eb415f9a47 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 6 Nov 2001 21:28:29 +0000 Subject: [PATCH] * gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to internal_error. --- gdb/ChangeLog | 5 +++++ gdb/s390-nat.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a417f0bc27..141eabb97c 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 00f6eccf34..0239ed0874 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; -- 2.34.1