Milad Esrafilian
Milad Esrafilian

Reputation: 173

Disable GDB default skip prologue for setting breakpoint

I'm currently using gdb v12.1. It appears that it is the default behavior of gdb to skip over function prologue when setting a breakpoint.

In the pas I have use break *f instead of break f to set the breakpoint before the function prologue. However now I want to use rbreak and give a regex pattern and it seems the previous solution is no longer useful.

Is there a way to do the same with rbreak or disable this behavior entirely in gdb?

Upvotes: 0

Views: 27

Answers (0)

Related Questions