2000-02-08 Andreas Jaeger <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
	Fix usage of macro ADD_STRING.
This commit is contained in:
Andreas Jaeger 2000-02-08 16:36:09 +00:00
parent b3be99749f
commit ff75a64c4a

View File

@ -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);