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] |
This is a patch that we have had in our tree for quite a while, but somehow forgot to contribute. The issues that this patch fixes were discovered while investigating another problem, and unfortunately we forgot to create a testcase for these side issues :-(, so I don't have an example that shows the difference. The gist of the patch is: - Remove some strange treatment of expect_type that we couldn't understand and eventually causes some problems; - Return the correct type if expect_type is not NULL. 2008-09-30 Joel Brobecker <brobecker@adacore.com> * ada-lang.c (ada_evaluate_subexp) [UNOP_IND]: Remove strange treatment of expect_type. Return the correct type when dereferencing an integer. Tested on x86-linux, no regression. -- Joel
Attachment:
unop_ind.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |