summaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-05 16:36:00 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-05 16:36:00 +0000
commit910d871e78e68edf2d44ff45be1b988a7589c7f6 (patch)
treec557686faaad2250d37eda5cdbec8556797d4cc5 /gcc/gdbinit.in
parentcf1f9f8bddfd8b0ba5378c3f03d7d73dfb9bdc22 (diff)
downloadgcc-910d871e78e68edf2d44ff45be1b988a7589c7f6.tar.gz
* gdbinit.in (__FUNCTION__): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 4a84700d167..503ef24e301 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -184,6 +184,7 @@ end
# Define some macros helpful to gdb when it is expanding macros.
macro define __FILE__ "gdb"
macro define __LINE__ 1
+macro define __FUNCTION__ "gdb"
macro define __null 0
# Gracefully handle aborts in functions used from gdb.