Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] obvious pattern fix in gdb.base/step-line.exp
@ 2009-03-27 14:05 Christophe LYON
  2009-03-27 18:53 ` Joel Brobecker
  0 siblings, 1 reply; 9+ messages in thread
From: Christophe LYON @ 2009-03-27 14:05 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Hello,

I propose the attached small patch to allow printing the full path 
before 'step-line.c'.

Christophe.

[-- Attachment #2: gdb.step-line.changelog --]
[-- Type: text/plain, Size: 148 bytes --]

2009-03-27  Christophe Lyon  <christophe.lyon@st.com>

	testsuite/
	* gdb.base/step-line.exp: Fix pattern to allow full path before
	"step-line.c".

[-- Attachment #3: gdb.step-line.patch --]
[-- Type: text/plain, Size: 546 bytes --]

Index: gdb/testsuite/gdb.base/step-line.exp
===================================================================
--- gdb/testsuite/gdb.base/step-line.exp	(revision 308)
+++ gdb/testsuite/gdb.base/step-line.exp	(working copy)
@@ -46,7 +46,7 @@ if ![runto_main] then {
    return 0
 }
 
-gdb_test "break f1" ".*Breakpoint 2 at .* file step-line.c.*" "break f1"
+gdb_test "break f1" ".*Breakpoint 2 at .* file .*$srcfile.*" "break f1"
 gdb_test "continue" \
          "Continuing.*Breakpoint 2, f1 \\(i=4\\).*dummy \\(1, i\\);" \
 	 "continue to f1"

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-17 17:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-27 14:05 [PATCH] obvious pattern fix in gdb.base/step-line.exp Christophe LYON
2009-03-27 18:53 ` Joel Brobecker
2009-03-30 13:51   ` Christophe LYON
2009-03-30 18:23     ` Joel Brobecker
2009-03-31 15:25       ` Christophe LYON
2009-04-01 18:32         ` Joel Brobecker
2009-04-02  8:52           ` Christophe LYON
2009-04-17 17:07             ` Christophe LYON
2009-04-17 17:30               ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox