Well, I only got one response, saying that ddd works fine with gdb on
Digital Unix. Thanks to Kazuro FURUKAWA <kazuro.furukawa_at_kek.jp>.
Personally, I compiled ddd and ran it with gdb, dbx and ladebug.
My results (on DU 3.2C):
(*) Compiles great
(*) Works great with gdb (except the edit breakpoints dialog, which
trashes the text widgets)
(*) Reduced features with dbx.
(*) Runs ladebug, but most dbx features don't work.
Based on my results, it will probably be easier to add DEC FORTRAN
support to (a future, more FORTRAN friendly, release of) gdb than to
add full support for ladebug to ddd.
For anyone who is curious, the following workarounds allow you to
debug DEC FORTRAN with gdb:
(*) apply the alpha patch to gdb 4.15.1 before compiling it
gdb 4.16 supposedly doesn't need this, but I haven't tried it.
(*) before doing anything in gdb:
(gdb) set language c
(*) to break in fortran subroutine or entry MYSUB:
(gdb) break mysub_
(*) to print local fortran variable MYLOCAL
(gdb) print MYLOCAL
(*) to print common variable MYGLOBAL in common block MYCMN,
(gdb) print mycmn_.MYGLOBAL
My original post:
The question:
Does anyone have success or sob stories using DDD with ladebug? I'll
probably give it a try soon, and any pointers are appreciated. Will
summarize.
The background:
DDD is a Motif/Lesstif front end to either gdb or dbx. I tried it
with gdb last night on Intel Linux, and its pretty darn good.
Considering the similarities btwn dbx and ladebug, I thought it might
be possible to set it up for ladebug, which works better on one of our
programs than dbx does. The ddd home page is:
http://www.cs.tu-bs.de/softech/ddd
TIA,
Jim Broderick
Hughes Missile Systems Co.
jebroderick_at_ccgate.hac.com
Received on Sat Jul 12 1997 - 00:01:26 NZST