public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/20385] Executing "info frame" with non-existing frame number crashes gdb
       [not found] <bug-20385-4717@http.sourceware.org/bugzilla/>
@ 2020-04-10 14:44 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: ssbssa at sourceware dot org @ 2020-04-10 14:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=20385

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.3
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |ssbssa at sourceware dot org

--- Comment #4 from Hannes Domani <ssbssa at sourceware dot org> ---
This does no longer crash since 8.0:

(gdb) info frame 2
Stack frame at 0x2:
 rip = 0x0; saved rip = <not saved>
 Outermost frame: previous frame identical to this frame (corrupt stack?)
 Arglist at 0x22ff50, args:
 Locals at 0x22ff50, Previous frame's sp is 0x0

And since 8.3, it even has a nice error message:

(gdb) info frame 1
No frame at level 1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-10 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20385-4717@http.sourceware.org/bugzilla/>
2020-04-10 14:44 ` [Bug mi/20385] Executing "info frame" with non-existing frame number crashes gdb ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).