This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Signed/unsigned character arrays are not strings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]