[PATCH] Fix PR middle-end/17813

Laurent GUERBY laurent@guerby.net
Mon Oct 18 21:17:00 GMT 2004


On Mon, 2004-10-18 at 22:39, Eric Botcazou wrote:
> > But that doesn't need an Ada-aware debugger!  I use that all the time
> > with non-Ada-aware debuggers.  Just do
> >
> > define pn
> > set pn($)
> > end
> 
> I obviously missed something.  So the debug functions are exposed by the 
> front-end through a C interface?  More generally, is a non-Ada-aware debugger 
> sufficient to debug the Ada part of the front-end?

See ada/treepr.ads and ada/sprint.ads for more documentation, the "pX"
function are pragma Exported so they're callable from gdb even if not
Ada aware.

Laurent



More information about the Gcc-patches mailing list