emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs .gdbinit incompatible with latest GDB


From: Nick Roberts
Subject: Re: Emacs .gdbinit incompatible with latest GDB
Date: Mon, 26 Feb 2007 10:10:43 +1300

Richard Stallman writes:
 >     2000-01-04  Gerd Moellmann  <address@hidden>
 > 
 >          * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'.
 > 
 >     I guess the questions to ask are:
 > 
 >     1) Why was this change made?
 > 
 > Probably to make it easier to avoid incorrect conversions when
 > extracting elements.  We don't want to get negative numbers
 > for byte values above 127.

Yes, that bit is self-evident but when are eight bit strings needed?
Mathieu Lacage stated on gdb-patches:

                                           ....a lot of people (the first
  which comes to my mind is libxml2) decided to use "unsigned char *" to
  identify utf-8 encoded strings in C.

Would this also be the case for Emacs?

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]