From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,5ddfbe7d072d5c76,start X-Google-Attributes: gid10d4db,public From: "Harvey J. Stein" Subject: f2c-stabs - eases debugging of f2c compiled Fortran. Date: 1996/04/02 Message-ID: #1/1 X-Deja-AN: 145488219 x-original-date: Tue, 2 Apr 1996 15:24:31 +0200 followup-to: comp.os.linux.development.apps content-type: text/plain; charset=ISO-8859-1 organization: ? mime-version: 1.0 newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Title: f2c-stabs - f2c support for gdb via emacs Version: 0.9 Alpha (first release) Entered-date: 31MAR96 Description: f2c does name mangling, auto array referencing, pointer passing, and parameter realization when compiling Fortran code to C code. This makes debugging f2c code from within gdb very difficult. This package, when used in conjunction with running gdb from within emacs, solves alot of this problem. It allows emacs to take fortran expressions, convert them to the f2c mangled version, and pass them to gdb for evaluation. For example, if one has: REAL FOO(2:3,1:2) common /BAR_NONE/ FOO one can do C-cC-v FOO(3,2) in emacs to get the value of FOO(3,2). Emacs will automatically translate this to bar_none__.foo[4], and pass it to gdb for evaluation. This package include the above emacs elisp code, a fortran parser, and other miscellaneous utilities. With additional work, it would be suitable as a workaround for any language/debugger combination where the debugger doesn't quite understand the language. Keywords: f2c, symbol tables, gdb, fortran, debug Author: abel@netvision.net.il (Harvey J. Stein) hjstein@netvision.net.il (Harvey J. Stein) Primary-site: sunsite.unc.edu /pub/Linux/devel/lang/fortran 35kb f2c-stabs-0.9.tar.gz 2kb f2c-stabs-0.9.lsm (currently in /pub/Linux/Incoming) -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMWFyK4QRll5MupLRAQEw8gP/XR+1wBar4uvMkQb8kaSg1NGRdIyiKXIO CZzkvX+Kl6JZiBt0S01d6NORNNWeMU7pRxWNQsnZVNRPuKpMmKuMkUpWzImARr0p ubd2prTW4mSS69BLUJRrLaI3ra3meCqajC28R76aymfRilplbkxEVB5p499vctdb n5jFMq+g2Vs= =FHan -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.