This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB caused segmentation fault when stepping into C++ code in shared library
- From: Patrick Zou <patrick_zou at hotmail dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Tue, 23 Jan 2007 17:23:08 +0000
- Subject: GDB caused segmentation fault when stepping into C++ code in shared library
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