Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES
       [not found] <20030405105120.28085.qmail@sources.redhat.com>
@ 2003-04-05 11:43 ` Stephane Carrez
  2003-04-05 13:21   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Stephane Carrez @ 2003-04-05 11:43 UTC (permalink / raw)
  To: gdb-patches, gdb-prs, stcarrez, gdb-gnats

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

Hi!

This new patch takes into account Daniel and Michael remarks.
(verified by running gdb testsuite on m6811-elf)

Ok to commit?

	Stephane

2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>

	* gdb.base/break.exp: marker4() is defined at line 46 when compiled
	with -DPROTOTYPES.

[-- Attachment #2: break.exp.diffs --]
[-- Type: text/plain, Size: 908 bytes --]

Index: gdb.base/break.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break.exp,v
retrieving revision 1.16
diff -u -p -r1.16 break.exp
--- gdb.base/break.exp	5 Apr 2003 10:40:59 -0000	1.16
+++ gdb.base/break.exp	5 Apr 2003 10:52:56 -0000
@@ -914,6 +914,10 @@ gdb_expect {
     -re "Breakpoint $decimal, $hex in marker4 \\(d=177601976\\) at .*$srcfile:51\[\r\n\]+51\[\t \]+void marker4.*" {
 	pass "run until breakpoint set at small function, optimized file"
     }
+    -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" {
+        # marker4() is defined at line 46 when compiled with -DPROTOTYPES
+	pass "run until breakpoint set at small function, optimized file (line 46)"
+    }
     -re ".*$gdb_prompt " {
 	fail "run until breakpoint set at small function, optimized file"
     }

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

* Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES
  2003-04-05 11:43 ` testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES Stephane Carrez
@ 2003-04-05 13:21   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-04-05 13:21 UTC (permalink / raw)
  To: Stephane Carrez; +Cc: gdb-patches, gdb-prs, gdb-gnats

Yes, obvious.


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

* Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES
@ 2003-04-05 16:23 Michael Elizabeth Chastain
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2003-04-05 16:23 UTC (permalink / raw)
  To: stcarrez; +Cc: gdb-gnats, gdb-patches

Looks okay to me.

Silly TCL!

Michael C

===

2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>

	* gdb.base/break.exp: marker4() is defined at line 46 when compiled
	with -DPROTOTYPES.


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

end of thread, other threads:[~2003-04-05 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030405105120.28085.qmail@sources.redhat.com>
2003-04-05 11:43 ` testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES Stephane Carrez
2003-04-05 13:21   ` Andrew Cagney
2003-04-05 16:23 Michael Elizabeth Chastain

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