This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18074] crash using "info frame"
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 19 Mar 2015 13:18:42 +0000
- Subject: [Bug gdb/18074] crash using "info frame"
- Auto-submitted: auto-generated
- References: <bug-18074-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18074
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to An-jie Yang from comment #3)
> After I patch it, I tried to type "info frame" with wrong number and correct
> number,it work normally and does not crash.
>
> But I don't know would there have any effects ?
Yeah, "frame" and "info frame" are defined to let you pass in
an address and then see what would happen if there were a frame there.
This is sometimes handy for debugging when the stack is partially
trashed or when there is some other problem unwinding.
It would be good, IMO, to require a separate syntax for this
(see comment #1); but removing it entirely would be a loss.
--
You are receiving this mail because:
You are on the CC list for the bug.