Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: Match gdb prompt in exprs.exp
@ 2001-06-05 18:39 Jim Blandy
  2001-06-05 18:45 ` Fernando Nasser
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Blandy @ 2001-06-05 18:39 UTC (permalink / raw)
  To: gdb-patches

2001-06-05  Jim Blandy  <jimb@redhat.com>

	* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
	Don't forget to match the GDB prompt. 

Index: gdb/testsuite/gdb.base/exprs.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/exprs.exp,v
retrieving revision 1.19
diff -c -r1.19 exprs.exp
*** gdb/testsuite/gdb.base/exprs.exp	2000/07/24 10:08:58	1.19
--- gdb/testsuite/gdb.base/exprs.exp	2001/06/06 01:37:26
***************
*** 238,248 ****
  #
  send_gdb "print sizeof (long long) > sizeof (long)\n"
  gdb_expect {
!     -re "\\$\[0-9\]* = $true" {
  	set ok 1
  	pass "sizeof (long long) > sizeof (long) (true)"
      }
!     -re "\\$\[0-9\]* = $false" {
  	set ok 0
  	pass "sizeof (long long) > sizeof (long) (false)"
      }
--- 238,248 ----
  #
  send_gdb "print sizeof (long long) > sizeof (long)\n"
  gdb_expect {
!     -re "\\$\[0-9\]* = $true.*$gdb_prompt" {
  	set ok 1
  	pass "sizeof (long long) > sizeof (long) (true)"
      }
!     -re "\\$\[0-9\]* = $false.*$gdb_prompt" {
  	set ok 0
  	pass "sizeof (long long) > sizeof (long) (false)"
      }


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

* Re: RFA: Match gdb prompt in exprs.exp
  2001-06-05 18:39 RFA: Match gdb prompt in exprs.exp Jim Blandy
@ 2001-06-05 18:45 ` Fernando Nasser
  0 siblings, 0 replies; 2+ messages in thread
From: Fernando Nasser @ 2001-06-05 18:45 UTC (permalink / raw)
  To: Jim Blandy; +Cc: gdb-patches

Yes, missing anchors suck!

Please check it in.  And thanks!

Fernando


Jim Blandy wrote:
> 
> 2001-06-05  Jim Blandy  <jimb@redhat.com>
> 
>         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
>         Don't forget to match the GDB prompt.
> 
> Index: gdb/testsuite/gdb.base/exprs.exp
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/exprs.exp,v
> retrieving revision 1.19
> diff -c -r1.19 exprs.exp
> *** gdb/testsuite/gdb.base/exprs.exp    2000/07/24 10:08:58     1.19
> --- gdb/testsuite/gdb.base/exprs.exp    2001/06/06 01:37:26
> ***************
> *** 238,248 ****
>   #
>   send_gdb "print sizeof (long long) > sizeof (long)\n"
>   gdb_expect {
> !     -re "\\$\[0-9\]* = $true" {
>         set ok 1
>         pass "sizeof (long long) > sizeof (long) (true)"
>       }
> !     -re "\\$\[0-9\]* = $false" {
>         set ok 0
>         pass "sizeof (long long) > sizeof (long) (false)"
>       }
> --- 238,248 ----
>   #
>   send_gdb "print sizeof (long long) > sizeof (long)\n"
>   gdb_expect {
> !     -re "\\$\[0-9\]* = $true.*$gdb_prompt" {
>         set ok 1
>         pass "sizeof (long long) > sizeof (long) (true)"
>       }
> !     -re "\\$\[0-9\]* = $false.*$gdb_prompt" {
>         set ok 0
>         pass "sizeof (long long) > sizeof (long) (false)"
>       }

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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

end of thread, other threads:[~2001-06-05 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05 18:39 RFA: Match gdb prompt in exprs.exp Jim Blandy
2001-06-05 18:45 ` Fernando Nasser

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