From 39181896f1eaf477102b0a5952535c1c66142a14 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 28 Sep 2012 12:04:28 +0000 Subject: [PATCH] 2012-09-28 selven Make definition match declaration. * regcache.c (regcache_register_status): Change return type to enum register_status. --- gdb/ChangeLog | 7 +++++++ gdb/regcache.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 25626832a80..528c276b39e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2012-09-28 selven + + Make definition match declaration. + + * regcache.c (regcache_register_status): Change return type to + enum register_status. + 2012-09-28 Yao Qi * mi/mi-main.c (mi_cmd_data_write_memory): Call diff --git a/gdb/regcache.c b/gdb/regcache.c index c7162802379..449f68215b9 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); -- 2.30.2