ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can ddd show gdb version number? How does ddd set gdb multi-thread?


From: John Roberts
Subject: Can ddd show gdb version number? How does ddd set gdb multi-thread?
Date: Mon, 13 Jan 2003 17:10:30 -0800 (PST)

Hi,

I'm using ddd 3.2.1 (i386-redhat-linux-gnu) under RedHat 7.2 Linux
on my Pentium IV system.  I'm having a problem running the 02r1
version of gdb (5.2.1).

(1)  Is there a command I can type in the command window to get
     gdb to echo its version?  I want to make sure ddd is running
     the right version of gdb.
     
(2)  When I run gdb stand-alone on my multithreaded application,
     no problem.  But when I try using ddd, I get the following:
---------------------------------------------------------------------------
GNU DDD 3.2.1 (i386-redhat-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2000 Universität Passau, Germany.
(gdb) break main
Breakpoint 1 at 0x808700b: file server.C, line 43.
(gdb) run
Starting program: /export/home/v/ServerApps/src/server/.vserver_g 

Breakpoint 1, main (argc=1, argv=0xbffff44c) at server.C:43
(gdb) cont
Continuing.

Program received signal SIG32, Real-time event 32.
0x463dd8a5 in ?? () from /lib/i686/libc.so.6
(gdb) where
#0  0x463dd8a5 in ?? () from /lib/i686/libc.so.6
#1  0x463650d9 in ?? () from /lib/i686/libpthread.so.0
#2  0x463652ab in ?? () from /lib/i686/libpthread.so.0
#3  0x45d86b69 in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#4  0x45f11aae in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#5  0x45d7e26b in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#6  0x45d7e321 in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#7  0x45d28f4c in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#8  0x45d326f2 in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#9  0x45d31aea in ?? () from /ims/core/release/linux/X3_01N/lib/libCoreS_g.so
#10 0x080872f5 in main (argc=1, argv=0xbffff44c) at server.C:57
(gdb) 
-----------------------------------------------------------------------

It looks to me like ddd is somehow running gdb in a single-threaded
manner for my multi-threaded app.  What is controlling this
in ddd?  Is there something in my environment?

(Curiously if I run ddd on gdb, then use "run my_app" to run my
application from the command window, ddd/gdb seem to behave
correctly with respect to threads.)

Any advice/hints?


Thanks!


John Roberts
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]