Article View: comp.lang.modula2
Article #5083gdb/gcc with Sun and/or EPC modula-2
From: Yoshio Turner
Date: Sat, 12 Jun 1993 00:22
Date: Sat, 12 Jun 1993 00:22
22 lines
1728 bytes
1728 bytes
The documentation for the Gnu debugger gdb claims it can be used to debug modula-2 programs, but I've been unable to use it for source-level debugging of programs compiled by Sun's Modula-2 compiler under SunOS 4.1.x (dbx works fine w/ such programs). I'd greatly appreciate any ideas on how this might be made to work. Even better, has anyone used gdb under Solaris 2.x to debug programs with embedded DWARF-format debug info, such as the binaries produced by EPC's modula-2 compiler? Ultimately, it would be wonderful if it were possible to use gdb to debug mixed-language programs linking a bunch of .o files, some generated from .c files by gcc (configured somehow for DWARF output) and the remainder generated from .mod files from EPC's modula-2 compiler (which has DWARF output only). I suppose it would be ok if I could use EPC's debugger to debug such mixed-language programs as well; anyone know about that? Yoshio Turner yoshio@cs.ucla.edu
Technical Details
Message-ID:
<1993Jun12.002257.19388@cs.ucla.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!news-feed-1.peachnet.edu!concert!rutgers!ucla-cs!maui.cs.ucla.edu!yoshioShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ce63597edbb71a37,start X-Google-Attributes: gid11318c,public X-Google-Thread: f8c65,ce63597edbb71a37,start X-Google-Attributes: gidf8c65,public X-Google-ArrivalTime: 1993-06-11 18:36:30 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!news-feed-1.peachnet.edu!concert!rutgers!ucla-cs!maui.cs.ucla.edu!yoshio From: yoshio@maui.cs.ucla.edu (Yoshio Turner) Newsgroups: comp.lang.modula2,gnu.gcc.help Subject: gdb/gcc with Sun and/or EPC modula-2 Message-ID: <1993Jun12.002257.19388@cs.ucla.edu> Date: 12 Jun 93 00:22:57 GMT Sender: usenet@cs.ucla.edu (Mr Usenet) Organization: UCLA, Computer Science Department Lines: 22 Nntp-Posting-Host: maui.cs.ucla.edu