[ooo-build-commit] .: scratch/writer

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Thu Mar 25 08:09:55 PDT 2010


 scratch/writer/gdbinit-cbosdo |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

New commits:
commit c9e3b0dbec9507e7247d8315fe7993ee969d2c4b
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Thu Mar 25 16:08:29 2010 +0100

    Fixed the p*u functions to avoid them crash gdb
    
    * scratch/writer/gdbinit-cbosdo:

diff --git a/scratch/writer/gdbinit-cbosdo b/scratch/writer/gdbinit-cbosdo
index 378582a..2f773ed 100644
--- a/scratch/writer/gdbinit-cbosdo
+++ b/scratch/writer/gdbinit-cbosdo
@@ -20,9 +20,8 @@ end
 
 # define "pus" command to display rtl_uString
 def pus
-  set $ns = $arg0
-  if ($ns.buffer)
-    pu $ns.buffer $ns.length
+  if ($arg0.buffer)
+    pu $arg0.buffer $arg0.length
   else
     print "Invalid/non-initialized rtl_uString."
   end
@@ -30,9 +29,8 @@ end
 
 # define "pou" command to display rtl::OUString
 def pou
-  set $ns = $arg0
-  if ($ns.pData)
-    pus $ns.pData
+  if ($arg0.pData)
+    pus $arg0.pData
   else
     print "Invalid/non-initialized OUString."
   end
@@ -40,9 +38,8 @@ end
 
 # define "ptu" command to display tools (Uni)String
 def ptu
-  set $ns = $arg0
-  if ($ns.mpData)
-    pu $ns.mpData->maStr $ns.mpData->mnLen
+  if ($arg0.mpData)
+    pu $arg0.mpData->maStr $arg0.mpData->mnLen
   else
     print "Invalid/non-initialized tools String."
   end


More information about the ooo-build-commit mailing list