From owner-freebsd-openoffice Sat Aug 10 9:40:54 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0BC537B400 for ; Sat, 10 Aug 2002 09:40:52 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F027443E70 for ; Sat, 10 Aug 2002 09:40:51 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7AGepQx082453; Sat, 10 Aug 2002 18:40:51 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7AGepYW647971; Sat, 10 Aug 2002 18:40:51 +0200 (MES) Date: Sat, 10 Aug 2002 18:42:31 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , Subject: Re: [porting-dev] Re: Crash with Test-Document in the second run. Memory allocation problem In-Reply-To: <200208101237.53297.kevin.hendricks@sympatico.ca> Message-ID: <20020810184212.Q92422-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. > Ah, I am BigEndian and your are LittleEndian so something is byteswapping > the ints of the buffer ... perhaps gdb does this when it uses x/20x (it > assumes an int and not a short)? Hmm, we should be dealing with short > ints and not ints here so an array of short ints should be readable in > normal order (and is on my BigEndian version of gdb!). > (gdb) x/20s ppThis->buffer 0x8390a48: "S" 0x8390a4a: "t" 0x8390a4c: "a" 0x8390a4e: "r" 0x8390a50: "W" 0x8390a52: "r" 0x8390a54: "i" 0x8390a56: "t" 0x8390a58: "e" 0x8390a5a: "r" 0x8390a5c: " " 0x8390a5e: "5" 0x8390a60: "." 0x8390a62: "0" 0x8390a64: "" 0x8390a65: "" 0x8390a66: "e" 0x8390a68: "r" 0x8390a6a: "_" 0x8390a6c: "5" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message