From 97c4411662ebaae1d51ff328632f26c82a3bda89 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Wed, 27 May 2009 18:28:31 +0000 Subject: [PATCH] * nto-procfs.c (get_regset): Pass correct pointer. --- gdb/ChangeLog | 4 ++++ gdb/nto-procfs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2