all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: gdb debug core file?
Date: Wed, 04 May 2016 20:38:03 +0300	[thread overview]
Message-ID: <83bn4liv0k.fsf@gnu.org> (raw)
In-Reply-To: <20160504145849.GA25185@dstar.dstar.net> (message from stanton arch on Wed, 4 May 2016 10:58:49 -0400)

> Date: Wed, 4 May 2016 10:58:49 -0400
> From: stanton arch <stanton_arch@mail.com>
> 
> How do you debug a core file with gdb under emacs now?
> 
> I'm using emacs 24.5.1 and I can't figure out invocation to debug core file.
> 
> My emacs is starting with "gdb -i=mi" now and it seems to work fine running  and debug some program:
>  gdb -i=mi myprogram 
> 
> I've tried passing args and names to executable and core file various ways but haven't figured out correct way.

  gdb -i=mi --core=CORE-FILE myprogram

or

  gdb -i=mi myprogram CORE-FILE




  reply	other threads:[~2016-05-04 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 14:58 gdb debug core file? stanton arch
2016-05-04 17:38 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-04 21:52 stanton arch
2016-05-05 14:49 stanton arch
2016-05-05 16:10 ` 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

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

  git send-email \
    --in-reply-to=83bn4liv0k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.