summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.