|
Momentics skips to next breakpoint when trying to step into libc function
|
10/18/2024 10:32 AM
post122623
|
Momentics skips to next breakpoint when trying to step into libc function
I am trying to debug an application in Momentics and everything seems to be working fine except for one instance: when I
get to a line containing a function from libc.so such as memcpy and click Step Into. the program continues executing as
if I pressed Resume. If there is a breakpoint somewhere it stops at that breakpoint, otherwise it continues executing
until program end.
I have seen that this might be a problem due to Momentics not being able to load library symbols. However, for libc I
have in my search paths libc.so.5 and libc.so.5.sym
Both have debug symbols, checked with objdump --syms
Momentics automatically loads libc.so.5.sym and the name of library does not correspond with its SONAME, and I thought
this would be issue.
However, I've renamed libc.so.5.sym to libc.so.5 so that SONAME should be ok and I still have the same problem.
Please help me solve this issue, it would be ok even if Momentics just did a Step Over instead of trying to go into the
function when clicking Step Into
|
|
|