aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2013-06-05 16:36:00 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-06-05 16:36:00 +0000
commitb57ca59bbd5843c4c55b23e25c588320c62aafef (patch)
treec557686faaad2250d37eda5cdbec8556797d4cc5 /gcc/gdbinit.in
parentc1e183a9ea0dfc33d3be036b6539219a232f8288 (diff)
downloadgcc-b57ca59bbd5843c4c55b23e25c588320c62aafef.zip
gcc-b57ca59bbd5843c4c55b23e25c588320c62aafef.tar.gz
gcc-b57ca59bbd5843c4c55b23e25c588320c62aafef.tar.bz2
* gdbinit.in (__FUNCTION__): Add.
From-SVN: r199702
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 4a84700..503ef24 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.