help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb debug core file?


From: Eli Zaretskii
Subject: Re: gdb debug core file?
Date: Wed, 04 May 2016 20:38:03 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]