diff options
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2013-02-13 10:41:11 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2013-02-13 10:41:11 +0000 |
commit | a016fc87ebad51788218c2efb2790deede24758e (patch) | |
tree | 6cca9f7d6e5de7024985e47a7ce245fb8027dfc7 /gdb/c-lang.c | |
parent | d63f4e6dff7e13120d6f8a8c7fd2df5e02fe5eb0 (diff) | |
download | gdb-a016fc87ebad51788218c2efb2790deede24758e.zip gdb-a016fc87ebad51788218c2efb2790deede24758e.tar.gz gdb-a016fc87ebad51788218c2efb2790deede24758e.tar.bz2 |
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.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 1 |
1 files changed, 1 insertions, 0 deletions
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}, |