about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips/register-dump.h
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 /sysdeps/unix/sysv/linux/mips/register-dump.h
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/register-dump.h')
-rw-r--r--sysdeps/unix/sysv/linux/mips/register-dump.h12
1 files changed, 6 insertions, 6 deletions
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);