From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2645 invoked by alias); 24 Feb 2007 21:07:44 -0000 Received: (qmail 2635 invoked by uid 22791); 24 Feb 2007 21:07:43 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 24 Feb 2007 21:07:37 +0000 Received: from kahikatea.snap.net.nz (226.61.255.123.dynamic.snap.net.nz [123.255.61.226]) by viper.snap.net.nz (Postfix) with ESMTP id 66DFE3D83DD; Sun, 25 Feb 2007 10:07:34 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 9E37A4F716; Sun, 25 Feb 2007 10:07:32 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17888.43282.243662.433390@kahikatea.snap.net.nz> Date: Sun, 25 Feb 2007 19:54:00 -0000 To: Daniel Jacobowitz Cc: Jan Kratochvil , gdb@sourceware.org Subject: Re: [RFC] Signed/unsigned character arrays are not strings In-Reply-To: <20070224205338.GA7307@caradoc.them.org> References: <17887.62990.937672.281975@kahikatea.snap.net.nz> <20070224161315.GA27534@caradoc.them.org> <17888.39894.136355.447008@kahikatea.snap.net.nz> <20070224204626.GA24678@host0.dyn.jankratochvil.net> <20070224205338.GA7307@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 22.0.94.2 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00261.txt.bz2 Daniel Jacobowitz writes: > On Sat, Feb 24, 2007 at 09:46:26PM +0100, Jan Kratochvil wrote: > > You have an association bug there. In fact such workaround works [attached]. > > (gdb) xbacktrace > > 0x92e75aa "recursive-edit" (0xa420a23) > > 0x92e685c "byte-code" (0x825e7db) > > Or try "set $data = (char *) $arg0->data" or so. That should work > too. Yes this works, thanks (although Jan's suggestion to use (const char *) didn't work for me). I still don't see why strings should only be seven-bit, as Emacs, at least works with different character sets, but my immediate problem is fixed now, anyway. -- Nick http://www.inet.net.nz/~nickrob