* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
authorJim Blandy <jimb@codesourcery.com>
Tue, 6 Nov 2001 21:28:29 +0000 (21:28 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 6 Nov 2001 21:28:29 +0000 (21:28 +0000)
internal_error.

gdb/ChangeLog
gdb/s390-nat.c

index a417f0bc270804d33d6fbcb81b0b1072a99e4ed8..141eabb97c6b145107d706f43ade044796af3320 100644 (file)
@@ -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.
index 00f6eccf3466106bdae645d1dbaaa64dbcd3b42a..0239ed087474b6d781be91d0a5ff68a56e446a1f 100644 (file)
@@ -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;
This page took 0.027737 seconds and 4 git commands to generate.