This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 5/6] Fortran: Enable setting breakpoint on nested functions.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Tim Wiederhake <tim dot wiederhake at intel dot com>
- Cc: gdb-patches at sourceware dot org, Bernhard Heckel <bernhard dot heckel at intel dot com>
- Date: Mon, 4 Sep 2017 09:22:12 +0000
- Subject: Re: [PATCH v3 5/6] Fortran: Enable setting breakpoint on nested functions.
- Authentication-results: sourceware.org; auth=none
- References: <1502449611-8865-1-git-send-email-tim.wiederhake@intel.com> <1502449611-8865-6-git-send-email-tim.wiederhake@intel.com>
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 (齐尧)