🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53446

Re: GCC/GDB Debugging Information

#53446
From: Kevin Rodgers
Date: Wed, 29 Jan 1992 20:11
23 lines
1837 bytes
In article <7637@fuhainf.fernuni-hagen.de> seelbach@lorien.fernuni-hagen.de (Wolfgang Seelbach) writes:
>We use SunOS 4.1 (Sparc) and gcc (1.40). If you want to use dbxtool (dbx),
>you have to change and recompile gcc.c: in function "process_command(argc, argv)"
>all "input-file-names (infiles[..])" and "output-file-names (-o <..>)" should be
>extended to full path names via the "realpath" system call (for output-files
>the error ENOENT has to be ignored). Without this modification, the debugger will
>not be able to find the sources if your current working directory does not
>contain the source files of the program to debug.

From the manual page for dbx(tool) on our SunOS 4.1.1 server:

>OPTIONS
>
>-I dir		Add dir to the list of directories in which to search
>		for a source file.  dbx normally searches the current
>		directory, and the directory where objfile is located.
>		The directory search path can be reset with the use
>		command.
-- 
Kevin Rodgers				kevin@crowded-house.den.mmc.com
Martin Marietta MS A16401		(303) 790-3971
116 Inverness Dr. East
Englewood CO 80112 USA
Technical Details
Message-ID: <1992Jan29.201102.4821@colorado.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!tigger!krodgers
References: <knklhfINNilr@agate.berkeley.edu> <7637@fuhainf.fernuni-hagen.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e5843ad496dbb2cf
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-01-29 12:28:21 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!tigger!krodgers
From: krodgers@tigger.Colorado.EDU (Kevin Rodgers)
Subject: Re: GCC/GDB Debugging Information
Message-ID: <1992Jan29.201102.4821@colorado.edu>
Keywords: debugg, stab
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: tigger.cs.colorado.edu
Reply-To: kevin@crowded-house.den.mmc.com
Organization: Martin Marietta Information Systems
References: <knklhfINNilr@agate.berkeley.edu> <7637@fuhainf.fernuni-hagen.de>
Date: Wed, 29 Jan 1992 20:11:02 GMT
Lines: 23