From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22058: 25.1.50; emacs_backtrace.txt Date: Tue, 01 Dec 2015 18:22:01 +0200 Message-ID: <8337vmkul2.fsf@gnu.org> References: <929593b8-ad63-4b4a-9587-1eef6e821cc6@default> <3505c131-e8ab-4f86-8828-b378bc9dac47@default> <222e11d1-95f0-4ade-8f86-18f034eabb1e@default> <83h9k2kwsa.fsf@gnu.org> <32860321-e9f0-4057-9e4a-b2be4aa5dc82@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448987071 6409 80.91.229.3 (1 Dec 2015 16:24:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 16:24:31 +0000 (UTC) Cc: jwiegley@gmail.com, 22058@debbugs.gnu.org, lekktu@gmail.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 01 17:24:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a3nis-0007eY-RD for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 17:24:11 +0100 Original-Received: from localhost ([::1]:53557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3nis-000253-4r for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 11:24:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3nio-00024v-0B for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 11:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3nik-0007rC-Q9 for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 11:24:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3nik-0007r7-Mn for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 11:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3nik-0002lL-CS for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 11:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2015 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22058 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo wontfix Original-Received: via spool by 22058-submit@debbugs.gnu.org id=B22058.144898698810549 (code B ref 22058); Tue, 01 Dec 2015 16:24:02 +0000 Original-Received: (at 22058) by debbugs.gnu.org; 1 Dec 2015 16:23:08 +0000 Original-Received: from localhost ([127.0.0.1]:35238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3nhr-0002k5-Dh for submit@debbugs.gnu.org; Tue, 01 Dec 2015 11:23:07 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:34541) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3nhW-0002jH-J1 for 22058@debbugs.gnu.org; Tue, 01 Dec 2015 11:23:05 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NYO00H00T8YOT00@mtaout25.012.net.il> for 22058@debbugs.gnu.org; Tue, 01 Dec 2015 18:19:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYO00EFHTC0QE30@mtaout25.012.net.il>; Tue, 01 Dec 2015 18:19:12 +0200 (IST) In-reply-to: <32860321-e9f0-4057-9e4a-b2be4aa5dc82@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109506 Archived-At: > Date: Tue, 1 Dec 2015 08:11:33 -0800 (PST) > From: Drew Adams > Cc: jwiegley@gmail.com, lekktu@gmail.com, 22058@debbugs.gnu.org > > > > 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. It means invoke emacs.exe rather than runemacs.exe (which invokes emacs.exe under the hood). > > 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? The text below from the README file should get you started. > (Why doesn't the gdb binary include everything it needs?) Because I don't want to distribute Python, including its sources. ====================================================================== gdb-7.10-w32 A Windows build of the latest version 7.10 of GDB. The MinGW site offers only an outdated version 7.6.1, which was on top of that built without Python support. Here you have the latest release that supports Python. It also includes the lately added Guile support. One caveat: you will have to download and install Python 2.6.6 from https://www.python.org/download/releases/2.6.6/; gdb.exe in this archive depends on the Python library and DLL, and will not run without it being available on your system. (I don't want to distribute Python binaries, because then I would also need to provide the Python sources from this site, which is way too much.) Starting with GDB 7.10, the data files in this port are installed into a version-specific directory 'share/gdb/VERSION/'. This is so you could keep previous versions of GDB renamed as, say, gdb-x.y.z.exe, and still be able to invoke them and let them find their data files. If this is the first GDB port you are installing that uses this structure, I suggest to move the data files of the previous version -- everything under share/gdb/ -- into a version specific subdirectory share/gdb/X.Y.Z/, where X.Y.Z is the version of GDB you had before this one. Guile dependencies are included in this binary distribution. If you install this anywhere but D:\usr, you will need to set 2 environment variables: set GUILE_LOAD_PATH=x:\foo\share\guile\2.0 set GUILE_LOAD_COMPILED_PATH=x:\foo\lib\guile\2.0\ccache where "x:\foo" is the directory from which you unzipped the GDB binary zip file. These variables are required for the Guile support in GDB to be able to initialize itself. If GDB complains at startup about being unable to load Python modules, you may need to set the PYTHONPATH environment variable to point to your Python 2.6.6 installation, like this: set PYTHONPATH=C:\Python26;C:\Python26\Lib;C:\Python26\;C:\Python26\DLLs;C:\Python26\Lib\lib-tk;C:\Python26\Lib\site-packages (assuming you installed Python in C:\Python26). This port also supports TUI, the Text-mode User Interface; invoke GDB with the -tui command-line option to activate it.