summaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gdbinit.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6de45ba1161..bc7f98e5888 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-05 Mike Stump <mikestump@comcast.net>
+
+ * gdbinit.in (__FUNCTION__): Add.
+
2013-06-05 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_emit_conditional_move): Swap all
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.