Use bool in pc_in_* functions

I noticed that pc_in_unmapped_range had a weird return type -- it was
returning a CORE_ADDR but intending to return a bool.  This patch
changes all the pc_in_* functions to return bool instead.
This commit is contained in:
Tom Tromey
2023-01-18 16:36:52 -07:00
parent 42938c1a5b
commit 6ec27270ff
6 changed files with 17 additions and 22 deletions

View File

@@ -892,7 +892,7 @@ extern void delete_exited_threads (void);
/* Return true if PC is in the stepping range of THREAD. */
int pc_in_thread_step_range (CORE_ADDR pc, struct thread_info *thread);
bool pc_in_thread_step_range (CORE_ADDR pc, struct thread_info *thread);
/* Enable storing stack temporaries for thread THR and disable and
clear the stack temporaries on destruction. Holds a strong