[PATCH] gdb: move lm_info to solib in dsbt_current_sos
Simon Marchi
simon.marchi@efficios.com
Wed May 15 17:13:27 GMT 2024
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
---
gdb/solib-dsbt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index 11225f72ed01..908c78aebdca 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
base-commit: 53071aac476c2d497b313b1ee09a462912cb1d87
--
2.45.1
More information about the Gdb-patches
mailing list