diff options
author | Pedro Alves <palves@redhat.com> | 2015-10-13 19:40:50 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-10-13 19:40:50 +0100 |
commit | 170742de5dd5be2156f938e00e2451526ef57d5c (patch) | |
tree | 724d67ab6251af91e7f1e276fecd249b389f1450 /gdb/nat/mips-linux-watch.c | |
parent | bfb1c7963b15b31073c9adf2d97ff1cf953ec99c (diff) | |
download | gdb-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/nat/mips-linux-watch.c')
0 files changed, 0 insertions, 0 deletions