GNU Binutils with patches for OS216
修訂 | 4cd98a1920446165eaf0a5d5e71f86133e92954d (tree) |
---|---|
時間 | 2015-10-21 20:45:56 |
作者 | Antoine Tremblay <antoine.tremblay@eric...> |
Commiter | Antoine Tremblay |
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.
@@ -1,3 +1,7 @@ | ||
1 | +2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com> | |
2 | + | |
3 | + * linux-cris-low.c (cris_get_pc): Remove void arg. | |
4 | + | |
1 | 5 | 2015-10-16 Aleksandar Ristovski <aristovski@qnx.com> |
2 | 6 | |
3 | 7 | * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix |
@@ -62,7 +62,7 @@ cris_cannot_fetch_register (int regno) | ||
62 | 62 | extern int debug_threads; |
63 | 63 | |
64 | 64 | static CORE_ADDR |
65 | -cris_get_pc (struct regcache *regcache, void) | |
65 | +cris_get_pc (struct regcache *regcache) | |
66 | 66 | { |
67 | 67 | unsigned long pc; |
68 | 68 | collect_register_by_name (regcache, "pc", &pc); |