aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_select.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-10-13 19:40:50 +0100
committerPedro Alves <palves@redhat.com>2015-10-13 19:40:50 +0100
commit170742de5dd5be2156f938e00e2451526ef57d5c (patch)
tree724d67ab6251af91e7f1e276fecd249b389f1450 /gdb/gdb_select.h
parentbfb1c7963b15b31073c9adf2d97ff1cf953ec99c (diff)
downloadgdb-170742de5dd5be2156f938e00e2451526ef57d5c.zip
gdb-170742de5dd5be2156f938e00e2451526ef57d5c.tar.gz
gdb-170742de5dd5be2156f938e00e2451526ef57d5c.tar.bz2
Fix execution_direction's type
This fixes a few build errors like these in C++ mode: src/gdb/reverse.c: In function ‘void exec_reverse_once(char*, char*, int)’: src/gdb/reverse.c:49:34: error: invalid conversion from ‘int’ to ‘exec_direction_kind’ [-fpermissive] enum exec_direction_kind dir = execution_direction; ^ make: *** [reverse.o] Error 1 gdb/ChangeLog: 2015-10-13 Pedro Alves <palves@redhat.com> * infrun.c (restore_execution_direction): New function. (fetch_inferior_event): Use it instead of make_cleanup_restore_integer. (execution_direction): Change type to enum exec_direction_kind. * infrun.h (execution_direction): Likewise.
Diffstat (limited to 'gdb/gdb_select.h')
0 files changed, 0 insertions, 0 deletions