aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-08-21 23:59:33 +0100
committerPedro Alves <palves@redhat.com>2015-08-21 23:59:33 +0100
commit99b0bb12cdb22489b403df6afe992b81bebbd9ec (patch)
tree2ca4080a8d37b506df1e31a019aa0ee82fba74ce /bfd
parentf8904751117dc8d4d04e5c5286b71b854e6ebba5 (diff)
downloadgdb-99b0bb12cdb22489b403df6afe992b81bebbd9ec.zip
gdb-99b0bb12cdb22489b403df6afe992b81bebbd9ec.tar.gz
gdb-99b0bb12cdb22489b403df6afe992b81bebbd9ec.tar.bz2
Fix ax.c:gdb_eval_agent_expr
In C++ mode: src/gdb/gdbserver/ax.c: In function ‘eval_result_type gdb_eval_agent_expr(eval_agent_expr_context*, agent_expr*, ULONGEST*)’: src/gdb/gdbserver/ax.c:1335:11: error: invalid conversion from ‘int’ to ‘eval_result_type’ [-fpermissive] return 1; ^ "1" as an enum eval_result_type is expr_eval_empty_expression, but clearly this wants to return expr_eval_unhandled_opcode. gdb/gdbserver/ChangeLog: 2015-08-21 Pedro Alves <palves@redhat.com> * ax.c (gdb_eval_agent_expr): Return expr_eval_unhandled_opcode instead of literal 1.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions