* nto-procfs.c (get_regset): Pass correct pointer.
authorAleksandar Ristovski <aristovski@qnx.com>
Wed, 27 May 2009 18:28:31 +0000 (18:28 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Wed, 27 May 2009 18:28:31 +0000 (18:28 +0000)
gdb/ChangeLog
gdb/nto-procfs.c

index f2c897ec1956c7e71478c6fcd4b41f954c401199..07f3e0f983b1fba76f0a6c213092bd77d1094517 100644 (file)
@@ -1,3 +1,7 @@
+2009-05-27  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (get_regset): Pass correct pointer.
+
 2009-05-26  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (follow_die_ref): Add comment.
index 3ff99aab7579ccd45c17f3558132656ea5cce2fe..21a14cd353b7960fec3df17b1aafe71e1d5919ad 100644 (file)
@@ -1159,7 +1159,7 @@ get_regset (int regset, char *buf, int bufsize, int *regsize)
     default:
       return -1;
     }
-  if (devctl (ctl_fd, dev_get, &buf, bufsize, regsize) != EOK)
+  if (devctl (ctl_fd, dev_get, buf, bufsize, regsize) != EOK)
     return -1;
 
   return dev_set;