[fpc-devel] [RFC] Add OPDF — Object Pascal Debug Format (-gO flag)

mailinglists at geldenhuys.co.uk mailinglists at geldenhuys.co.uk
Wed Apr 1 17:19:47 CEST 2026


On 2026-03-02 22:59, Graeme Geldenhuys via fpc-devel wrote:
> 
> I'd like to propose adding a new, optional debug information format to
> FPC called OPDF (Object Pascal Debug Format). This is not a
> replacement for DWARF — it is an additional debug format that can be
> selected with the new -gO compiler flag, similar to how -gw selects
> DWARF.


In case it helps the review process, I've created a Merge Request in
Free Pascal's official GitLab repo:

   https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/1409


As I mentioned before, I welcome any feedback on the approach, the 
compiler
integration, or the format design. Happy to answer questions.

Regards,
   Graeme


More information about the fpc-devel mailing list