diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/c-lang.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ad0ed74..f177fa3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-02-13 Pedro Alves <palves@redhat.com> + Hafiz Abid Qadeer <abidh@codesourcery.com> + + * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. + 2013-02-12 Tom Tromey <tromey@redhat.com> PR symtab/11464: diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 3a7d6f1..91cb21e 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}, |