Subject: Re: bug#29326: 26.0.90; Emacs crash on running comment-dwim

From: Noam Postavsky <[email-masked]>
Date: Fri, 17 Nov 2017 13:16:13 -0500

On Fri, Nov 17, 2017 at 1:13 PM, Kaushal Modi <[email-masked]> wrote:
> On Fri, Nov 17, 2017 at 1:08 PM Kaushal Modi <[email-masked]> wrote:
>>
>> (gdb) xbacktrace
>> Undefined command: "xbacktrace".  Try "help".
>> (gdb)
>
>
> Looks like that *is* the command.
>
> Then is it possible it's related to
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29332? Let me rebuild with
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-26&id=648c128b5f5eb8988aabcc2073b706d2561acd15
> .. just in case.

You probably just need to do

   source src/.gdbinit

first.  See also "Configuring GDB" in etc/DEBUG.