public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Improve Ada overload handling
Date: Tue, 05 Dec 2023 08:37:11 -0700	[thread overview]
Message-ID: <20231205-ada-overload-v1-0-9d97ac80a60e@adacore.com> (raw)

This short series slightly improves Ada overload handling, removing
the need for the overload menu in some cases.

While it may not be possible to fully implement Ada overload
resolution, I think more improvements along these lines can be made.

---
Tom Tromey (2):
      Boolify ada_type_match
      Refine Ada overload matching

 gdb/ada-lang.c                                | 55 +++++++++++++++++++--------
 gdb/testsuite/gdb.ada/overloads.exp           | 33 ++++++++++++++++
 gdb/testsuite/gdb.ada/overloads/overloads.adb | 41 ++++++++++++++++++++
 3 files changed, 113 insertions(+), 16 deletions(-)
---
base-commit: de501587c2ed91b4bc2a3d5228d59f6544427ab9
change-id: 20231205-ada-overload-2ae62e111367

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


             reply	other threads:[~2023-12-05 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 15:37 Tom Tromey [this message]
2023-12-05 15:37 ` [PATCH 1/2] Boolify ada_type_match Tom Tromey
2023-12-05 15:37 ` [PATCH 2/2] Refine Ada overload matching Tom Tromey
2023-12-15 19:34 ` [PATCH 0/2] Improve Ada overload handling Tom Tromey

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=20231205-ada-overload-v1-0-9d97ac80a60e@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).