unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
Subject: Re: git+master: c6e6503900534d939dd94b812563c27f22c49b7d crash when using gnus
Date: Sat, 28 Apr 2018 13:56:28 +0200	[thread overview]
Message-ID: <874ljvh7df.fsf@mat.ucm.es> (raw)
In-Reply-To: 83bme3txq2.fsf@gnu.org

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]



   > Basically, start GDB with Emacs as the executable to debug, then run
   > Emacs from GDB's command line.


Oh well,

I tried gdb /opt/emacs27/bin/emacs
and I obtained
Reading symbols from /opt/emacs27/bin/emacs...(no debugging symbols
found)...done.

But no emacs started.

The message indicates that I should recompile emacs?

   > No need to google, the answer is under your fingertips: see the
   > beginning of the file etc/DEBUG in the Emacs source tree.

Thanks, but just read it, but it is a bit confusing, since it is not
clear to me whether I could start emacs first and then start gdb within
emacs.

So it comes down to this: is 

gdb /opt/emacs27/bin/emacs

in the emacs/src directory the right command to use?
I tried it but emacs does not start, what do I miss?


So shall I recompile emacs with debug options like

  CFLAGS='-O0 -g3' ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]

  reply	other threads:[~2018-04-28 11:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-28  9:06 git+master: c6e6503900534d939dd94b812563c27f22c49b7d crash when using gnus Uwe Brauer
2018-04-28  9:43 ` Eli Zaretskii
2018-04-28 10:11   ` Uwe Brauer
2018-04-28 10:46     ` Eli Zaretskii
2018-04-28 11:56       ` Uwe Brauer [this message]
2018-04-28 12:09         ` Eli Zaretskii
2018-04-29  8:46           ` Uwe Brauer
2018-04-29  9:53             ` Eli Zaretskii
2018-04-29 14:54               ` Uwe Brauer
2018-04-29 15:09                 ` Eli Zaretskii
2018-04-29 15:26                   ` Noam Postavsky
2018-04-29 16:30                     ` Paul Eggert
2018-04-29 17:08                       ` Eli Zaretskii
2018-04-29 17:18                         ` Paul Eggert
2018-04-29 17:40                           ` Eli Zaretskii
2018-04-29 16:31                     ` Eli Zaretskii
2018-04-29 15:01           ` Uwe Brauer
2018-04-29 15:33             ` Noam Postavsky
2018-04-29 16:33               ` Eli Zaretskii
2018-04-29 16:39                 ` Uwe Brauer
2018-04-29 16:39               ` Uwe Brauer
2018-04-29 17:09                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ljvh7df.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).