diff options
author | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-10-21 07:44:26 -0400 |
---|---|---|
committer | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-10-21 07:45:56 -0400 |
commit | 4cd98a1920446165eaf0a5d5e71f86133e92954d (patch) | |
tree | c4d9f35beb3ddd3dd4cd51de21cb31c6c6590713 /gdb/gdbserver/linux-cris-low.c | |
parent | 2c3853e30485654f3d40d6d9e1b57d31444d3598 (diff) | |
download | binutils-gdb-4cd98a1920446165eaf0a5d5e71f86133e92954d.tar.gz |
Fix --host cris-*-linux build of GDBServer.
Compiling GDBServer with --host cris-*-linux yields a compilation error :
linux-cris-low.c:65:21: error: ‘void’ must be the only parameter
This patch fixes the issue by removing the void parameter in cris_get_pc.
gdb/gdbserver/ChangeLog:
* linux-cris-low.c (cris_get_pc): Remove void arg.
Diffstat (limited to 'gdb/gdbserver/linux-cris-low.c')
-rw-r--r-- | gdb/gdbserver/linux-cris-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-cris-low.c b/gdb/gdbserver/linux-cris-low.c index e0bfa1a583b..135e37a2845 100644 --- a/gdb/gdbserver/linux-cris-low.c +++ b/gdb/gdbserver/linux-cris-low.c @@ -62,7 +62,7 @@ cris_cannot_fetch_register (int regno) extern int debug_threads; static CORE_ADDR -cris_get_pc (struct regcache *regcache, void) +cris_get_pc (struct regcache *regcache) { unsigned long pc; collect_register_by_name (regcache, "pc", &pc); |