public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] BFD cache management And Exec file with target: prefix
@ 2023-10-25 15:08 Andrew Burgess
  2023-10-25 15:08 ` [PATCH 1/2] gdb: move all bfd_cache_close_all calls in gdb_bfd.c Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Andrew Burgess @ 2023-10-25 15:08 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

This started with patch #2, which improves GDB's handling of the main
executable having a target: prefix, but that ran into an issue with
the bfd cache.

So patch #1 aims to address this cache issue.

WARNING: There is still an open question for patch #1, I'd appreciate
peoples thoughts on the right approach.

---

Andrew Burgess (2):
  gdb: move all bfd_cache_close_all calls in gdb_bfd.c
  gdb: fix reopen_exec_file for files with target: prefix

 gdb/corefile.c                                | 22 +++---
 gdb/exec.c                                    |  2 -
 gdb/gdb_bfd.c                                 | 20 ++++++
 gdb/infcmd.c                                  |  1 -
 gdb/inferior.c                                |  2 -
 gdb/symfile.c                                 |  1 -
 gdb/target.c                                  |  5 --
 gdb/testsuite/gdb.server/target-exec-file.exp | 70 +++++++++++++++++++
 8 files changed, 100 insertions(+), 23 deletions(-)


base-commit: a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19
-- 
2.25.4


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

end of thread, other threads:[~2023-11-12 23:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-25 15:08 [PATCH 0/2] BFD cache management And Exec file with target: prefix Andrew Burgess
2023-10-25 15:08 ` [PATCH 1/2] gdb: move all bfd_cache_close_all calls in gdb_bfd.c Andrew Burgess
2023-10-26  9:06   ` Lancelot SIX
2023-10-27  8:49     ` Andrew Burgess
2023-10-27 19:30   ` Tom Tromey
2023-10-30 10:20     ` Andrew Burgess
2023-10-31 18:28       ` Tom Tromey
2023-11-01 10:46         ` Andrew Burgess
2023-11-12 23:38           ` Tom Tromey
2023-10-25 15:08 ` [PATCH 2/2] gdb: fix reopen_exec_file for files with target: prefix Andrew Burgess
2023-10-27 18:39   ` Tom Tromey
2023-10-30 13:41 ` [PATCH 0/2] BFD cache management And Exec file " Andrew Burgess
2023-10-30 13:41   ` [PATCH 1/2] gdb: move all bfd_cache_close_all calls in gdb_bfd.c Andrew Burgess
2023-10-30 13:41   ` [PATCH 2/2] gdb: fix reopen_exec_file for files with target: prefix Andrew Burgess
2023-11-12 23:40   ` [PATCH 0/2] BFD cache management And Exec file " Tom Tromey

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).