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/5] Implement Ada Pragma Import and Pragma Export
Date: Tue, 14 Mar 2023 14:04:44 -0600	[thread overview]
Message-ID: <20230314-submit-pragma-import-export-v1-0-a235709f7e96@adacore.com> (raw)

This adds better support to GDB for Ada's import and export feature.
There are some minor cleanups to start with, then the bulk of the
feature in the last patch, which I think should be reasonably
self-explanatory.

Regression tested on x86-64 Fedora 36.  It's also been running in the
AdaCore internal test suite for a while.

Tom

---
Tom Tromey (5):
      Introduce lookup_minimal_symbol_linkage
      Bump MAX_SYMBOL_IMPLS
      Define symbol::value_block separately
      Introduce symbol_block_ops::get_block_value
      Handle Ada Pragma Import and Pragma Export

 gdb/Makefile.in                          |   1 +
 gdb/dwarf2/ada-imported.c                | 122 +++++++++++++++++++++++++++++
 gdb/dwarf2/loc.h                         |   2 +
 gdb/dwarf2/read.c                        | 128 +++++++++++++++++++++++++++++++
 gdb/minsyms.c                            |  22 ++++++
 gdb/minsyms.h                            |   8 ++
 gdb/symtab.c                             |  36 +++------
 gdb/symtab.h                             |  20 ++++-
 gdb/testsuite/gdb.ada/complete.exp       |   2 +
 gdb/testsuite/gdb.ada/complete/pck.ads   |   4 +-
 gdb/testsuite/gdb.ada/import.exp         |  58 ++++++++++++++
 gdb/testsuite/gdb.ada/import/inc.c       |  27 +++++++
 gdb/testsuite/gdb.ada/import/pkg.adb     |  28 +++++++
 gdb/testsuite/gdb.ada/import/pkg.ads     |  33 ++++++++
 gdb/testsuite/gdb.ada/import/prog.adb    |  31 ++++++++
 gdb/testsuite/gdb.ada/info_auto_lang.exp |  10 ++-
 16 files changed, 499 insertions(+), 33 deletions(-)
---
base-commit: d0aa28e155baf16ec37afdf0193c3d58816c1927
change-id: 20230314-submit-pragma-import-export-c38bb4077953

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


             reply	other threads:[~2023-03-14 20:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 20:04 Tom Tromey [this message]
2023-03-14 20:04 ` [PATCH 1/5] Introduce lookup_minimal_symbol_linkage Tom Tromey
2023-03-14 20:04 ` [PATCH 2/5] Bump MAX_SYMBOL_IMPLS Tom Tromey
2023-03-14 20:04 ` [PATCH 3/5] Define symbol::value_block separately Tom Tromey
2023-03-14 20:04 ` [PATCH 4/5] Introduce symbol_block_ops::get_block_value Tom Tromey
2023-03-14 20:04 ` [PATCH 5/5] Handle Ada Pragma Import and Pragma Export Tom Tromey
2023-03-29 16:10 ` [PATCH 0/5] Implement " 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=20230314-submit-pragma-import-export-v1-0-a235709f7e96@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).