[lazarus] CVS Updates

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 30 12:08:59 EDT 2003


On Fri, 30 May 2003 11:25:25 -0500 (CDT)
Jesus Reyes <jesusrmx at yahoo.com.mx> wrote:

> I recently upgraded to Mandrake 9.0,
> do you know if there are problems with gdb "GNU gdb 5.2.1-2mdk

Yes. The pascal support of gdb is getting better with every version. You
should use at least 5.3.


Mattias



> (Mandrake Linux 9.0). 
> 
> Take a look on the following lines (I'm using a recent cvs 1.0.8
> compiler):
> 
> (gdb) p self
> $1 = (^TCUSTOMDBGRID) $8181ac4
> (gdb) p self^
> can't find linker symbol for virtual table for `TCUSTOMDBGRID' value
> (gdb) p self.FRow
> can't find linker symbol for virtual table for `TCUSTOMDBGRID' value
> (gdb) ptype self
> type = ^TCUSTOMDBGRID = class : public TDRAWGRID
>   private
>     FDATALINK : ^TCOMPONENTDATALINK;
>     FKEEPINBUFFER : boolean;
>     FONCOLENTER : TNOTIFYEVENT;
>     FONCOLEXIT : TNOTIFYEVENT;
>     FREADONLY : boolean;
>     FCOLENTERPENDING : boolean;
>     FSELFSCROLL : boolean;
>     FLAYOUTCHANGING : boolean;
>     FVISUALLOCK : boolean;
>     FNUMRECORDS : LONGINT;
> 
>     function  GETDATASOURCE : ^TDATASOURCE;
>     procedure ONRECORDCHANGED (TFIELD);
>     procedure ONDATASETCHANGED (TDATASET);
>     procedure ONDATASETOPEN (TDATASET);
>     procedure ONDATASETCLOSE (TDATASET);
>     procedure ONINVALIDDATASET (TDATASET);
>     procedure ONINVALIDDATASOURCE (TDATASET);
>     procedure ONNEWDATASET (TDATASET);
>     procedure ONDATASETSCROLLED (LONGINT, TDATASET);
>     procedure SETDATASOURCE (TDATASOURCE);
>     procedure UPDATEBUFFERCOUNT;
>     function  DEFAULTFIELDCOLWIDTH (TFIELDTYPE) : LONGINT;
>   protected
>     procedure LINKACTIVE (boolean); virtual;
>     procedure LAYOUTCHANGED; virtual;
>     procedure DRAWBYROWS; virtual;
>     procedure DRAWROW (LONGINT); virtual;
>     procedure DRAWCELL (TGRIDDRAWSTATE, RECT7, ); virtual;
>     procedure MOVESELECTION; virtual;
>     procedure BEFOREMOVESELECTION (LONGINT, LONGINT); virtual;
>     procedure KEYDOWN (TSHIFTSTATE, ORD); virtual;
>     procedure MOUSEDOWN (LONGINT, LONGINT, TSHIFTSTATE,
> TMOUSEBUTTON); virtual;
>     procedure VISUALCHANGE; virtual;
>     procedure WMHSCROLL (TLMSCROLL);
>     procedure WMVSCROLL (TLMSCROLL);
>     procedure UPDATEACTIVE;
>   public
>     constructor CREATE (TCOMPONENT) : ^TCUSTOMDBGRID; virtual;
>     destructor  DESTROY; virtual;
> end
> (gdb)
> 
> Debugging with lazarus IDE, the same message appears: "can't find
> linker symbol for virtual table for `TCUSTOMDBGRID' value" so I can't
> see var's values.
> 
> Under    Run->Compiler Options...->Linking    I checked  
> debugging->generate debugging info for GDB, but its the same result.
> 
> What can I do to get debugging to work?. 
> 
> Thanks.
> 
> _________________________________________________________
> Do You Yahoo!?
> La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.
> http://net.yahoo.com.mx
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives







More information about the Lazarus mailing list