aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2009-05-27 18:28:31 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2009-05-27 18:28:31 +0000
commit97c4411662ebaae1d51ff328632f26c82a3bda89 (patch)
tree39b0dc29a825985795a3fab9ecc74a1160d24a76 /gdb
parent06652544422051789ceaad4f6989591cb10eda1e (diff)
downloadgdb-97c4411662ebaae1d51ff328632f26c82a3bda89.zip
gdb-97c4411662ebaae1d51ff328632f26c82a3bda89.tar.gz
gdb-97c4411662ebaae1d51ff328632f26c82a3bda89.tar.bz2
* nto-procfs.c (get_regset): Pass correct pointer.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/nto-procfs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f2c897e..07f3e0f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 3ff99aa..21a14cd 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -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;