This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] Signed/unsigned character arrays are not strings
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sourceware dot org
- Date: Sat, 24 Feb 2007 11:13:15 -0500
- Subject: Re: [RFC] Signed/unsigned character arrays are not strings
- References: <17887.62990.937672.281975@kahikatea.snap.net.nz>
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