aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-21 09:36:54 -0600
committerTom Tromey <tromey@adacore.com>2023-06-05 09:59:18 -0600
commit0434c3ef8dc4cfa17e6bce21da206e312f5722fb (patch)
tree26d7ef80161a08f1797f880f329a67e6685ea23b /gdb/buildsym.c
parentd8175bcb7e35fb98ef40c458c8475a6d7122d813 (diff)
downloadbinutils-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.zip
binutils-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.tar.gz
binutils-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/buildsym.c')
-rw-r--r--gdb/buildsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index d12ad21..832b689 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -653,7 +653,7 @@ buildsym_compunit::record_line (struct subfile *subfile, int line,
linetable_entry *last = &subfile->line_vector_entries.back ();
last_line = last->line;
- if (last->raw_pc () != pc)
+ if (last->unrelocated_pc () != pc)
break;
subfile->line_vector_entries.pop_back ();
@@ -668,7 +668,7 @@ buildsym_compunit::record_line (struct subfile *subfile, int line,
linetable_entry &e = subfile->line_vector_entries.back ();
e.line = line;
e.is_stmt = (flags & LEF_IS_STMT) != 0;
- e.set_raw_pc (pc);
+ e.set_unrelocated_pc (pc);
e.prologue_end = (flags & LEF_PROLOGUE_END) != 0;
}