Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb/gdb make it compile



details:   https://anonhg.NetBSD.org/src/rev/bcd600fcfecc
branches:  trunk
changeset: 551892:bcd600fcfecc
user:      cl <cl%NetBSD.org@localhost>
date:      Sat Sep 13 19:37:20 2003 +0000

description:
make it compile

diffstat:

 gnu/dist/gdb/gdb/m68knbsd-nat.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 47077a74f5c8 -r bcd600fcfecc gnu/dist/gdb/gdb/m68knbsd-nat.c
--- a/gnu/dist/gdb/gdb/m68knbsd-nat.c   Sat Sep 13 19:12:01 2003 +0000
+++ b/gnu/dist/gdb/gdb/m68knbsd-nat.c   Sat Sep 13 19:37:20 2003 +0000
@@ -58,7 +58,7 @@
 static const int fpregmap[] =
 {
   0x00, /* fp0 */
-  0x0c, /* fp1 *
+  0x0c, /* fp1 */
   0x18, /* fp2 */
   0x24, /* fp3 */
   0x30, /* fp4 */
@@ -70,6 +70,8 @@
   0x68, /* fpiar */
 };
 
+#define FPI_REGNUM 28
+
 /* Determine if PT_GETREGS fetches this register. */
 #define GETREGS_SUPPLIES(regno) \
   ((regno) >= D0_REGNUM && (regno) <= PC_REGNUM)
@@ -102,7 +104,7 @@
 
   if (regno == -1 || GETREGS_SUPPLIES (regno))
     {
-      ptrace (PT_GETREGS, inferior_pid,
+      ptrace (PT_GETREGS, PIDGET (inferior_ptid),
              (PTRACE_ARG3_TYPE) & inferior_registers, 0);
       supply_regs ((char *) &inferior_registers);
       



Home | Main Index | Thread Index | Old Index