aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-05-15 13:36:18 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-05-15 13:36:18 +0000
commit54115cd45b690ab1a320e98fd37842364cd22158 (patch)
tree75fcd0fa287a860b8a67691e857505e2736a62ad /gdb/testsuite
parent01429c8e86c5091fe00c994c856e074c41f8218d (diff)
downloadgdb-54115cd45b690ab1a320e98fd37842364cd22158.zip
gdb-54115cd45b690ab1a320e98fd37842364cd22158.tar.gz
gdb-54115cd45b690ab1a320e98fd37842364cd22158.tar.bz2
gdb/testsuite/
* gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog2
-rw-r--r--gdb/testsuite/gdb.base/dprintf.exp1
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index cdaa386..076d751 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -3,6 +3,8 @@
PR testsuite/12649
* gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
+ * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
+
2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/stap-probe.exp (stap_test): Remove calls to
diff --git a/gdb/testsuite/gdb.base/dprintf.exp b/gdb/testsuite/gdb.base/dprintf.exp
index 1d4e8da..6d1ce6c 100644
--- a/gdb/testsuite/gdb.base/dprintf.exp
+++ b/gdb/testsuite/gdb.base/dprintf.exp
@@ -23,7 +23,6 @@ set srcfile dprintf.c
set bp_location1 [gdb_get_line_number "set breakpoint 1 here"]
set dp_location1 [gdb_get_line_number "set dprintf 1 here"]
-gdb_breakpoint "main"
if ![runto main] {
return -1
}