Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/3] Better type safety for bcache
Date: Wed, 20 Mar 2024 14:23:57 -0600	[thread overview]
Message-ID: <20240320-bcache-type-v1-0-fe616105e9ae@adacore.com> (raw)

This series changes bcache to only allow trivially-copyable types.
Some other minor API improvements are also made.

Regression tested on x86-64 Fedora 38

---
Tom Tromey (3):
      Some constification in psymtab
      Make bcache more type-safe
      Remove a couple unnecessary casts

 gdb/bcache.h   | 25 +++++++++++++++++++++-
 gdb/gdbtypes.c |  2 +-
 gdb/macrotab.c | 12 +++++------
 gdb/objfiles.h |  4 ++--
 gdb/psymtab.c  | 65 +++++++++++++++++++++++++++-------------------------------
 gdb/psymtab.h  |  4 ++--
 6 files changed, 65 insertions(+), 47 deletions(-)
---
base-commit: d5e9331b6ba459fa211229e56d63b11daaab3330
change-id: 20240320-bcache-type-408f5e90ca2a

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


             reply	other threads:[~2024-03-20 20:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20 20:23 Tom Tromey [this message]
2024-03-20 20:23 ` [PATCH 1/3] Some constification in psymtab Tom Tromey
2024-03-25 15:00   ` Alexandra Petlanova Hajkova
2024-03-20 20:23 ` [PATCH 2/3] Make bcache more type-safe Tom Tromey
2024-03-27 14:15   ` Alexandra Petlanova Hajkova
2024-03-20 20:24 ` [PATCH 3/3] Remove a couple unnecessary casts Tom Tromey
2024-03-27 19:50   ` Alexandra Petlanova Hajkova

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=20240320-bcache-type-v1-0-fe616105e9ae@adacore.com \
    --to=tromey@adacore.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