Is there a way to list out the assembly code of the current or last instruction at the frame?

Solution Verified - Updated -

Issue

  • In using the gdb debugger, the bt command shows the stack, and by using the f command I can go to a particular frame on the stack. Once I am at a particular frame, is there a way to list out the assembly code of the current or last instruction at the frame?

Environment

Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content