aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-09-28 12:04:28 +0000
committerPedro Alves <palves@redhat.com>2012-09-28 12:04:28 +0000
commit39181896f1eaf477102b0a5952535c1c66142a14 (patch)
treeb94d2a41003e7d8f0b901cf68581d1a6ab040728 /gdb/regcache.c
parent1415a2a767bf5ed24c4b4f3b1fc1c45c9a876614 (diff)
downloadgdb-39181896f1eaf477102b0a5952535c1c66142a14.zip
gdb-39181896f1eaf477102b0a5952535c1c66142a14.tar.gz
gdb-39181896f1eaf477102b0a5952535c1c66142a14.tar.bz2
2012-09-28 selven <pcthegreat@gmail.com>
Make definition match declaration. * regcache.c (regcache_register_status): Change return type to enum register_status.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index c716280..449f682 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -411,7 +411,7 @@ regcache_dup (struct regcache *src)
return newbuf;
}
-int
+enum register_status
regcache_register_status (const struct regcache *regcache, int regnum)
{
gdb_assert (regcache != NULL);