[RFA] Fix printing frame arguments for COFF debug info

Joel Brobecker brobecker@adacore.com
Mon May 25 22:55:00 GMT 2009


> Well, using current_language was the old behavior before your change,
> so my patch is just falling back on that old behavior.

True :).

> > We're trying to recover nicely from the situation in order to be
> > more useful for the user, so getting rid of the error is OK, but I'd
> > probably still emit a complaint.  WDYT?
> 
> How about a warning under verbose operation?  Would that be enough?

Sure. I don't know what the verbose switch would be, but I believe
that complaints provide that kind of functionality - by default,
complaints are turned off, but you can configure GDB to print
the first N complaints emitted.

-- 
Joel



More information about the Gdb-patches mailing list