Output ``[]'' when a list.
[deliverable/binutils-gdb.git] / gdb / i386gnu-nat.c
index 8dfc3fdd29b66fea8c73a307570bbacb89043ee5..da5ef0e6e85154fd723c8b0afb3a87bc88bfc334 100644 (file)
@@ -1,6 +1,6 @@
 /* Low level interface to i386 running the GNU Hurd.
-   Copyright 1992, 1995, 1996, 2000, 2001 Free Software Foundation,
-   Inc.
+   Copyright 1992, 1995, 1996, 1998, 2000, 2001
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -132,10 +132,10 @@ gnu_fetch_registers (int regno)
   /* Make sure we know about new threads.  */
   inf_update_procs (current_inferior);
 
-  thread = inf_tid_to_thread (current_inferior, inferior_pid);
+  thread = inf_tid_to_thread (current_inferior, PIDGET (inferior_ptid));
   if (!thread)
     error ("Can't fetch registers from thread %d: No such thread",
-          inferior_pid);
+          PIDGET (inferior_ptid));
 
   if (regno < NUM_GREGS || regno == -1)
     {
@@ -256,10 +256,10 @@ gnu_store_registers (int regno)
   /* Make sure we know about new threads.  */
   inf_update_procs (current_inferior);
 
-  thread = inf_tid_to_thread (current_inferior, inferior_pid);
+  thread = inf_tid_to_thread (current_inferior, PIDGET (inferior_ptid));
   if (!thread)
     error ("Couldn't store registers into thread %d: No such thread",
-          inferior_pid);
+          PIDGET (inferior_ptid));
 
   if (regno < NUM_GREGS || regno == -1)
     {
This page took 0.023669 seconds and 4 git commands to generate.