diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-21 09:36:54 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-06-05 09:59:18 -0600 |
commit | 0434c3ef8dc4cfa17e6bce21da206e312f5722fb (patch) | |
tree | 26d7ef80161a08f1797f880f329a67e6685ea23b /gdb/record-btrace.c | |
parent | d8175bcb7e35fb98ef40c458c8475a6d7122d813 (diff) | |
download | gdb-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.zip gdb-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.tar.gz gdb-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.tar.bz2 |
Use "unrelocated" terminology in linetable_entry
I forgot to convert struct linetable_entry to use the "unrelocated"
(as opposed to "raw") terminology. This patch corrects the oversight.
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r-- | gdb/record-btrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index e933a42..97447d3 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -739,7 +739,7 @@ btrace_find_line_range (CORE_ADDR pc) possibly adding more line numbers to the range. At the time this change was made I was unsure how to test this so chose to go with maintaining the existing experience. */ - if (lines[i].raw_pc () == unrel_pc && lines[i].line != 0 + if (lines[i].unrelocated_pc () == unrel_pc && lines[i].line != 0 && lines[i].is_stmt) range = btrace_line_range_add (range, lines[i].line); } |