[lazarus] gdb/step

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 22 18:44:08 EST 2002


On Fri, 22 Feb 2002 22:45:45 +0100
Marc Weustink <marc at dommelstein.net> wrote:

> At 19:17 22/02/2002 +0100, Mattias Gaertner wrote:
> >On Fri, 22 Feb 2002 17:20:52 +0100
> >"Marc Weustink" <Marc.Weustink at cuperus.nl> wrote:
> >
> > > BTW, what does the view - Debugger output  dialog show ?
> >
> ><attach 3717>
> >$0819ca1a in HEAP ()
> ><cont>
> >
> >Program received signal SIGTRAP, Trace/breakpoint trap.
> >$08048080 in _start ()
> ><tbreak main>
> >Breakpoint 1 at $8075286: file pcx2lilo.pas, line 780.
> ><cont>
> >main () at pcx2lilo.pas:780
> >780     begin
> ><info frame>
> >Stack level 0, frame at $bffff9d8:
> >  eip = $8075286 in main (pcx2lilo.pas:780); saved eip $80480b0
> >  source language pascal.
>                    ^^^^^^
> 
> Huh, what version are you running ? Mine doesn't understand pascal.

AFAIK gdb can understand pascal since 5.1. See fpc-pascal list. Mine is:
GNU gdb Red Hat Linux (5.1-1)
gdb-5.1-1


> >It stopped at a breakpoint that has since been deleted.
> >Type "info stack" or "info registers" for more information.
> ><cont>
> >
> >Program exited normally.
> 
> Seems OK to me.

yep. Me too.

 
> ><info frame>
> >No stack.
> ><info program>
> >The program being debugged is not being run.
> ><info program>
> >The program being debugged is not being run.
> ><info frame>
> >No stack.
> ><break /somewhere/pcx2lilo/pcx2lilo.pas:783>
> >No source file named /somewhere/pcx2lilo/pcx2lilo.pas.
> 
> No problem at this point. The program is stopped. The file does excist ?

of course.
It is a single file program, without any special settings. I can send you the source.


Mattias






More information about the Lazarus mailing list