🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Rodney Peck II Thu, 06 Jul 1989 19:17
Fortran and gdb
#60
Author: Rodney Peck II
Date: Thu, 06 Jul 1989 19:17
27 lines
1615 bytes
hi there, I just installed gdb and gcc on my sun4 running os4 and I'm trying
to debug some fortran code which calls C routines for sunview interfacing.

Unfortunately, it seems that gdb doesn't know what is going on with Fortran
(not suprising, I don't either).  Whenever I try to reference a symbol which
was defined in the fortran, it says:
"Invalid symbol data: unknown symbol-type code `X' at symtab pos 13."

(here's an example yanked out of a gdb run...)
sun.ipl.rpi.edu% gdb example
GDB 3.1.2, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /home/rodney/suns/pc/icsdist/example...done.
Type "help" for a list of commands.
(gdb) break init
Invalid symbol data: unknown symbol-type code `X' at symtab pos 13.
(gdb) 

  My inexperienced guess is that the symbol-type code `X' is used in
fortran type programs.  Am I right?

  Has anyone written stuff to make GDB work with fortran? (I'm using 3.1.2)

--
Rodney
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads