Sign in Join

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

Mailing lists / fpc-devel / 2010-11

Pascal name mangling

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Felipe Monteiro de Carvalho

Hello,

I have this procedure:

function errorHandler(d: PDisplay; e: PXErrorEvent): cint; cdecl;

And I would like to set a break-point in it in GDB. Any ideas how to do that?

break errorHandler says that it can't find the procedure ...

thanks,

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 7 lines
I have this procedure: function errorHandler(d: PDisplay; e: PXErrorEvent): cint; cdecl; And I would like to set a break-point in it in GDB. Any ideas how to do that? break errorHandler says that it can't find the procedure ...

Uppercase it: break ERRORHANDLER. Another handy command under some circumstances is "rbreak ERRORHANDLER" (this will match every symbol containing "ERRORHANDLER").

In general, it's best to use file:line_number though.

Jonas

Reply by email