* 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:52 +00:00
parent af6eca3070
commit 8308c68b88
2 changed files with 9 additions and 6 deletions

View File

@ -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.

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