On Tue, Mar 10, 2015 at 11:38 AM, Marek Polacek wrote:
> On Tue, Mar 10, 2015 at 11:33:13AM +0100, Richard Biener wrote:
>> Isn't cfun->decl much more likely to work?
>
> Dunno, if that's the case, then:
Ok (or use cfun ? cfun->decl : current_function_decl).
Thanks,
Richard.
> 2015-03-10 Marek
On Tue, Mar 10, 2015 at 11:33:13AM +0100, Richard Biener wrote:
> Isn't cfun->decl much more likely to work?
Dunno, if that's the case, then:
2015-03-10 Marek Polacek
* gdbinit.in (pcfun): Define and document.
diff --git gcc/gdbinit.in gcc/gdbinit.in
index 10fe5ad..436de06 100644
---
On Tue, Mar 10, 2015 at 11:31 AM, Marek Polacek wrote:
> Typing "call debug_function (current_function_decl, 0)" every time I want to
> see
> the current function is bothersome, the more so if I accidentally tap TAB and
> gdb
> tries to autocomplete the current word (argh!). The following adds