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] |
Humpf, just as I ported the new command to our tree and added an Ada testcase for it, I discovered that Ada arrays were still printed when frame-arguments was set to "scalars". This is because the array was passed by reference. This patch handles this case. 2007-11-09 Joel Brobecker <brobecker@adacore.com> * stack.c (print_this_frame_argument_p): Handle arguments passed by reference properly. Tested on x86-linux, no regression. Checked in. An Ada testcase should follow shortly, as I wasn't able to reproduce the same problem with C. -- Joel
Attachment:
ref-args.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |