Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: annota1.exp
Date: Sat, 04 Jul 2009 21:11:00 -0000	[thread overview]
Message-ID: <200907042212.23474.pedro@codesourcery.com> (raw)
In-Reply-To: <200907042030.n64KUxnJ025659@brahms.sibelius.xs4all.nl>

On Saturday 04 July 2009 21:30:59, Mark Kettenis wrote:
> Hi folks,
> 
> I'm seeing new failures in annota1.exp (on OpenBSD/i386 at least):
> 
> FAIL: gdb.base/annota1.exp: send SIGUSR1

Hmmm, sounds suspiciously related, or does it look like you have
a new issue masking that other one?

 http://sourceware.org/ml/gdb/2009-02/msg00080.html

There's now a reinit_frame_cache call in regcache_write_pc.
Did you revert Daniel's patch in your tree perhaps?  That
would account for the extra "frames-invalid" output, I guess.

> The problem seems to be that with a freshly built GDB I get:
> 
> 
> signal SIGUSR1
> 
> ^Z^Zpost-prompt
> Continuing with signal SIGUSR1.
> 
> ^Z^Zframes-invalid

Looks like there's a registers_changed or reinit_frame_cache call
somewhere between 

> 
> ^Z^Zstarting
> 
> 
> but the expect pattern checks for the "frames-invalid" and "starting"
> lines in reverse order:
> 
> 
>         -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\(\r\n\r\n\032\032frames-invalid\)+
> 
> 
> Are people seeing the same thing on other platforms?

Here's what I get on x86_64-linux:

 signal SIGUSR1

 ^Z^Zpost-prompt
 Continuing with signal SIGUSR1.

 ^Z^Zstarting

 ^Z^Zframes-invalid

 ^Z^Zframes-invalid

 ^Z^Zbreakpoint 2

 Breakpoint 2,
 ^Z^Zframe-begin 0 0x40052f

> FAIL: gdb.base/annota1.exp: signal sent

Here's what I get:

 PASS: gdb.base/annota1.exp: breakpoint ignore count
 signal SIGTRAP

 ^Z^Zpost-prompt
 Continuing with signal SIGTRAP.

 ^Z^Zstarting

 ^Z^Zframes-invalid

 ^Z^Zsignalled

 Program terminated with signal
 ^Z^Zsignal-name
 SIGTRAP
 ^Z^Zsignal-name-end
 ,
 ^Z^Zsignal-string
 Trace/breakpoint trap
 ^Z^Zsignal-string-end
.
 The program no longer exists.

 ^Z^Zstopped

 ^Z^Zpre-prompt
 (gdb)
 ^Z^Zprompt
 PASS: gdb.base/annota1.exp: signal sent

-- 
Pedro Alves


  reply	other threads:[~2009-07-04 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-04 20:31 annota1.exp Mark Kettenis
2009-07-04 21:11 ` Pedro Alves [this message]
2009-07-05 19:02   ` annota1.exp Mark Kettenis
2009-07-05  1:04 ` annota1.exp Nick Roberts

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=200907042212.23474.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb@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