Jibo_Libin
Jibo_Libin

Reputation: 119

GDB backtrace and then jump to?

I'm still on my way learning GDB. I used backtrace to find the workflow of a thread and I really wish I can jump to a certain function in the backtrace and print some variable information there. Is there a way to do that? Hope what I asked makes sense.

Upvotes: 2

Views: 1198

Answers (1)

Jibo_Libin
Jibo_Libin

Reputation: 119

To access a certain function, just type frame # where # is the number of the function in the backtrace.

Upvotes: 1

Related Questions