Fix --host cris-*-linux build of GDBServer.
authorAntoine Tremblay <antoine.tremblay@ericsson.com>
Wed, 21 Oct 2015 11:44:26 +0000 (07:44 -0400)
committerAntoine Tremblay <antoine.tremblay@ericsson.com>
Wed, 21 Oct 2015 11:45:56 +0000 (07:45 -0400)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-cris-low.c

index da1aff1f4783a52ff7c6e84b5161b87d39bab326..8e73d9f0753ee6594930888220c82370d81565cf 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-21  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-cris-low.c (cris_get_pc): Remove void arg.
+
 2015-10-16  Aleksandar Ristovski  <aristovski@qnx.com>
 
        * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix
index e0bfa1a583b554f303a3508d065a1431cfabc2b9..135e37a2845358ddfe4ae87d2dda34a3f4816b90 100644 (file)
@@ -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);
This page took 0.032903 seconds and 4 git commands to generate.