From: Aleksandar Ristovski Date: Wed, 27 May 2009 18:28:31 +0000 (+0000) Subject: * nto-procfs.c (get_regset): Pass correct pointer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97c4411662ebaae1d51ff328632f26c82a3bda89;p=binutils-gdb.git * nto-procfs.c (get_regset): Pass correct pointer. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f2c897ec195..07f3e0f983b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-27 Aleksandar Ristovski + + * nto-procfs.c (get_regset): Pass correct pointer. + 2009-05-26 Doug Evans * dwarf2read.c (follow_die_ref): Add comment. diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 3ff99aab757..21a14cd353b 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;