aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/bin/demangle
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/bin/demangle')
-rwxr-xr-xexternals/gridflow/bin/demangle4
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/gridflow/bin/demangle b/externals/gridflow/bin/demangle
new file mode 100755
index 00000000..923bca25
--- /dev/null
+++ b/externals/gridflow/bin/demangle
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+f = File.popen "gdb", "r+"
+f.puts "maintenance demangle #{ARGV[0]}", "quit"
+puts f.read.split("\n")[-2].sub(/^\(gdb\) /,"")