This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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]

Re: [Patch] Fix debug/17406


Richard Henderson wrote:
> On Thu, Oct 28, 2004 at 10:24:41AM +1300, Danny Smith wrote:
>> I confess that I do not quite understand all the rules in
>> dwarf2out_frame_debug_expr, but setting cfa_temp.reg to EAX here
>> seems wrong, Simply removing the flag from this instruction (as
>> suggested by the Big Picture comment in dwarf2out.c) fixes the later
>> assert failure when restoring EAX and saving to stack
> 
> I can't believe this is correct.  Otherwise the dwarf2 bits do not,
> while processing the allocate_stack_worker insn, have the size of
> the allocated stack.
> 
> I tried to reproduce this myself but got
> 
> z.c:1: error: target system does not support the "dwarf-2" debug
> format 
> 
> What is going on with this?
> 
> 
Dwarf2 support requires a newish assembler, which turns on 
 HAVE_GAS_PE_SECREL32_RELOC in configure.test

The BFD support was added in April 2004. (BFD  2.15.91)

Danny


> r~



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