summaryrefslogtreecommitdiff
path: root/gdb/expression.h
Commit message (Collapse)AuthorAgeFilesLines
* * expression.h (exp_opcode): Add BINOP_MOD.Fred Fish1993-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | * eval.c (evaluate_subexp): Handle new BINOP_MOD. * expprint.c (dump_expression): Handle new BINOP_MOD. * language.c (binop_type_check): Handle new BINOP_MOD. * main.c (float_handler): Re-enable float handler when hit. * valarith.c (language.h): Include, need current_language. * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro for integer divide truncates towards zero for negative results. * valarith.c (value_x_binop): Handle BINOP_MOD if seen. * valarith.c (value_binop): Allow arithmetic operations on TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD. **** start-sanitize-chill **** * ch-exp.y (operand_4): Add useful actions for MOD and REM. * ch-exp.y (tokentab3): Add MOD and REM. * ch-exp.y (yylex): Set innermost_block for symbols found in local scopes. Return LOCATION_NAME for local symbols. * ch-lang.c (chill_op_print_tab): Fix MOD entry to use BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM. **** end-sanitize-chill ****
* * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.Fred Fish1993-01-021-13/+32
| | | | | | | | | | | | | | | | | | | | | | | * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT. * expprint.c (dump_expression): New function for dumping expression vectors during gdb debugging. * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to MULTI_SUBSCRIPT and moved out of BINOP range. * expression.h (DUMP_EXPRESSION): New macro that calls dump_expression if DEBUG_EXPRESSIONS is defined. * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT. * parse.c (length_of_subexp, prefixify_subexp): Change BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT. * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after prefixify'ing the expression. * printcmd.c (print_command_1): Add comment. **** start-sanitize-chill **** * ch-exp.y (expression_list): Add useful actions. * ch-exp.y (value_array_element): Add useful actions. * ch-exp.y (array_primitive_value): Add production. * ch-exp.y (yylex): Recognize ',' as a token. **** end-sanitize-chill ****
* A ton of changes to improve C++ debugging. See ChangeLog.Per Bothner1992-09-041-14/+68
|
* Initial revisionK. Richard Pixley1991-03-281-0/+200
|
* Initial revisionJohn Gilmore1990-09-051-191/+0
|
* gdb-3.3gdb-3.32012-06-031-18/+17
|
* gdb-3.1gdb-3.12012-06-031-1/+1
|
* gdb-2.8.1gdb-2.8.12012-06-031-0/+25
|
* gdb-2.8gdb-2.82012-06-031-25/+0
|
* gdb-2.5.2gdb-2.5.22012-06-031-0/+2
|
* gdb-2.5.1gdb-2.5.12012-06-031-0/+23
|
* gdb-2.4+.aux.coffgdb-2.4+.aux.coff2012-06-031-0/+167