Ed Swarthout <[EMAIL PROTECTED]> writes:

> which is fixed by this simple patch:
>
> --- emacs-buffer.gdb.~1.3.~   2005-05-30 12:01:09.000000000 -0500
> +++ emacs-buffer.gdb  2005-06-08 22:08:03.645246008 -0500
> @@ -118,7 +118,7 @@
>          ygetptr $buf->filename
>          set $filename = ((struct Lisp_String *) $ptr)->data
>        else
> -        set $filename = ' '
> +        set $filename = " "

This is dangerous because gdb needs to call malloc in the inferior in
order to allocate the string.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to