Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: Michael Snyder <msnyder@vmware.com>,
	Gaius Mulley <gaius@glam.ac.uk>,
		Sandeep222 <sandeep.srikumar@honeywell.com>,
		"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: How to store function-name and its return values while program  	runs
Date: Fri, 21 Nov 2008 22:29:00 -0000	[thread overview]
Message-ID: <20081121222835.GA16751@adacore.com> (raw)
In-Reply-To: <8ac60eac0811211410s2196e9a1g28c824850b222bf6@mail.gmail.com>

> I wished many times that above worked, but it doesn't: 'finish'
> appears to interrupt flow of script, and subsequent commands are
> never executed:
[...]
> Is this a bug?

It actually isn't. The manual tries to explain why:

> Any other commands in the command list, after a command that resumes
> execution, are ignored. This is because any time you resume execution
> (even with a simple next or step), you may encounter another
> breakpoint--which could have its own command list, leading to
> ambiguities about which list to execute.

Most of the users at AdaCore view this as a limitation, but I haven't
really had the energy to look at improving this.

-- 
Joel


  reply	other threads:[~2008-11-21 22:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 10:36 Sandeep222
2008-11-21 11:02 ` Gaius Mulley
2008-11-21 19:05   ` Michael Snyder
2008-11-21 22:11     ` Paul Pluzhnikov
2008-11-21 22:29       ` Joel Brobecker [this message]
2008-11-22  0:48         ` Michael Snyder
2008-11-22  0:59           ` Joel Brobecker
2008-11-22  0:47       ` Michael Snyder

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=20081121222835.GA16751@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gaius@glam.ac.uk \
    --cc=gdb@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=ppluzhnikov@google.com \
    --cc=sandeep.srikumar@honeywell.com \
    /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