Subject: bug#7815: 24.0.50; "catch exception" in gdb mode is badly handled

From: Matthieu Moy <[email-masked]>
Date: Mon, 10 Jan 2011 16:08:02 +0100

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/