summaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-08-29 11:26:40 +0100
committerPedro Alves <palves@redhat.com>2016-09-07 17:10:32 +0100
commit9a7f4b909df410e4f28576f270dd993b73bcdb51 (patch)
tree05d7c2bc18da3126ad57cfde4c66cbe633de55f9 /gdb/linux-nat.h
parented23ab28663bec93ae6e230aebb2dd64d58d4c43 (diff)
downloadbinutils-gdb-9a7f4b909df410e4f28576f270dd993b73bcdb51.tar.gz
Use bool throughoutusers/palves/cxx-target_ops
Should probably squash?
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 0f3e1586d08..ec3c70bb54b 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -56,7 +56,7 @@ public:
void kill () OVERRIDE;
void mourn_inferior () OVERRIDE;
- int thread_alive (ptid_t ptid) OVERRIDE;
+ bool thread_alive (ptid_t ptid) OVERRIDE;
void update_thread_list () OVERRIDE;
@@ -66,23 +66,23 @@ public:
struct address_space *thread_address_space (ptid_t) OVERRIDE;
- int stopped_by_watchpoint () OVERRIDE;
+ bool stopped_by_watchpoint () OVERRIDE;
- int stopped_data_address (CORE_ADDR *) OVERRIDE;
+ bool stopped_data_address (CORE_ADDR *) OVERRIDE;
- int stopped_by_sw_breakpoint () OVERRIDE;
- int supports_stopped_by_sw_breakpoint () OVERRIDE;
+ bool stopped_by_sw_breakpoint () OVERRIDE;
+ bool supports_stopped_by_sw_breakpoint () OVERRIDE;
- int stopped_by_hw_breakpoint () OVERRIDE;
- int supports_stopped_by_hw_breakpoint () OVERRIDE;
+ bool stopped_by_hw_breakpoint () OVERRIDE;
+ bool supports_stopped_by_hw_breakpoint () OVERRIDE;
void thread_events (int) OVERRIDE;
- int can_async_p () OVERRIDE;
- int is_async_p () OVERRIDE;
+ bool can_async_p () OVERRIDE;
+ bool is_async_p () OVERRIDE;
- int supports_non_stop () OVERRIDE;
- int always_non_stop_p () OVERRIDE;
+ bool supports_non_stop () OVERRIDE;
+ bool always_non_stop_p () OVERRIDE;
void async (int) OVERRIDE;
@@ -94,13 +94,13 @@ public:
void stop (ptid_t) OVERRIDE;
- int supports_multi_process () OVERRIDE;
+ bool supports_multi_process () OVERRIDE;
- int supports_disable_randomization () OVERRIDE;
+ bool supports_disable_randomization () OVERRIDE;
int core_of_thread (ptid_t ptid) OVERRIDE;
- int filesystem_is_local () OVERRIDE;
+ bool filesystem_is_local () OVERRIDE;
int fileio_open (struct inferior *inf, const char *filename,
int flags, int mode, int warn_if_slow,
@@ -140,11 +140,11 @@ public:
virtual void low_resume (ptid_t ptid, int step, enum gdb_signal sig)
{ inf_ptrace_target::resume (ptid, step, sig); }
- virtual int low_stopped_by_watchpoint ()
- { return 0; }
+ virtual bool low_stopped_by_watchpoint ()
+ { return false; }
- virtual int low_stopped_data_address (CORE_ADDR *addr_p)
- { return 0; }
+ virtual bool low_stopped_data_address (CORE_ADDR *addr_p)
+ { return false; }
};
/* The final/concrete instance. */