public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Implement Ada Pragma Import and Pragma Export
@ 2023-03-14 20:04 Tom Tromey
  2023-03-14 20:04 ` [PATCH 1/5] Introduce lookup_minimal_symbol_linkage Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Tom Tromey @ 2023-03-14 20:04 UTC (permalink / raw)
  To: gdb-patches

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>


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

end of thread, other threads:[~2023-03-29 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 20:04 [PATCH 0/5] Implement Ada Pragma Import and Pragma Export Tom Tromey
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

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