Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-10

Re: RTL debugging

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

md

Hello Marco:

You "Huh?" response sounds like you need further clarification.

Imagine compiling the following program:

program test ;
uses sysutils ;
var
 test : string ;
begin
 test := 'What am I doing' ;
 test := strleft(test,3) ;
end;

Now, in gdb, I would like to step down into sysutils.strleft( ) and check out its code as it processes the function call.

Currently, the RTL is not compiled with debug information to allow for stepping into the RTL.

I am looking for a expeditious way to allow this to happen. Notice my uses clause did not say, re-compile
the sysutils unit, just that it wants to link in the function. That linked code should have debugging information
already in it from a makefile I processed earlier.

Make sense now?

Thanks,

Mark

Marco van de Voort wrote 10 lines
[Charset iso-8859-15 unsupported, skipping...] [Charset iso-8859-15 unsupported, skipping...] Huh? _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email