From: Sandra Loosemore <sandra@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: [patch] fix remote-host fails in gdb.cp/cplabel.exp
Date: Thu, 04 Apr 2013 08:29:00 -0000 [thread overview]
Message-ID: <515CD922.7030801@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
This 1-character patch is very similar to this already-approved one:
http://sourceware.org/ml/gdb-patches/2013-04/msg00053.html
It fixes the regexp in the testcase to allow the test to pass when the
file is compiled without a directory prefix in remote-host testing.
OK to commit?
-Sandra
2013-04-03 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.cp/cplabel.exp: Fix regexp to allow tests to pass on
remote hosts.
[-- Attachment #2: cplabel.patch --]
[-- Type: text/x-patch, Size: 631 bytes --]
Index: gdb/testsuite/gdb.cp/cplabel.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cplabel.exp,v
retrieving revision 1.3
diff -u -p -r1.3 cplabel.exp
--- gdb/testsuite/gdb.cp/cplabel.exp 1 Jan 2013 06:33:27 -0000 1.3
+++ gdb/testsuite/gdb.cp/cplabel.exp 4 Apr 2013 01:30:12 -0000
@@ -35,6 +35,6 @@ foreach m $methods {
foreach l $labels {
set line [gdb_get_line_number "$m:$l"]
gdb_test "break foo::$m:$l" \
- "Breakpoint $decimal at $hex: file .*/$srcfile, line $line\."
+ "Breakpoint $decimal at $hex: file .*$srcfile, line $line\."
}
}
next reply other threads:[~2013-04-04 1:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 8:29 Sandra Loosemore [this message]
2013-04-04 16:48 ` Pedro Alves
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=515CD922.7030801@codesourcery.com \
--to=sandra@codesourcery.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