From: Felix Lee <felix.1@canids.net>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: backtrace changes current source location
Date: Sat, 30 Oct 2004 03:28:00 -0000 [thread overview]
Message-ID: <20041030032828.DB2D2501085@stray.canids> (raw)
In-Reply-To: <4182D9AD.5010003@gnu.org> on Fri, 29 Oct 2004 20:00:45 EDT from Andrew Cagney <cagney@gnu.org>
Andrew Cagney <cagney@gnu.org>:
> Should:
> (gdb) info frame 5
> change things to frame 5's sal?
it doesn't do that now. it's only when a line like
#4 0x08048392 in main () at z1.c:8
gets printed, which happens at breakpoints, or when the user
selects a frame with 'frame', and so forth.
> MI and/or CLI should locally determine current-sal, and pass it down to
> print_frame_info.
ok, so an alternate implementation is to add a function
set_current_sal_to_frame(), and most places that call
print_frame_info() will also call set_current_sal_to_frame().
does that sound acceptable?
that will be a slightly larger patch.
--
next prev parent reply other threads:[~2004-10-30 3:28 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20041026075115.4A2C354AAB5@stray.canids>
[not found] ` <20041026132924.GA26886@nevyn.them.org>
[not found] ` <drow@false.org>
2004-10-26 15:01 ` Felix Lee
2004-10-27 17:35 ` Andrew Cagney
2004-10-27 17:40 ` Daniel Jacobowitz
2004-10-28 0:52 ` Felix Lee
2004-10-29 15:22 ` Andrew Cagney
2004-10-29 15:36 ` Daniel Jacobowitz
2004-10-29 22:07 ` Felix Lee
2004-10-30 0:02 ` Andrew Cagney
2004-10-30 3:28 ` Felix Lee [this message]
2004-11-01 4:38 ` Felix Lee
2004-11-01 16:04 ` Andrew Cagney
2004-11-01 16:13 ` Daniel Jacobowitz
2004-11-05 8:51 ` Felix Lee
2006-10-04 20:43 ` [patch] Pushing Inferior Function Arguments onto Stack on PowerPC64 machines David Edelsohn
2006-10-04 20:52 ` Daniel Jacobowitz
2005-08-15 13:37 Procedure for large drop? Paul Hilfinger
2005-08-15 14:15 ` Daniel Jacobowitz
2005-08-15 21:50 ` Paul Hilfinger
2005-08-16 2:36 ` Jason Molenda
2005-08-20 22:15 ` Paul Hilfinger
2005-08-22 19:00 ` Daniel Jacobowitz
2006-10-04 19:00 [patch] Pushing Inferior Function Arguments onto Stack on PowerPC64 machines janani
2006-10-04 19:11 ` Daniel Jacobowitz
2006-10-04 19:14 ` Daniel Jacobowitz
2006-10-04 20:19 ` Mark Kettenis
2006-10-04 20:27 ` Andreas Schwab
[not found] ` <OFE88464A1.C58B072A-ON872571FD.006ABA69-862571FD.006C7CFB@us.ibm.com>
2006-10-04 20:26 ` Daniel Jacobowitz
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=20041030032828.DB2D2501085@stray.canids \
--to=felix.1@canids.net \
--cc=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.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