public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Handle dynamic properties and static link
@ 2023-03-09 17:50 Tom Tromey
  2023-03-09 17:50 ` [PATCH 1/3] Add frame parameter to resolve_dynamic_type Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Tromey @ 2023-03-09 17:50 UTC (permalink / raw)
  To: gdb-patches

Ada uses static links and dynamic properties more than most other
languages.  A user found a bug when the two are combined, and this
series fixes the problem.

Regression tested on x86-64 Fedora 36.

Tom

---
Tom Tromey (3):
      Add frame parameter to resolve_dynamic_type
      Pass a frame to value_at_lazy and value_from_contents_and_address
      Use the correct frame when evaluating a dynamic property

 gdb/dwarf2/expr.c                          |  4 +-
 gdb/gdbtypes.c                             | 71 ++++++++++++++++++------------
 gdb/gdbtypes.h                             |  6 ++-
 gdb/testsuite/gdb.ada/static-link.exp      | 33 ++++++++++++++
 gdb/testsuite/gdb.ada/static-link/pck.ads  | 18 ++++++++
 gdb/testsuite/gdb.ada/static-link/prog.adb | 35 +++++++++++++++
 gdb/valops.c                               | 11 ++---
 gdb/value.c                                |  6 ++-
 gdb/value.h                                | 14 ++++--
 9 files changed, 156 insertions(+), 42 deletions(-)
---
base-commit: 093b56776fcf31ecc9342382341c1455fd397b16
change-id: 20230309-submit-static-link-fix-bcf714c48091

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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 17:50 [PATCH 0/3] Handle dynamic properties and static link Tom Tromey
2023-03-09 17:50 ` [PATCH 1/3] Add frame parameter to resolve_dynamic_type Tom Tromey
2023-03-09 17:50 ` [PATCH 2/3] Pass a frame to value_at_lazy and value_from_contents_and_address Tom Tromey
2023-03-09 17:50 ` [PATCH 3/3] Use the correct frame when evaluating a dynamic property Tom Tromey
2023-03-29 16:16 ` [PATCH 0/3] Handle dynamic properties and static link 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).