Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, 	gdb-patches@sourceware.org
Subject: Re: Testsuite failures
Date: Mon, 17 Jul 2006 00:37:00 -0000	[thread overview]
Message-ID: <17594.56182.524945.674557@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20060717003007.GA28575@nevyn.them.org>

 > If you're not in a procedure you're normally at global scope.  Must
 > have been some other problem, maybe quoting.  The file already uses
 > $hex elsewhere.

I see the problem now, gdb_expect_list needs "-re":


*** annota3.exp	12 Mar 2006 19:42:40 +1300	1.5
--- annota3.exp	17 Jul 2006 12:32:54 +1200	
*************** gdb_expect_list "annotation set at level
*** 91,103 ****
  
  send_gdb "run\n"
  gdb_expect_list "first run until main breakpoint" "$gdb_prompt$" {
!     "\r\n\032\032post-prompt\r\n"
      "Starting program: .*annota3 \r\n"
      "\r\n\032\032starting\r\n"
      "\r\n\032\032breakpoint 1\r\n"
      "\r\n"
!     "Breakpoint 1, main \\(\\) at .*annota3.cc:25\r\n"
!     "\r\n\032\032source.*annota3.cc:25:.*:beg:0x\[0-9a-z\]+\r\n"
      "\r\n\032\032stopped\r\n"
  }
  
--- 91,105 ----
  
  send_gdb "run\n"
  gdb_expect_list "first run until main breakpoint" "$gdb_prompt$" {
!     -re "\r\n\032\032post-prompt\r\n"
      "Starting program: .*annota3 \r\n"
      "\r\n\032\032starting\r\n"
      "\r\n\032\032breakpoint 1\r\n"
      "\r\n"
!     "Breakpoint 1, "
!     "\r\n\032\032frame-begin 0 $hex\r\n"
!     "main \\(\\) at .*annota3.cc:25\r\n"
!     "\r\n\032\032source.*annota3.cc:25:.*:beg:$hex\r\n"
      "\r\n\032\032stopped\r\n"
  }



-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2006-07-17  0:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16 11:42 Mark Kettenis
2006-07-16 12:38 ` Nick Roberts
2006-07-17  0:11   ` Daniel Jacobowitz
2006-07-17  0:26     ` Nick Roberts
2006-07-17  0:30       ` Daniel Jacobowitz
2006-07-17  0:37         ` Nick Roberts [this message]
2006-07-17  0:39           ` Daniel Jacobowitz
2006-07-17  0:55             ` Nick Roberts
2006-07-17  0:59               ` Daniel Jacobowitz
2006-07-17  6:00               ` Mark Kettenis

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=17594.56182.524945.674557@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /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