From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Help getting backtrace in gdb Date: Fri, 06 Oct 2017 17:35:06 +0000 Message-ID: References: <83mv57zd3h.fsf@gnu.org> <83y3orxj9e.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c07e40896b82a055ae4432b" X-Trace: blaine.gmane.org 1507311374 31075 195.159.176.226 (6 Oct 2017 17:36:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2017 17:36:14 +0000 (UTC) Cc: emacs-devel@gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 06 19:36:06 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0WXZ-0005yo-J6 for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 19:36:01 +0200 Original-Received: from localhost ([::1]:46255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0WXb-0008Nd-Ph for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 13:36:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0WWu-0008NN-Eu for emacs-devel@gnu.org; Fri, 06 Oct 2017 13:35:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0WWt-0004N6-Gt for emacs-devel@gnu.org; Fri, 06 Oct 2017 13:35:20 -0400 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:53348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0WWr-0004J8-KE; Fri, 06 Oct 2017 13:35:17 -0400 Original-Received: by mail-qt0-x229.google.com with SMTP id n61so4809164qte.10; Fri, 06 Oct 2017 10:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eMIoAS74S9/YjWZu0CfMiVVpZqcO1ChUccF1zfhzeNE=; b=C1sLOMOPEpNLd1js+yIzL5M4p9EK2T6VXtTsSetHF7xfKOaG+cO9zbXRYhRU5fHyFu OPeHz9ckRy6+KeWjXKRZkppP8YzpdhmqVK0/xQbHM8ftHLRb3cDYXHFLex2DeqxSdLg4 3WM3Dcw29wrEeZlp69t4Ey6lwUjiQCiuINk+f8N4A9N3RoxwFoDFkfVDOO5xc+m13Wp4 dCCmHMHlOKYr1KYBviWN0/TXg1eCWcONuAjGjMXRLD618DAcjJPJrcQwppUebaJP5ssY tV/7RDLsRixLFqlfm2OBrP+xWr6z5clKEuZvv5Wo4vBiQ/irQBkeD2IzGAgJGTlj+UQs Shcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eMIoAS74S9/YjWZu0CfMiVVpZqcO1ChUccF1zfhzeNE=; b=fRfScXizTbCIFkAYFJVWLZeNJpZWkKrZ0/t3HaDaVYbHCtRZlSaBhLtR+E7i96l+w9 BquL4zgEE7mB1MQBFjceVIw8tKtq70bPgZ1t4EzcXQEa0GLXwKvA5MdnBgcberVHvuV4 DpPpb9JmbnNpaNz8XVGjdcmvzA5OFrv62EOTDxDaTW6ps9rks0BEsnv+rcJf5DS2FYIn liQs5xRFFyzEB87jv27wK30c+o5E9DifrKVYwSv24i1QOCunWFhCG7Aa0+C/jZ9GUBiJ Tq685YDdwClwHShobzmUYLlFRLaxpJzRtMgycJJNCNYIUMmwTgcVcJsa1OthEIf/dWdo JI7A== X-Gm-Message-State: AMCzsaWZvPnkJJW/4zPSmAuVQ917NhgQZINA7uKzVC94aig+lxW2NTgt 4F5y5G6fngIgdAFNaFrUoF/u4eGZ1ZAbD6MhKM8= X-Google-Smtp-Source: AOwi7QAi7QFnCBBjh3n16zyf8LbuUD5WC8xhLaWDhvABwTV1tsjM0rpOgqOpqp/YvKYVbFn05Gltshu87Tgje6RObLs= X-Received: by 10.37.204.14 with SMTP id l14mr2187331ybf.447.1507311316545; Fri, 06 Oct 2017 10:35:16 -0700 (PDT) In-Reply-To: <83y3orxj9e.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219200 Archived-At: --94eb2c07e40896b82a055ae4432b Content-Type: text/plain; charset="UTF-8" On Wed, Oct 4, 2017 at 7:09 AM Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Wed, 04 Oct 2017 10:53:00 +0000 > > Cc: Emacs developers , Noam Postavsky < > npostavs@users.sourceforge.net> > > > > Also, with older gdb version, that ships with my OS, I don't get that > ptrace error, but the gdb is not catching > > any exceptions from emacs. While in the latest gdb 8.0.1, I get ptrace > error. So it could be use that the newer > > version is throwing an error where needed? > Finally got GDB working.. the solution was embarrassing.. needed to restart my machine.. it had an uptime of around a year. (Now, will come back with some useful backtrace results if I can still recreate those disappearing line numbers after the machine reboot... sigh.) -- Kaushal Modi --94eb2c07e40896b82a055ae4432b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 4,= 2017 at 7:09 AM Eli Zaretskii <eliz@gnu= .org> wrote:
> From: Kaus= hal Modi <ka= ushal.modi@gmail.com>
> Date: Wed, 04 Oct 2017 10:53:00 +0000
> Cc: Emacs developers <emacs-devel@gnu.org>, Noam Postavsky <npostavs@users.sourcef= orge.net>
>
> Also, with older gdb version, that ships with my OS, I don't get t= hat ptrace error, but the gdb is not catching
> any exceptions from emacs. While in the latest gdb 8.0.1, I get ptrace= error. So it could be use that the newer
> version is throwing an error where needed?

Finally got GDB working.. the solution was embarrassing.. needed t= o restart my machine.. it had an uptime of around a year.

(Now, will come back with some useful backtrace results if I can st= ill recreate those disappearing line numbers after the machine reboot... si= gh.)
--

Kaushal Modi

--94eb2c07e40896b82a055ae4432b--