public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb: move lm_info to solib in dsbt_current_sos
@ 2024-05-15 17:13 Simon Marchi
  2024-05-15 19:28 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2024-05-15 17:13 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-16 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-15 17:13 [PATCH] gdb: move lm_info to solib in dsbt_current_sos Simon Marchi
2024-05-15 19:28 ` Tom Tromey
2024-05-16 15:33   ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).