Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Pierre Muller
Subject: Debugging GPC compiled code with GDB
Date: 16 Jun 2000, 17:43:29
> the program stops at the end of the main code, which is rather odd!
Whoops, it seems that this was due to a problem of wrong linker or gcc
version
recompiling from djgpp bin dir gives something a little bit better :
the main break works and the program is indeed stopped before
the main procedure but nevertheless main
has no line info and thus
"next" command will go right to the end !
Couldn't the startup code be integerate at begin of
the main code directly ?
This way "next command would stop at the begin
of the line
s1:='It';
> program test_gpc(input,output);
>type
> string32 = string[32];
>var
>s1, s2 : string32;
>begin
> s1:='It ';
> s2:=s1+'works';
> Writeln('It works');
> Writeln(s2);
>end.
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).