This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch: add dwarf2 debug pseudo for AVR
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 27 Oct 2009 13:19:45 -0400 (EDT)
- Subject: Re: Patch: add dwarf2 debug pseudo for AVR
- References: <B292468D-A65F-4073-8412-CDFA3CF6267A@adacore.com>
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