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/nto-procfs.c | |
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/nto-procfs.c')
-rw-r--r-- | gdb/nto-procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |