aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-05-15 13:13:27 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-05-16 11:34:40 -0400
commit8f155672d3457b5a014a99a6bd61b2b8be1d1c16 (patch)
treec8bf28028aa7a4e128a5ea507fad80529d18a08e
parenta09771e687bacc24163d1f1978cc46d9c72b3a08 (diff)
downloadgdb-8f155672d3457b5a014a99a6bd61b2b8be1d1c16.zip
gdb-8f155672d3457b5a014a99a6bd61b2b8be1d1c16.tar.gz
gdb-8f155672d3457b5a014a99a6bd61b2b8be1d1c16.tar.bz2
gdb: move lm_info to solib in dsbt_current_sos
Commit 8971d2788e79 ("gdb: link so_list using intrusive_list") mistakenly removed the line that moves the lm_info unique pointer to sop->lm_info, probably due to a bad conflict resolution. Restore that line. Unfortunately, this code is only used for TI C66, which is not widely tested (if used at all). Change-Id: I9f64eb4430c324bc93ddb4bd00d820dee34adfbb Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/solib-dsbt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index 11225f7..908c78a 100644
--- a/gdb/solib-dsbt.c
+++ b/gdb/solib-dsbt.c
@@ -616,6 +616,7 @@ dsbt_current_sos (void)
sop->so_original_name = sop->so_name;
}
+ sop->lm_info = std::move (li);
sos.push_back (*sop);
}
else