Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Luis Machado <luisgpm@linux.vnet.ibm.com>
To: gdb@sourceware.org
Subject: Re: (maybe) Async mode failures on PPC
Date: Mon, 14 Jul 2008 16:32:00 -0000	[thread overview]
Message-ID: <1216053102.2607.13.camel@gargoyle> (raw)
In-Reply-To: <1216050287.2607.10.camel@gargoyle>

Steps to reproduce this failure:

1 - Load the watchpoint.exp test binary into gdb.
2 - start it and next over a few lines.

Results:

(gdb) start
Temporary breakpoint 1 at 0x10000894:
file /home/luis/src/gdb/gdb-head/HEAD/gdb/testsuite/gdb.base/watchpoint.c, line 129.
Starting
program: /home/luis/builds/gdb-head/DFP/gdb/testsuite/gdb.base/watchpoint

Temporary breakpoint 1, main ()
at /home/luis/src/gdb/gdb-head/HEAD/gdb/testsuite/gdb.base/watchpoint.c:129
129       struct1.val = 1;
(gdb) watch ptr1
Hardware watchpoint 2: ptr1
(gdb) n
During symbol reading, incomplete CFI data; unspecified registers (e.g.,
r2) at 0x10000894.
130       struct2.val = 2;
(gdb)
131       ptr1 = &struct1;
(gdb)
Target is executing.
(gdb)
Cannot execute this command while the selected thread is running.
(gdb)
Cannot execute this command while the selected thread is running.
(gdb)
Cannot execute this command while the selected thread is running.
(gdb)


On Mon, 2008-07-14 at 12:44 -0300, Luis Machado wrote:
> Hey guys,
> 
> I was giving a shot at the testsuite for PPC and some failures showed
> up, related, apparently, to the async mode.
> 
> The pattern is like this, first there's a message informing you that the
> "Target is running" and then no other commands will be accepted due to
> "Cannot execute this command while the selected thread is running.".
> 
> Is this something we're still addressing or a new problem? Should we
> modify the testcase so it becomes async-aware?
> 
> For example, this piece of the watchpoint.exp testcase
> 
> (gdb) PASS: gdb.base/watchpoint.exp: until to ival3 assignment
> until^M
> Target is executing.^M
> (gdb) FAIL: gdb.base/watchpoint.exp: until out of loop
> step^M
> Cannot execute this command while the selected thread is running.^M
> 
> Regards,
> Luis



  reply	other threads:[~2008-07-14 16:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-14 15:45 Luis Machado
2008-07-14 16:32 ` Luis Machado [this message]
2008-07-14 16:58   ` Pedro Alves
2008-07-14 17:07     ` Luis Machado
2008-07-15 14:47       ` Luis Machado
2008-07-15 16:34         ` Pedro Alves
2008-07-15 16:40           ` Daniel Jacobowitz
2008-07-15 16:42             ` Pedro Alves
2008-07-15 16:45         ` Luis Machado
2008-07-15 16:49           ` Daniel Jacobowitz
2008-07-15 17:30             ` Luis Machado
2008-07-14 21:37     ` Andreas Schwab

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=1216053102.2607.13.camel@gargoyle \
    --to=luisgpm@linux.vnet.ibm.com \
    --cc=gdb@sourceware.org \
    /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