readelf/objdump segment size doesn't match symbol table sizes

Nick Clifton nickc@redhat.com
Wed Feb 14 09:49:00 GMT 2007


Hi Hssathya,

> I have a doubt. I want to run a function through debugger. What exactly i
> want to do is i want to point PC (Program counter ) to start of the function
> and then put a break point at the end of the fucntion, so that when i say
> "go" PC should start incrementing form that function and should break when
> it reaches the break point.

If you are using GDB then you can use the "finish" command to execute 
until the end of the current function.  Alternative you can use the "up" 
command to go up one stack level and then the "break" command to set a 
break point in the parent function.

Cheers
   Nick




More information about the Binutils mailing list