From: Jason Molenda <jmolenda@apple.com>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] -stack-select-frame
Date: Thu, 16 Jun 2005 20:15:00 -0000 [thread overview]
Message-ID: <50B12BF2-9C7D-43ED-AF21-D1EA42AC7115@apple.com> (raw)
In-Reply-To: <17072.62436.183299.55978@farnswood.snap.net.nz>
Hi Nick,
You wrote:
> I'm not aware of anyone using this command - I don't see how they
> currently
> could really. I think its less likely to break existing behaviour
> than this
> change:
Xcode uses stack-select-frame -- I'm not sure how a real GUI could
avoid using stack-select-frame.
On Jun 15, 2005, at 8:37 PM, Nick Roberts wrote:
> Here, hopefully, is a much more sensible one. The idea is the
> same: that
> -stack-select-frame tells the frontend what the current or selected
> frame
> is.
I don't care, really, but isn't necessary in our experience at
Apple. The first thing a GUI has to do when execution has stopped is
get the current stack. It shows the stack to the developer, and then
the developer decides that stack frame 2 is of interest to her, so
she clicks there and the GUI sends stack-select-frame. The GUI
already has the stack-list-frames output from when it stopped -- it
knows very well what's at frame 2.
If the GUI has short term memory problems, stack-list-frames is
always at its disposal.
> * mi/mi-cmd-stack.c (mi_cmd_stack_select_frame): Don't test for
> stack. Print frame details.
> enum mi_cmd_result
> mi_cmd_stack_select_frame (char *command, char **argv, int argc)
> {
> - if (!target_has_stack)
> - error (_("mi_cmd_stack_select_frame: No stack."));
> -
Why are you suggesting this change? If the GUI is requesting a stack
when the inferior isn't running, that's an error.
Jason
next prev parent reply other threads:[~2005-06-16 20:15 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-16 3:36 Nick Roberts
2005-06-16 4:42 ` Daniel Jacobowitz
2005-06-16 6:41 ` Nick Roberts
2005-06-16 13:21 ` Daniel Jacobowitz
2005-06-16 22:58 ` Nick Roberts
2005-06-16 23:20 ` Bob Rossi
2005-06-16 23:47 ` Daniel Jacobowitz
2005-06-17 3:07 ` Nick Roberts
2005-06-17 3:21 ` Daniel Jacobowitz
2005-06-17 7:37 ` Nick Roberts
2005-06-17 10:15 ` Eli Zaretskii
2005-06-17 13:33 ` Daniel Jacobowitz
2005-06-18 8:56 ` Eli Zaretskii
2005-06-17 9:55 ` Eli Zaretskii
2005-06-17 9:46 ` Eli Zaretskii
2005-06-16 18:23 ` Eli Zaretskii
2005-06-16 20:15 ` Jason Molenda [this message]
2005-06-16 23:04 ` Nick Roberts
2005-06-16 23:30 ` Jason Molenda
2005-06-17 7:22 ` Nick Roberts
2005-06-17 13:30 ` Daniel Jacobowitz
2005-06-17 19:48 ` Jason Molenda
2005-06-17 22:35 ` Stan Shebs
2005-06-17 22:59 ` Daniel Jacobowitz
2005-06-17 23:31 ` Nick Roberts
[not found] <1119003319.5434.ezmlm@sources.redhat.com>
2005-06-17 17:45 ` Jim Ingham
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=50B12BF2-9C7D-43ED-AF21-D1EA42AC7115@apple.com \
--to=jmolenda@apple.com \
--cc=gdb-patches@sources.redhat.com \
--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