--- Begin Message ---
Subject: |
RE: Threads |
Date: |
Thu, 8 Feb 2001 19:12:34 -0500 |
Hi, Andreas
I'm trying to use GDB under DDD on an IBM platform (AIX, OS level 4.3.3.0).
When I try to select my executable with the "file" command, I get "illegal
instruction" and a core dump. My executable was built using the native IBM
compiler (not gcc). Any suggestions? It is OK to use a compiler other than
gcc, right?
I'm trying GDB, rather than DBX, because DDD seems to provide better
inherent support for GDB, especially with threads and signals. Is that true?
I am using version 4.18 of GDB, configured as "powerpc-ibm-aix4.3.3.0."
My application is written in C (not C++). It is a VERY BIG application with
thousands of symbols. The IBM linker warns that it is having to build an
overflow area and "extra instructions" to handle all my symbols. Maybe
that's a clue to the "illegal instruction" message I get when I try to
access my executable.
Thanks for your help.
Tom
-----Original Message-----
From: Andreas Zeller [mailto:andreas.zeller@fmi.uni-passau.de]
Sent: Thursday, July 20, 2000 1:21 AM
To: O'Neal, Tom; O'Neal, Tom
Cc: ddd
Subject: Re: Threads
Hi!
"O'Neal, Tom" <Tom.Oneal@per-se.com> writes:
> Hi, Gnu
>
> Is it really true that DDD doesn't support threads in DBX? We really need
> thread support for our development work.
DDD lets you enter DBX command at will, so you can use arbitrary DBX
commands related to threads.
Whether the GUI supports threads depends on your particular DBX
flavour; DDD 3.2.91 (the latest beta) has some support for Sun DBX
threads.
If you give me a summary of the thread commands supported by your DBX,
including a sample output, I'll be happy to include support in the DDD
`Threads' dialog.
> If DDD doesn't support threads when using DBX, is GDB a viable alternative
> to DBX? Can GDB work with IBM and SUN's own compilers?
AFAIK, GDB works with IBM and Sun compilers; expect a few problems
regarding scoping and C++ demangling, though.
Andreas
--
Andreas Zeller Universitaet Passau
http://www.fmi.uni-passau.de/st/staff/zeller/
------ Message Header Follows ------
Received: from medaphis.com by corpmail.medaphis.com
(PostalUnion/SMTP(tm) v2.2 (Build 22008) for Windows NT(tm))
id AA-2000Jul20.042105.1196.2685604; Thu, 20 Jul 2000 04:21:05 -0400
Received: from mailgw.per-se.com by medaphis.com (8.6.12/8.6.12) with ESMTP
id
EAA04320 for <Tom.Oneal@per-se.com>; Thu, 20 Jul 2000 04:19:22 -0400
Received: from mail.infosun.fmi.uni-passau.de (vivaldi.fmi.uni-passau.de
[132.231.64.49])
by mailgw.per-se.com (8.9.3+Sun/8.9.3) with ESMTP id EAA20823
for <Tom.Oneal@per-se.com>; Thu, 20 Jul 2000 04:19:21 -0400 (EDT)
Received: from keywest.fmi.uni-passau.de (keywest.fmi.uni-passau.de
[132.231.64.83])
by mail.infosun.fmi.uni-passau.de (Postfix) with ESMTP
id DAC9D30C09; Thu, 20 Jul 2000 09:56:44 +0200 (MET DST)
Received: (from andreas@localhost)
by keywest.fmi.uni-passau.de (8.9.3/8.8.7) id JAA04123;
Thu, 20 Jul 2000 09:56:44 +0200
X-Authentication-Warning: keywest.fmi.uni-passau.de: andreas set sender to
andreas.zeller@fmi.uni-passau.de using -f
Sender: andreas@infosun.fmi.uni-passau.de
To: "O'Neal, Tom" <Tom.Oneal@per-se.com>
Cc: ddd@gnu.org
Subject: Re: Threads
References:
<A2089FEA0EFBD3119B2A00D0B73EC2BA01A1EB5B@exchcorp.corp.medaphis.com>
From: Andreas Zeller <andreas.zeller@fmi.uni-passau.de>
Date: 20 Jul 2000 09:56:44 +0200
In-Reply-To: "O'Neal, Tom"'s message of "Wed, 19 Jul 2000 14:33:14 -0400"
Message-ID: <d8in1jdb5fn.fsf@keywest.fmi.uni-passau.de>
Lines: 31
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
--- End Message ---