www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/05/14:15:07

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gdb error
Date: 5 Jun 2001 18:03:38 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 29
Message-ID: <9fj6tq$gc0$1@nets3.rz.RWTH-Aachen.DE>
References: <slrn9hnp2h DOT 3vv8egp DOT shankara AT shankar DOT littonas DOT com> <9fic2a$p6g$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <2950-Tue05Jun2001205536+0300-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 991764218 16768 137.226.32.75 (5 Jun 2001 18:03:38 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 5 Jun 2001 18:03:38 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>> From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
>> Newsgroups: comp.os.msdos.djgpp
>> Date: 5 Jun 2001 10:25:14 GMT
>> 
>> Shankar Chakkere <shankara AT erols DOT com> wrote:
>> 
>> > ~/develop/cxref/cxref-1.5c > gdb cxref preproc.c
>> 
>> That's not the correct way of starting a gdb session on DJGPP. It used
>> to be that way a *long* time ago (in DJGPP versions1.12 or earlier, if
>> memory serves)

> I don't think it ever was.  The first version of GDB ported to DJGPP
> was not a stand-alone program, so you had to day something like

> 	go32 -d gdb cxref

Yeah, that's the one I'm remembering.

> But there was never a need to mention any source files.

"preproc.c" in this case is not an argument for gdb. It's a command
line argument to be passed to the debuggee, cxref. Cxref is a program
for cross-referencing C sources, so passing a C sourcefile name to it
is a natural thing to do.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019