Daniel Jacobowitz - Re: [PATCH] Improve debug info for Ada (4/4) (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

On Sat, Feb 17, 2007 at 08:51:28PM +0100, Eric Botcazou wrote:

Does this mean I can sucker you into making it work at -O0? :-)

So it doesn't work at -O0? ;-) What are the problems?

I don't know - maybe I'm wrong? I was just going by a memory from when it was committed. It does appear to do something at -O0. Specifically, if I turn it on, a breakpoint on the very first instruction of main can print argc / argv. But if I don't, then I get garbage until we reach their frame slots.

If it really works already, I apologize for not raising this issue long ago: I think it should be on by default. Someone will have to measure the size impact for some less trivial code at -O0. If no one else does, I'll try to do this next week.

-- Daniel Jacobowitz CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]