This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: add dwarf2 debug pseudo for AVR


On Tue, 27 Oct 2009, Tristan Gingold wrote:
> I can't find any good reason for not having dwarf2 debug pseudos on AVR.


> --- gas/config/tc-avr.c	27 Oct 2009 14:48:01 -0000
> ***************
> *** 241,246 ****
> --- 241,249 ----
>   const pseudo_typeS md_pseudo_table[] =

No need, they're already in gas/config/obj-elf.c.
If that doesn't work for you, why?

>   {
>     {"arch", avr_set_arch,	0},
> +   {"file", (void (*) (int)) dwarf2_directive_file, 0},

Anyway, why the cast?  It already has this signature.

brgds, H-P


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