emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Latest change to process.c broke M-x gdb


From: Kim F. Storm
Subject: Latest change to process.c broke M-x gdb
Date: Fri, 23 Feb 2007 23:07:50 +0100 (CET)

Try this:

cd emacs/src
emacs -Q
M-x gdb
(suggests emacs as default) RET
r -Q RET

produces this backtrace (with debug-on-error):

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p #("r -Q
" 0 4 (fontified t) 4 5 nil))
  utf-8-pre-write-conversion(#("r -Q\n" 0 4 (fontified t) 4 5 nil) nil)
  process-send-string(#<process gud-emacs> #("r -Q\n" 0 4 (fontified t) 4 5 
nil))
  gdb-send-item(#("r -Q\n" 0 4 (fontified t) 4 5 nil))
  gdb-enqueue-input(#("r -Q\n" 0 4 (fontified t) 4 5 nil))
  gdb-send(#<process gud-emacs> #("r -Q" 0 4 (fontified t)))
  comint-send-input()
  call-interactively(comint-send-input)


Reverting this change restores correct behaviour:

2007-02-23  Kenichi Handa  <address@hidden>

        * process.c (send_process_object_unwind): New function.
        (send_process_object): New function.
        (Fprocess_send_region): Call send_process_object.
        (Fprocess_send_string): Likewise.

Why was that change made?


In GNU Emacs 22.0.94.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-02-23 on kfs-l.imdomain.dk
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure  'CFLAGS=-O0 -g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t


-- 
Kim F. Storm  <address@hidden>      http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]