diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2009-05-27 18:28:31 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2009-05-27 18:28:31 +0000 |
commit | 97c4411662ebaae1d51ff328632f26c82a3bda89 (patch) | |
tree | 39b0dc29a825985795a3fab9ecc74a1160d24a76 /gdb | |
parent | 06652544422051789ceaad4f6989591cb10eda1e (diff) | |
download | gdb-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/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/nto-procfs.c | 2 |
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; |