mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
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.
This commit is contained in:
parent
2c3853e304
commit
4cd98a1920
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user