aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-12-15 11:33:37 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-12-15 12:09:51 +0000
commitc91a13e4e6790324e2177fa4b98e4637e3b03f97 (patch)
tree96ff24567fb34461780bc6f6d1c10ed22ba4b338 /gdb
parent9066e0c72bb98e8182ae682239e67b23e2f17289 (diff)
downloadgdb-c91a13e4e6790324e2177fa4b98e4637e3b03f97.zip
gdb-c91a13e4e6790324e2177fa4b98e4637e3b03f97.tar.gz
gdb-c91a13e4e6790324e2177fa4b98e4637e3b03f97.tar.bz2
gdb: int to bool conversion in tracefile.c
Some obvious int to bool conversion in tracefile.c. Should be no user visible changes after this commit.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/tracefile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tracefile.c b/gdb/tracefile.c
index 44d8810..5ad75eb 100644
--- a/gdb/tracefile.c
+++ b/gdb/tracefile.c
@@ -420,7 +420,7 @@ tracefile_fetch_registers (struct regcache *regcache, int regno)
bool
tracefile_target::has_all_memory ()
{
- return 1;
+ return true;
}
/* This is the implementation of target_ops method to_has_memory. */
@@ -428,7 +428,7 @@ tracefile_target::has_all_memory ()
bool
tracefile_target::has_memory ()
{
- return 1;
+ return true;
}
/* This is the implementation of target_ops method to_has_stack.
@@ -457,7 +457,7 @@ tracefile_target::has_registers ()
bool
tracefile_target::thread_alive (ptid_t ptid)
{
- return 1;
+ return true;
}
/* This is the implementation of target_ops method to_get_trace_status.