[v2,0/1] Fix assertion in 'value_primitive_field'

Message ID 20240305113653.2546426-1-stephan.rohr@intel.com
Headers
Series Fix assertion in 'value_primitive_field' |

Message

Rohr, Stephan March 5, 2024, 11:36 a.m. UTC
  Hi all,

this is version 2 of my proposed patch.

V1 of this series can be found here:
https://sourceware.org/pipermail/gdb-patches/2024-February/206520.html

Changes since V1:
* Added a testcase.
* Rebased change to GDB-14.

Regards
Stephan

Rohr, Stephan (1):
  gdb: Fix assertion in 'value_primitive_field'

 .../locexpr-data-member-dynamic-location.c    |  31 ++++
 .../locexpr-data-member-dynamic-location.exp  | 136 ++++++++++++++++++
 gdb/value.c                                   |   4 +-
 3 files changed, 170 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/locexpr-data-member-dynamic-location.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/locexpr-data-member-dynamic-location.exp