[uim-commit] r511 - in trunk: . tools

yamaken at freedesktop.org yamaken at freedesktop.org
Thu Feb 3 18:14:37 PST 2005


Author: yamaken
Date: 2005-02-03 18:14:35 -0800 (Thu, 03 Feb 2005)
New Revision: 511

Added:
   trunk/tools/
   trunk/tools/uim-trace.gdb
   trunk/tools/uim-trace.sh
Log:
* tools
  - New directory

* tools/uim-trace.sh
* tools/uim-trace.gdb
  - New file. Simple siod invocation tracer for debugging


Added: trunk/tools/uim-trace.gdb
===================================================================
--- trunk/tools/uim-trace.gdb	2005-02-04 01:08:16 UTC (rev 510)
+++ trunk/tools/uim-trace.gdb	2005-02-04 02:14:35 UTC (rev 511)
@@ -0,0 +1,15 @@
+break main
+run
+
+break uim_scm_eval_c_string
+commands
+  cont
+end
+
+break uim_scm_eval
+commands
+  cont
+end
+
+set height 0
+cont

Added: trunk/tools/uim-trace.sh
===================================================================
--- trunk/tools/uim-trace.sh	2005-02-04 01:08:16 UTC (rev 510)
+++ trunk/tools/uim-trace.sh	2005-02-04 02:14:35 UTC (rev 511)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# usage:
+# $ uim-trace.sh uim-pref-gtk
+
+gdb --quiet $* <uim-trace.gdb | \
+egrep '("|uim_scm_eval )' | \
+perl -pe 's/^[^"]+str=[^"]+"(.+)"\)?( at uim-scm.c:\d+)?$/\1/'


Property changes on: trunk/tools/uim-trace.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the Uim-commit mailing list