Mail Archives: djgpp/2001/06/05/14:15:07
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 -