Commit 2e1a9cdb by Marek Polacek Committed by Marek Polacek

* gdbinit.in (pcfun): Define and document.

From-SVN: r221320
parent 30094344
2015-03-10 Marek Polacek <polacek@redhat.com>
* gdbinit.in (pcfun): Define and document.
2015-03-10 Ilya Verbin <ilya.verbin@intel.com>
* config/i386/intelmic-mkoffload.c: Include intelmic-offload.h instead
......
......@@ -199,6 +199,15 @@ document pel
Print expanded location of $.
end
define pcfun
output debug_function (cfun ? cfun->decl : current_function_decl, 0)
echo \n
end
document pcfun
Print current function.
end
# Define some macros helpful to gdb when it is expanding macros.
macro define __FILE__ "gdb"
macro define __LINE__ 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment