• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

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

Revision9c211fd8d6c7a600a7e55f272e21a967377a7c87 (tree)
Time2016-09-22 18:04:19
AuthorYao Qi <yao.qi@lina...>
CommiterYao Qi

Log Message

Check the right proc name

In lib/gdbserver-support.exp, we rename gdb_exit to
gdbserver_orig_gdb_exit, but we check the existence gdbserver_gdb_exit.
We should check gdbserver_orig_gdb_exit instead. Looks it is a typo
or an oversight.

gdb/testsuite:

2016-09-22 Yao Qi <yao.qi@linaro.org>

* lib/gdbserver-support.exp: Check the existence of
gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.

Change Summary

Incremental Difference

--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
1+2016-09-22 Yao Qi <yao.qi@linaro.org>
2+
3+ * lib/gdbserver-support.exp: Check the existence of
4+ gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5+
16 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
27
38 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
--- a/gdb/testsuite/lib/gdbserver-support.exp
+++ b/gdb/testsuite/lib/gdbserver-support.exp
@@ -358,7 +358,7 @@ proc close_gdbserver {} {
358358
359359 # Hook into GDB exit, and close GDBserver.
360360
361-if { [info procs gdbserver_gdb_exit] == "" } {
361+if { [info procs gdbserver_orig_gdb_exit] == "" } {
362362 rename gdb_exit gdbserver_orig_gdb_exit
363363 }
364364 proc gdb_exit {} {