mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
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.
This commit is contained in:
@ -420,7 +420,7 @@ tracefile_fetch_registers (struct regcache *regcache, int regno)
|
|||||||
bool
|
bool
|
||||||
tracefile_target::has_all_memory ()
|
tracefile_target::has_all_memory ()
|
||||||
{
|
{
|
||||||
return 1;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is the implementation of target_ops method to_has_memory. */
|
/* This is the implementation of target_ops method to_has_memory. */
|
||||||
@ -428,7 +428,7 @@ tracefile_target::has_all_memory ()
|
|||||||
bool
|
bool
|
||||||
tracefile_target::has_memory ()
|
tracefile_target::has_memory ()
|
||||||
{
|
{
|
||||||
return 1;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is the implementation of target_ops method to_has_stack.
|
/* This is the implementation of target_ops method to_has_stack.
|
||||||
@ -457,7 +457,7 @@ tracefile_target::has_registers ()
|
|||||||
bool
|
bool
|
||||||
tracefile_target::thread_alive (ptid_t ptid)
|
tracefile_target::thread_alive (ptid_t ptid)
|
||||||
{
|
{
|
||||||
return 1;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is the implementation of target_ops method to_get_trace_status.
|
/* This is the implementation of target_ops method to_get_trace_status.
|
||||||
|
Reference in New Issue
Block a user