unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7815: 24.0.50; "catch exception" in gdb mode is badly handled
@ 2011-01-10 15:08 Matthieu Moy
  2011-12-26  8:37 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Moy @ 2011-01-10 15:08 UTC (permalink / raw)
  To: 7815

Hi,

I'm trying to use the GDB mode of Emacs to debug Ada code.

Running M-x gdb RET RET
catch exception

raises the following:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  propertize(nil font-lock-face font-lock-function-name-face)
  gdb-breakpoints-list-handler-custom()
  gdb-breakpoints-list-handler()
  apply(gdb-breakpoints-list-handler nil)
  (save-current-buffer ...
  (with-current-buffer ...
  (lambda (&rest args) ...
  gdb-done-or-error(...
  gud-gdbmi-marker-filter(...
  apply(gud-gdbmi-marker-filter ...
  gud-marker-filter(...
  gud-filter(...

I could reproduce this with a freshly launched "emacs -Q".

Thanks,

In GNU Emacs 24.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-08-11 on bauges
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/home/moy/local/usr/''

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
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  erc-track-mode: t
  recentf-mode: t
  icomplete-mode: t
  which-function-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/





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

* bug#7815: 24.0.50; "catch exception" in gdb mode is badly handled
  2011-01-10 15:08 bug#7815: 24.0.50; "catch exception" in gdb mode is badly handled Matthieu Moy
@ 2011-12-26  8:37 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-12-26  8:37 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: 7815

> I'm trying to use the GDB mode of Emacs to debug Ada code.
>
> Running M-x gdb RET RET
> catch exception
>
> raises the following:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   propertize(nil font-lock-face font-lock-function-name-face)
>   gdb-breakpoints-list-handler-custom()
>   gdb-breakpoints-list-handler()
>   apply(gdb-breakpoints-list-handler nil)
>   (save-current-buffer ...

Thanks for the bug report, and sorry for the long delay.  I think this
was independently fixed by Sam Steingold; if you still still see the
problem with latest trunk, please reopen the bug.

revno: 103105
committer: Sam Steingold <sds@gnu.org>
branch nick: trunk
timestamp: Thu 2011-02-03 14:59:17 -0500
message:
  * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
  Do not error out when `func' is nil.





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

end of thread, other threads:[~2011-12-26  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 15:08 bug#7815: 24.0.50; "catch exception" in gdb mode is badly handled Matthieu Moy
2011-12-26  8:37 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).