This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]