diff options
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 80537e0..143d234 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -285,7 +285,7 @@ find_pc_partial_function_sym (CORE_ADDR pc, { int i; for (i = 0; i < BLOCK_NRANGES (b); i++) - { + { if (BLOCK_RANGE_START (b, i) <= mapped_pc && mapped_pc < BLOCK_RANGE_END (b, i)) { @@ -395,24 +395,24 @@ find_function_entry_range_from_pc (CORE_ADDR pc, const char **name, CORE_ADDR entry_pc = BLOCK_ENTRY_PC (block); for (int i = 0; i < BLOCK_NRANGES (block); i++) - { + { if (BLOCK_RANGE_START (block, i) <= entry_pc && entry_pc < BLOCK_RANGE_END (block, i)) { if (address != nullptr) - *address = BLOCK_RANGE_START (block, i); + *address = BLOCK_RANGE_START (block, i); if (endaddr != nullptr) - *endaddr = BLOCK_RANGE_END (block, i); + *endaddr = BLOCK_RANGE_END (block, i); return status; } } /* It's an internal error if we exit the above loop without finding - the range. */ + the range. */ internal_error (__FILE__, __LINE__, - _("Entry block not found in find_function_entry_range_from_pc")); + _("Entry block not found in find_function_entry_range_from_pc")); } return status; |