diff options
author | Pedro Alves <palves@redhat.com> | 2012-09-28 12:04:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-09-28 12:04:28 +0000 |
commit | 39181896f1eaf477102b0a5952535c1c66142a14 (patch) | |
tree | b94d2a41003e7d8f0b901cf68581d1a6ab040728 /gdb | |
parent | 1415a2a767bf5ed24c4b4f3b1fc1c45c9a876614 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/regcache.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2562683..528c276 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2012-09-28 selven <pcthegreat@gmail.com> + + Make definition match declaration. + + * regcache.c (regcache_register_status): Change return type to + enum register_status. + 2012-09-28 Yao Qi <yao@codesourcery.com> * mi/mi-main.c (mi_cmd_data_write_memory): Call 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); |