aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-10-08 10:04:22 +0800
committerYao Qi <yao@codesourcery.com>2014-10-11 11:12:23 +0800
commitbf40a6078fd5bc24f54aaa1ca2bf44fa95b57c69 (patch)
tree8ef0c3d021549ddf2f202149d38b8d2e4a404e76 /gdb
parent052ca3707367a7f1fae462a45c56e8e50fe3b98e (diff)
downloadgdb-bf40a6078fd5bc24f54aaa1ca2bf44fa95b57c69.zip
gdb-bf40a6078fd5bc24f54aaa1ca2bf44fa95b57c69.tar.gz
gdb-bf40a6078fd5bc24f54aaa1ca2bf44fa95b57c69.tar.bz2
Clean up server-kill.exp
This patch is to remove some lines which looks unnecessary. These lines were added when server-kill.exp was added. In the version 1, https://sourceware.org/ml/gdb-patches/2013-03/msg00691.html the test calls runto_main and delete breakpoint on main, +if ![runto_main] { + return -1 +} + +# Otherwise the breakpoint at 'main' would not cause insert breakpoints during +# first step. +delete_breakpoints However, in the version 2 https://sourceware.org/ml/gdb-patches/2013-03/msg00854.html runto_main is removed but delete_breakpoints is still there. AFAICS, the line of delete_breakpoints can be removed too. gdb/testsuite: 2014-10-11 Yao Qi <yao@codesourcery.com> * gdb.server/server-kill.exp: Remove "delete_breakpoints".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.server/server-kill.exp4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e33cbd2..23eea6b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2014-10-11 Yao Qi <yao@codesourcery.com>
+ * gdb.server/server-kill.exp: Remove "delete_breakpoints".
+
+2014-10-11 Yao Qi <yao@codesourcery.com>
+
* gdb.threads/thread-find.exp: Don't execute command
"info threads".
* gdb.threads/attach-into-signal.exp (corefunc): Likewise.
diff --git a/gdb/testsuite/gdb.server/server-kill.exp b/gdb/testsuite/gdb.server/server-kill.exp
index 5d31103..b23c2b5 100644
--- a/gdb/testsuite/gdb.server/server-kill.exp
+++ b/gdb/testsuite/gdb.server/server-kill.exp
@@ -33,10 +33,6 @@ gdb_test "disconnect" ".*"
gdbserver_run ""
-# Otherwise the breakpoint at 'main' would not cause insert
-# breakpoints during first step.
-delete_breakpoints
-
set server_pid [exp_pid -i [board_info target fileid]]
remote_exec target "kill -9 $server_pid"