This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [3/3] RFC - optional patch to restore DW_AT_data_member_location
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 12 Sep 2012 08:25:52 -0600
- Subject: Re: [3/3] RFC - optional patch to restore DW_AT_data_member_location
- References: <87628cfbg2.fsf@fleche.redhat.com> <20120826081205.GB29056@host2.jankratochvil.net> <87zk4w6zys.fsf@fleche.redhat.com> <20120912132520.GA2130@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> I see I did not make clear why I like the reproducibility of the
Jan> compilation. This is because sometimes it is good to know what was
Jan> hand-edited in the file and I find a bit excessive to keep both the
Jan> original and the hand-edited .S files in the repository due to it.
Jan> This is why I sometimes did #if 0-#else-#endif or #if 0-#endif-#if
Jan> 1-#endif constructs in the .S files (I see it now only in
Jan> gdb.dwarf2/dw2-const.S).
Ok.
Jan> I sure do not insist on anything like that, just FYI.
I'll at least add some comments to the .S.
I suppose this is another way that having a DWARF assembler would be
preferable.
Tom