Re: [PATCH v3 5/6] Fortran: Enable setting breakpoint on nested functions.

Yao Qi
2017-09-04T09:22:25Z

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 (é½å°§)