Issue
I can set breakpoint like
b some_function
But hiw can I put a breakpoint in offset 0x10 of this function
b some_function +0x10
Or b (some_function +0x10)
Doesn't work
Solution
(gdb) p &foo
$1 = (<text variable, no debug info> *) 0x555555555129 <foo>
(gdb) b *foo+0x10
Breakpoint 2 at 0x555555555139
QED.
Answered By - Employed Russian Answer Checked By - Clifford M. (WPSolving Volunteer)