Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: kdevelop@kdevelop.org,  Nick Roberts <nickrob@snap.net.nz>,
	 gdb@sources.redhat.com
Subject: Re: 'continue' command problem
Date: Mon, 25 Jun 2007 18:04:00 -0000	[thread overview]
Message-ID: <D55FFBAC-7B85-40DE-8F71-D373C8A6AA90@apple.com> (raw)
In-Reply-To: <200706251101.54544.ghost@cs.msu.su>

At Apple, we also added a "breakpoint-commands" output field to the  
"*stopped - breakpoint-hit" message.  Then we either tell it that the  
breakpoint commands are done running, or that they have restarted the  
target.  That way the UI can know to suspend putting up some UI  
(getting the current stack, etc) till it knows the target has stopped  
for sure...  After all, one very common use of breakpoint commands is  
on the fly logging, in which case you do want to display whatever the  
breakpoint command prints in your gdb console log window, but you  
don't want to do anything else.

Jim

On Jun 25, 2007, at 12:01 AM, Vladimir Prus wrote:

> On Monday 04 June 2007 15:21, Leon Pollak wrote:
>
> [cross-posting to gdb-devel]
>
>> Hello.
>>
>> This is the message to Vladimir Prus (as the debugger interface  
>> maintainer):
>>
>> When the user defined gdb macro contains "continue" command inside,  
>> this
>> causes the debugger interface to loose its head (BP hit, ball/ 
>> circle/point
>> presentation and BP tab are in disorder).
>
> This is more or less expected. In this case GDB fails to inform us  
> that
> the target started running, so we think it's stopped, and many bad  
> things
> can happen.
>
> Nick,
> I think your "async branch" is supposed to emit "^running" in all  
> possible cases.
> Is that the case, and if so, do you think that improvement can be  
> ported to
> gdb mainline quickly?
>
> - Volodya


  parent reply	other threads:[~2007-06-25 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200706041421.21962.leonp@plris.com>
2007-06-25  7:02 ` Vladimir Prus
2007-06-25  7:51   ` Nick Roberts
2007-06-25 18:04   ` Jim Ingham [this message]
2007-06-26  4:40     ` Nick Roberts
2007-06-26 18:16       ` Jim Ingham
2007-06-27  0:12         ` Nick Roberts
2007-06-26  7:13     ` Vladimir Prus

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=D55FFBAC-7B85-40DE-8F71-D373C8A6AA90@apple.com \
    --to=jingham@apple.com \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    --cc=kdevelop@kdevelop.org \
    --cc=nickrob@snap.net.nz \
    /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