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


On Sat, Feb 24, 2007 at 09:23:42PM +1300, Nick Roberts wrote:
> Emacs uses sign-specification for strings.  There is a user defined command
> called xbacktrace that prints a backtrace of Lisp functions.  Previously it
> got printed like:
> 
> (gdb) xbacktrace
> "split-window" (0x838c8c9)
> "split-window-vertically" (0x838c8c9)
> "call-interactively" (0x85b3ac9)

Does adding an appropriate (char *) cast fix the problem, and do you
think it's reasonable?

-- 
Daniel Jacobowitz
CodeSourcery


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