all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1490: Re: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs
@ 2009-04-16  4:23 Chong Yidong
  2009-04-16  9:15 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2009-04-16  4:23 UTC (permalink / raw)
  To: Nick Roberts; +Cc: 1490

Hi Nick,

Could you review the patch in Bug#1490?  Thanks.

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1490






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1490: Re: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs
  2009-04-16  4:23 bug#1490: Re: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs Chong Yidong
@ 2009-04-16  9:15 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2009-04-16  9:15 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1490

I can't begin to imagine where one would do something like:

  (gdb) set var retp = fgets(buf, 32, stdin)

in GDB.  If I do this from the command line I get:

  Program received signal SIGSEGV, Segmentation fault.
  0x00007ffff7852522 in fgets () from /lib/libc.so.6
  0x00007ffff7852522 <fgets+50>:	mov    (%rdx),%eax
  ...

I can get

  (gdb) set var reti = getchar()

to work as described.  The proposed patch might be the right thing to do but,
unless Joseph Yen can give a compelling reason as to why someone would
generally type something like this, I intend to leave it as it is until after
the release as I am unsure whether it will have unintended side effects.

-- 
Nick






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-16  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16  4:23 bug#1490: Re: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs Chong Yidong
2009-04-16  9:15 ` Nick Roberts

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.