From: Daniel Jacobowitz <drow@false.org>
To: insight@sourceware.org
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] Remove deprecated_selected_frame
Date: Mon, 05 Mar 2007 12:45:00 -0000 [thread overview]
Message-ID: <20070305124546.GC14835@caradoc.them.org> (raw)
In-Reply-To: <45EA394A.1C292B19@dessent.net>
On Sat, Mar 03, 2007 at 07:13:14PM -0800, Brian Dessent wrote:
> It looks like there are about a dozen more references in
> gdbtk/generic/gdbtk-{cmds,hooks,register,stack}.c. Most of them seem to
> be the "if (deprecated_selected_frame != NULL)" sort of thing -- is this
> safe to just replace with "if (get_selected_frame (NULL))" ?
I don't know. It depends if they're supposed to work when the program
isn't running or not. You may want to use
deprecated_safe_get_selected_frame if they are, and get_selected_frame
anywhere that assumes the program is running.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2007-03-05 12:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 21:29 Daniel Jacobowitz
2007-02-27 19:45 ` Daniel Jacobowitz
2007-03-04 3:13 ` Brian Dessent
2007-03-05 12:45 ` Daniel Jacobowitz [this message]
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=20070305124546.GC14835@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=insight@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