• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修訂4cd98a1920446165eaf0a5d5e71f86133e92954d (tree)
時間2015-10-21 20:45:56
作者Antoine Tremblay <antoine.tremblay@eric...>
CommiterAntoine Tremblay

Log Message

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.

Change Summary

差異

--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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+
15 2015-10-16 Aleksandar Ristovski <aristovski@qnx.com>
26
37 * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix
--- a/gdb/gdbserver/linux-cris-low.c
+++ b/gdb/gdbserver/linux-cris-low.c
@@ -62,7 +62,7 @@ cris_cannot_fetch_register (int regno)
6262 extern int debug_threads;
6363
6464 static CORE_ADDR
65-cris_get_pc (struct regcache *regcache, void)
65+cris_get_pc (struct regcache *regcache)
6666 {
6767 unsigned long pc;
6868 collect_register_by_name (regcache, "pc", &pc);