Patch: add dwarf2 debug pseudo for AVR

Hans-Peter Nilsson hp@bitrange.com
Tue Oct 27 17:19:00 GMT 2009


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



More information about the Binutils mailing list