[PATCH] Fix ptype and print commands for namelist variables(a fortran feature)
Andrew Burgess
aburgess@redhat.com
Thu Dec 9 13:16:21 GMT 2021
* Kumar N, Bhuvanendra via Gdb-patches <gdb-patches@sourceware.org> [2021-11-19 14:32:35 +0000]:
> [AMD Official Use Only]
>
> Hi Andrew,
>
> Looks like gfortran is emitting DW_TAG_namelist for "nml" twice,
> hence you are seeing it twice with "info local" command. But
> clang/flang emits only once, hence I am getting only once with "info
> local" command.
Ahh, that explains it.
I tried rebasing your patch onto the current upstream/master, and I'm
hitting this assert:
gdbsupport/array-view.h:190: internal-error: slice: Assertion `start + size <= m_size' failed.
I do compile GDB with `_GLIBCXX_DEBUG` defined in order to see that
assert. I haven't looked into what might be going on here yet, but
thought I'd give you a heads up.
( Please let me know if you can't reproduce this issue, it is possible
that I've managed to break something when merging/rebasing your
patch. )
Thanks,
Andrew
More information about the Gdb-patches
mailing list