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/xcoffread.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/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index a660e1c..1538d1c 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -432,7 +432,7 @@ arrange_linetable (std::vector<linetable_entry> &old_linetable) linetable_entry &e = fentries.back (); e.line = ii; e.is_stmt = true; - e.set_raw_pc (old_linetable[ii].raw_pc ()); + e.set_unrelocated_pc (old_linetable[ii].unrelocated_pc ()); } } @@ -457,7 +457,8 @@ arrange_linetable (std::vector<linetable_entry> &old_linetable) extra line to cover the function prologue. */ int jj = entry.line; if (jj + 1 < old_linetable.size () - && old_linetable[jj].raw_pc () != old_linetable[jj + 1].raw_pc ()) + && (old_linetable[jj].unrelocated_pc () + != old_linetable[jj + 1].unrelocated_pc ())) { new_linetable.push_back (old_linetable[jj]); new_linetable.back ().line = old_linetable[jj + 1].line; |