This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA/dwarf 2/2] Mark all functions as prototyped except C functions.


>>>>> "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


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