public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: [PATCH v3 0/2] [symtab/27831] Fix OBJF_MAINLINE assert
Date: Sat, 12 Aug 2023 20:48:51 -0700	[thread overview]
Message-ID: <20230813035925.3344167-1-kevinb@redhat.com> (raw)

This is a slightly modified version of a two-part series from over a
year ago.  As noted then, the fix is mostly Simon's work, though the
text of the commit log is still mine.  Also, it required a rebase, so
that work is mine as well.  I've also updated copyright dates as well
as the commit log for the fix to reflect the fact that macros are no
longers used in the affected code.

I've tested on Fedora 38 for both x86_64 and aarch64 - no regressions. 
Moreover, I've observed that the new test case is still relevant, i.e.
the bug hasn't been fixed by some other means in the interim.

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

 gdb/elfread.c                                 |  8 +-
 gdb/symtab.c                                  | 13 ++-
 gdb/symtab.h                                  | 17 ++--
 .../gdb.base/add-symbol-file-attach.c         | 28 ++++++
 .../gdb.base/add-symbol-file-attach.exp       | 88 +++++++++++++++++++
 5 files changed, 137 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


             reply	other threads:[~2023-08-13  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-13  3:48 Kevin Buettner [this message]
2023-08-13  3:48 ` [PATCH v3 1/2] " Kevin Buettner
2023-08-14 16:00   ` Tom Tromey
2023-08-13  3:48 ` [PATCH v3 2/2] [symtab/27831] New test case: gdb.base/add-symbol-file-attach.exp Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230813035925.3344167-1-kevinb@redhat.com \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).