[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging multi-threaded programmes
From: |
Polarina |
Subject: |
Re: Debugging multi-threaded programmes |
Date: |
Mon, 23 Jun 2008 20:16:05 +0000 |
I know little about debugging multi-threaded applications, but I can
suggest you to turn of all optimisations with -O0. That tends to help
with debugging.
On Mon, 2008-06-23 at 21:14 +0100, Aref Taidi wrote:
> Hello everyone,
>
> Is there an extensive use of ddd over gdb for debugging multi-threaded
> applications, or in other words how reliable or easy is it to do this,
> especially for hard real time applications in Linux user space?
>
> I have had a lot of difficulties doing this and I sincerely hope someone can
> help. I am having a range of problems with ddd version 3.3.11 on top of gdb
> version 6.3.0.0-1.122rh. The most annoying problem is local variables not
> known to the gdb - I get "No symbol "fred" in current context" although that
> may be a gdb problem. I have compiled my programme with:
>
> -O2 -g -ggdb -gstabs+
>
> but still no luck! I would be most grateful if someone could help.
>
> Aref
>
>
>
> _______________________________________________
> Ddd mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/ddd