public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] [symtab/27831] Fix OBJF_MAINLINE assert
@ 2023-08-29  1:57 Kevin Buettner
  2023-08-29  1:57 ` [PATCH v4 1/2] " Kevin Buettner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Buettner @ 2023-08-29  1:57 UTC (permalink / raw)
  To: gdb-patches; +Cc: Kevin Buettner

This v4 series addresses a concern that Tom had regarding incorrect
evaluation (of globals) for non-ELF object file formats.

Also, during testing, I found that the new test was racy, so I fixed
that problem in addition to making minor modernizations to the test
case.

Tested on Fedora 38 for both x86_64 and aarch64 with no regressions
found.  Also, the new test shows one failure without the fix and no
failures with the fix.

Kevin Buettner (2):
  [symtab/27831] Fix OBJF_MAINLINE assert
  [symtab/27831] New test case: gdb.base/add-symbol-file-attach.exp

 gdb/elfread.c                                 | 12 ++-
 gdb/objfiles.h                                | 11 +++
 gdb/symtab.c                                  | 14 +++-
 gdb/symtab.h                                  | 17 ++--
 .../gdb.base/add-symbol-file-attach.c         | 28 +++++++
 .../gdb.base/add-symbol-file-attach.exp       | 82 +++++++++++++++++++
 6 files changed, 147 insertions(+), 17 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/add-symbol-file-attach.c
 create mode 100644 gdb/testsuite/gdb.base/add-symbol-file-attach.exp

-- 
2.41.0


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

end of thread, other threads:[~2023-08-31 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29  1:57 [PATCH v4 0/2] [symtab/27831] Fix OBJF_MAINLINE assert Kevin Buettner
2023-08-29  1:57 ` [PATCH v4 1/2] " Kevin Buettner
2023-08-29  1:57 ` [PATCH v4 2/2] [symtab/27831] New test case: gdb.base/add-symbol-file-attach.exp Kevin Buettner
2023-08-31 13:24 ` [PATCH v4 0/2] [symtab/27831] Fix OBJF_MAINLINE assert Tom Tromey
2023-08-31 14:57   ` Kevin Buettner

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