tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: DDD + ladebug (plus gdb and DEC FORTRAN)
@ 1997-07-11 14:35 jebroderick
  0 siblings, 0 replies; only message in thread
From: jebroderick @ 1997-07-11 14:35 UTC (permalink / raw)
  To: tru64-unix-managers

     Well, I only got one response, saying that ddd works fine with gdb on
     Digital Unix.  Thanks to Kazuro FURUKAWA <kazuro.furukawa@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@ccgate.hac.com
     

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-11 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-11 14:35 Summary: DDD + ladebug (plus gdb and DEC FORTRAN) jebroderick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox