From: Michael Snyder <msnyder@vmware.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [rfa] break-entry.exp: suppress test if remote target
Date: Tue, 07 Dec 2010 19:36:00 -0000 [thread overview]
Message-ID: <4CFE8C9D.2060108@vmware.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
This test doesn't work on remote targets (gdbserver), because it sets a
breakpoint at _start, which is also the current pc. We never hit a
breakpoint at the current pc when we continue.
[-- Attachment #2: break-entry.txt --]
[-- Type: text/plain, Size: 671 bytes --]
2010-12-07 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-entry.exp: Skip test if remote target.
Index: break-entry.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break-entry.exp,v
retrieving revision 1.1
diff -u -p -r1.1 break-entry.exp
--- break-entry.exp 4 Apr 2010 22:12:14 -0000 1.1
+++ break-entry.exp 7 Dec 2010 19:34:26 -0000
@@ -21,6 +21,10 @@ if { [prepare_for_testing ${testfile}.ex
return -1
}
+if { [target_info exists use_gdb_stub] || [target_info exists gdb_protocol]} then {
+ return -1
+}
+
set test "info files"
set entry ""
gdb_test_multiple $test $test {
next reply other threads:[~2010-12-07 19:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 19:36 Michael Snyder [this message]
2010-12-09 21:41 ` Jan Kratochvil
2010-12-09 22:13 ` Michael Snyder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CFE8C9D.2060108@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox