target_ops: Use bool throughout
[deliverable/binutils-gdb.git] / gdb / amd64-fbsd-nat.c
index 57e6ff2813b5a09fa8fdd71f56233c47954c468e..fbec9b1579e2992bf55dfbbb124fcc71ab2e761c 100644 (file)
@@ -45,7 +45,7 @@ public:
   const struct target_desc *read_description () override;
 
 #if defined(HAVE_PT_GETDBREGS) && defined(USE_SIGTRAP_SIGINFO)
-  int supports_stopped_by_hw_breakpoint () override;
+  bool supports_stopped_by_hw_breakpoint () override;
 #endif
 };
 
@@ -202,10 +202,10 @@ amd64_fbsd_nat_target::read_description ()
 #if defined(HAVE_PT_GETDBREGS) && defined(USE_SIGTRAP_SIGINFO)
 /* Implement the supports_stopped_by_hw_breakpoints method.  */
 
-int
+bool
 amd64_fbsd_nat_target::supports_stopped_by_hw_breakpoint ()
 {
-  return 1;
+  return true;
 }
 #endif
 
This page took 0.02412 seconds and 4 git commands to generate.