[PATCH v3 5/6] Fortran: Enable setting breakpoint on nested functions.
Yao Qi
qiyaoltc@gmail.com
Mon Sep 4 09:22:00 GMT 2017
On 17-08-11 13:06:50, Tim Wiederhake wrote:
> From: Bernhard Heckel <bernhard.heckel@intel.com>
>
> Like in Ada, we want to be able to set a breakpoint on nested functions,
> called "contained routines" in Fortran.
>
> xxxx-yy-zz Bernhard Heckel <bernhard.heckel@intel.com>
>
> gdb/ChangeLog:
> * dwarf2read.c (add_partial_symbol): Enable for Fortran as well.
> (new_symbol_full): Same.
> (add_partial_subprogram): Check for subprogram tag.
>
> gdb/testsuite/ChangeLog:
> * gdb.fortran/nested-funcs.exp: Set breakpoint on contained routines.
Patch is good to me.
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list