> 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. Hmmm, I am not 100% sure, but some internet searches suggest that this is probably true. Thanks! Attached is the updated patch, just adding language_objc to the condition, and adjusting the comment accordingly. gdb/ChangeLog: * dwarf2read.c (prototyped_function_p): New function. (read_subroutine_type): Use it. gdb/testsuite/ChangeLog: * gdb.ada/float_param: New testcase. Re-tested on x86_64-linux, no regression. -- Joel