GDB caused segmentation fault when stepping into C++ code in shared library
Patrick Zou
patrick_zou@hotmail.com
Tue Jan 23 17:23:00 GMT 2007
Hi,
I have some C++ code in shared library, I used set solib-absoluate-prefix and loaded in those libs at the point where I need to exam the source codes. When I stepped into those codes, (the first one is new an object), GDB complained segmentation fault. The code runs OK without gdb though.
Stepping into C++ in current exe is OK.
I even set a breakpoint in the shared library, but not hit either. Wondering the lib is not mapped correctly. Some of you must have made this work, I believe. Any idea? is the way I compile my codes or some GDB configuration ?
I am using gdb6.3 to remotely debug an embedded system on Arm.
thanks
patrick
_________________________________________________________________
Fixing up the home? Live Search can help.
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=wlmemailtaglinenov06
More information about the Gdb
mailing list