Here is a little one to add support for __FUNCTION__ to gdb so that we can 
debug gcc…

Committed revision 199702.


2013-06-05  Mike Stump  <mikest...@comcast.net>

        * gdbinit.in (__FUNCTION__): Add.

Index: gdbinit.in
===================================================================
--- gdbinit.in  (revision 199700)
+++ gdbinit.in  (working copy)
@@ -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.

Reply via email to