🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by bobw Wed, 15 Apr 1992 21:32
gcc error when using dbx
#433
Author: bobw
Date: Wed, 15 Apr 1992 21:32
32 lines
1366 bytes
We just compiled gcc version 2.1 on a SUN SPARC 1+ computer and noticed the
folowing problem when using dbx:

% dbx trans
Reading symbolic information...
dbx: internal error: unexpected value 38 at line 2620 in file ../common/object.c
%
The program will debug ok with gdb.
The program follows:

/* #define MAX 80  */
const int MAX = 80; 

main ( )
{
  char from[MAX];

} /* main */

An extremely simple program. If the define is uncommented and the const
commented the dbx is ok. Is this a problem with dbx or with gcc?
We use dbx instead of gdb because dbx allows strings to be printed during
debugging.

-- 
===============================================================================
Bob Wood    WA7MXZ                      bobw@cc.usu.edu
Utah State University                   bobw@usu.bitnet
Computer Science			tel. (801) 750-3205
UMC 4205				fax. (801) 750-3265
Logan, Utah  84322-4205
===============================================================================
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