Bug 22399

Summary: No support for DW_OP_GNU_variable_value
Product: gdb Reporter: Mark Wielaard <mark>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: kevinb, sergiodj, vries
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Mark Wielaard 2017-11-05 14:22:22 UTC
Take the testcase/reproducer from gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77589 and compile with GNU Fortran (GCC) 7.2.1

Breakpoint 1, repro () at dwarf-stridex.f90:14
14	  print *, c40pt  ! break-here
(gdb) p c40pt(2)
Unhandled dwarf expression opcode 0xfd
Comment 1 Tom de Vries 2018-07-31 14:34:09 UTC
According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77589#c10 :
...
Kevin Buettner has the GDB support for it pretty much written but not yet submitted.
...
Comment 2 Tom de Vries 2018-08-13 22:17:09 UTC
(In reply to Tom de Vries from comment #1)
> According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77589#c10 :
> ...
> Kevin Buettner has the GDB support for it pretty much written but not yet
> submitted.
> ...

https://sourceware.org/ml/gdb-patches/2018-08/msg00060.html
Comment 3 Sergio Durigan Junior 2020-02-27 23:08:25 UTC
I think this can be marked as FIXED, since the series was accepted and pushed.