From: Hafiz Abid Qadeer Date: Wed, 13 Feb 2013 10:41:11 +0000 (+0000) Subject: 2013-02-13 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a016fc87ebad51788218c2efb2790deede24758e;p=binutils-gdb.git 2013-02-13 Pedro Alves Hafiz Abid Qadeer * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ad0ed749fa5..f177fa3e6d7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-02-13 Pedro Alves + Hafiz Abid Qadeer + + * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. + 2013-02-12 Tom Tromey PR symtab/11464: diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 3a7d6f18d9c..91cb21ecd2e 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -732,6 +732,7 @@ const struct op_print c_op_print_tab[] = {"/", BINOP_DIV, PREC_MUL, 0}, {"%", BINOP_REM, PREC_MUL, 0}, {"@", BINOP_REPEAT, PREC_REPEAT, 0}, + {"+", UNOP_PLUS, PREC_PREFIX, 0}, {"-", UNOP_NEG, PREC_PREFIX, 0}, {"!", UNOP_LOGICAL_NOT, PREC_PREFIX, 0}, {"~", UNOP_COMPLEMENT, PREC_PREFIX, 0},