This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb OpenMP
- From: Daniel Jacobowitz <drow at false dot org>
- To: burlen <burlen at apollo dot sr dot unh dot edu>
- Cc: gdb at sourceware dot org
- Date: Mon, 7 Jan 2008 13:25:32 -0500
- Subject: Re: gdb OpenMP
- References: <47826F0B.90806@apollo.sr.unh.edu>
On Mon, Jan 07, 2008 at 01:27:23PM -0500, burlen wrote:
> Hi, I just started to use open MP. My code(c++ previously serial tested
> and debugged) crashes when I use openMp, so I open up in gdb. I set break
> point as usual and gdb stops there, however when I try to print any
> variables I get message:
>
> No symbol ... in current context.
>
> So I wonder if there is anything specific that needs to be done when
> debugging OpenMP codes with gdb?
The GNU OpenMP implementation has not been tested much with GDB. I
suspect it does not produce good debug information.
--
Daniel Jacobowitz
CodeSourcery