GNU bug report logs - #22058
25.1.50; emacs_backtrace.txt

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 29 Nov 2015 23:39:02 UTC

Severity: normal

Tags: moreinfo, wontfix

Found in version 25.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jwiegley <at> gmail.com, 22058 <at> debbugs.gnu.org, lekktu <at> gmail.com
Subject: bug#22058: 25.1.50; emacs_backtrace.txt
Date: Tue, 1 Dec 2015 08:11:33 -0800 (PST)
[Message part 1 (text/plain, inline)]
> > I run Emacs using `runemacs' in the bin directory.
> 
> It is easier to run emacs.exe directly, like John suggested.  When GDB
> shows its prompt, type "run" and press RET to start Emacs.

No idea what "directly" means here.  John suggested using
"gdb --args emacs <args to Emacs>".  I put this in a Windows
shortcut and tried it:

 <path-to>\gdb.exe --args emacs --debug-init <my-dir>

Where <path-to> is the path to the (old) binary I have, and
<my-dir> is a directory I want to dired as my first window.

(Normally I use "<path-to>\runemacs.exe --debug-init <my-dir>".)

> > I do have an old Windows gdb.exe that dates from 2010.  I don't
> > recall where I got it.  I tried that with the args you cited,
> > and that crashed immediately - see attached screenshot.
> 
> Wasn't that with Emacs 20.7?

No.  I've never used Emacs 20.7 with gdb.  It was a binary I
got in 2010 to try to debug something you asked about, and
using a dev snapshot at that time (would that have been an
Emacs 23 snapshot?).  I thought perhaps I got the binary from
you or from somewhere you pointed me to.

> I have no idea who compiled that and how, but it's quite
> possible that those old versions were build with
> the Microsoft compiler, not with GCC.
> 
> > I see tars of source code here: http://ftp.gnu.org/gnu/gdb/.
> > I don't see any Windows binaries at http://www.gnu.org/software/gdb/
> > (e.g. at http://www.gnu.org/software/gdb/download/).
> 
> You will find the latest GDB compiled for Windows here:
>   http://sourceforge.net/projects/ezwinports/files/gdb-7.10-w32-
> bin.zip/download

OK, thanks.  I tried using that and got the attached error.
What's the easiest way to remedy this?  (Why doesn't the gdb
binary include everything it needs?)  Thx.
[throw-gdb-no-python.png (image/png, attachment)]

This bug report was last modified 9 years and 176 days ago.

Previous Next


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