This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/18074] crash using "info frame"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]