This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/dwarf 2/2] Mark all functions as prototyped except C functions.
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 15 May 2013 09:10:57 -0600
- Subject: Re: [RFA/dwarf 2/2] Mark all functions as prototyped except C functions.
- References: <87txm6dhhm dot fsf at fleche dot redhat dot com> <1368623983-10625-1-git-send-email-brobecker at adacore dot com> <1368623983-10625-3-git-send-email-brobecker at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> + /* The DWARF standard implies that the DW_AT_prototyped attribute
Joel> + is only meaninful to C. So assume that non-C functions are
Joel> + always prototyped. */
Joel> + if (cu->language != language_c)
Joel> + return 1;
Can Objective C have un-prototyped functions?
I don't know. But if it can, then it should be checked here.
Tom