summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-02-08 16:36:52 +0000
committerAndreas Jaeger <aj@suse.de>2000-02-08 16:36:52 +0000
commit8308c68b8839d5795206db96e5aab01d8f5e1b97 (patch)
treebae186c551677ca63ab941bbef6886519a573b3e
parentaf6eca30703ea72847a15a9da0b8520bb99cd464 (diff)
downloadglibc-8308c68b8839d5795206db96e5aab01d8f5e1b97.tar.gz
glibc-8308c68b8839d5795206db96e5aab01d8f5e1b97.tar.xz
glibc-8308c68b8839d5795206db96e5aab01d8f5e1b97.zip
Update.
	* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
	Fix usage of macro ADD_STRING.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/mips/register-dump.h12
2 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cdcf6011f1..45b638a5cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-02-08  Andreas Jaeger  <aj@suse.de>
 
+	* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
+	Fix usage of macro ADD_STRING.
+
 	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
 	c_ispeed and c_ospeed which are not implemented.
 
diff --git a/sysdeps/unix/sysv/linux/mips/register-dump.h b/sysdeps/unix/sysv/linux/mips/register-dump.h
index c48980dbb5..61a4688242 100644
--- a/sysdeps/unix/sysv/linux/mips/register-dump.h
+++ b/sysdeps/unix/sysv/linux/mips/register-dump.h
@@ -73,34 +73,34 @@ register_dump (int fd, struct sigcontext *ctx)
   for (i = 0; i < 8; i++)
     {
       ADD_MEM (regs[i], 8);
-      ADD_STRING (" ", 1);
+      ADD_STRING (" ");
     }
   ADD_STRING ("\n R8   ");
   for (i = 8; i < 16; i++)
     {
       ADD_MEM (regs[i], 8);
-      ADD_STRING (" ", 1);
+      ADD_STRING (" ");
     }
   ADD_STRING ("\n R16  ");
   for (i = 16; i < 24; i++)
     {
       ADD_MEM (regs[i], 8);
-      ADD_STRING (" ", 1);
+      ADD_STRING (" ");
     }
   ADD_STRING ("\n R24  ");
   for (i = 24; i < 32; i++)
     {
       ADD_MEM (regs[i], 8);
-      ADD_STRING (" ", 1);
+      ADD_STRING (" ");
     }
   ADD_STRING ("\n           pc    cause  status   badvaddr       lo       hi\n      ");
   ADD_MEM (regs[], 8);
   for (i = 32; i < 38; i++)
     {
       ADD_MEM (regs[i], 8);
-      ADD_STRING (" ", 1);
+      ADD_STRING (" ");
     }
-  ADD_STRING ("\n", 1);
+  ADD_STRING ("\n");
 
   /* Write the stuff out.  */
   writev (fd, iov, nr);