GNU bug report logs - #52196
28.0.60; gdb-mi error message: "wrong type argument: stringp"

Previous Next

Package: emacs;

Reported by: sebastian <at> bsnrg.net

Date: Tue, 30 Nov 2021 10:09:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.60

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 52196 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: sebastian <at> bsnrg.net
Cc: 52196 <at> debbugs.gnu.org
Subject: Re: bug#52196: 28.0.60; gdb-mi error message: "wrong type argument:
 stringp"
Date: Tue, 30 Nov 2021 14:10:21 +0100
sebastian <at> bsnrg.net writes:

> In the function gdb-frame-handler the form:
>
> (setq gdb-selected-file (file-local-name (gdb-mi--field frame 'fullname)))
>
> causes the error message if gdb-mi--field returns nil. I don't know if this is an expected return value for that function or not. In any case, file-local-name signals the error in case of nil input. The file-local-name wrapping was introduced semi-recently with commit 019c70e731d0243ad3ea2d4ebb02dd4a343e868f.

Thanks for the analysis.  I think I've now fixed this in Emacs 28 -- can
you pull and rebuild and see whether this works better now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.