From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: emacs-buffer.gdb
Date: Thu, 09 Jun 2005 11:10:05 +0200 [thread overview]
Message-ID: <jell5j3ngy.fsf@sykes.suse.de> (raw)
In-Reply-To: <fda11fc7050608211540651c88@mail.gmail.com> (Ed Swarthout's message of "Wed, 8 Jun 2005 23:15:09 -0500")
Ed Swarthout <ed.swarthout@gmail.com> 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, schwab@suse.de
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."
next prev parent reply other threads:[~2005-06-09 9:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 4:15 emacs-buffer.gdb Ed Swarthout
2005-06-09 9:10 ` Andreas Schwab [this message]
2005-06-10 2:17 ` emacs-buffer.gdb Ed Swarthout
2005-06-10 20:48 ` emacs-buffer.gdb Juri Linkov
2005-06-10 22:44 ` emacs-buffer.gdb Noah Friedman
2005-06-11 13:03 ` emacs-buffer.gdb Eli Zaretskii
2005-06-11 23:38 ` emacs-buffer.gdb Kim F. Storm
-- strict thread matches above, loose matches on Subject: below --
2005-05-02 5:20 emacs-buffer.gdb Noah Friedman
2005-05-03 17:12 ` emacs-buffer.gdb Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jell5j3ngy.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.