🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Smith Fri, 04 Aug 1989 00:17
Fortran problem with 3.2
#226
Author: Chris Smith
Date: Fri, 04 Aug 1989 00:17
20 lines
992 bytes
The problem where Fortran causes gdb to say

gdb: Internal error: Unexpected debugging symbol type 't' at symnum -2147269732.

is due to Fortran's using N_GSYM for typedefs.  Here's a fix, in dbxread.c
function read_dbx_symtab, at around line 2307:
 
	    case 'G':
	      ADD_PSYMBOL_TO_LIST (namestring, p - namestring,
				   VAR_NAMESPACE, LOC_EXTERNAL,
				   global_psymbols, bufp->n_value);
	      continue;
+
+	    /* Fortran puts out N_GSYM typedefs.  Ignore them here. */
+	    case 't':
+	      continue;
+
	      /* I don't think the default case should happen.  A breakpoint
		 here to check would probably be good.  */
	    default:
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