From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: GDB and compiler-operations Date: Fri, 07 Sep 2018 11:58:06 -0400 Message-ID: References: <5a2c709e-aa49-b5b6-3fbe-fb8bd33acb23@cs.ucla.edu> <06d01a4b-9d98-df5b-be8a-aeda449acad7@cs.ucla.edu> <83bm99vijd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536335814 29115 195.159.176.226 (7 Sep 2018 15:56:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 15:56:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 17:56:50 2018 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 1fyJ7p-0007UX-VQ for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 17:56:50 +0200 Original-Received: from localhost ([::1]:39246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyJ9w-0004Mc-5P for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 11:59:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyJ9N-0004ML-3c for emacs-devel@gnu.org; Fri, 07 Sep 2018 11:58:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyJ9F-0003Ji-3M for emacs-devel@gnu.org; Fri, 07 Sep 2018 11:58:22 -0400 Original-Received: from [195.159.176.226] (port=46801 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyJ9C-0003Aa-Od for emacs-devel@gnu.org; Fri, 07 Sep 2018 11:58:15 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fyJ73-0006gK-PH for emacs-devel@gnu.org; Fri, 07 Sep 2018 17:56:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:NjzZKzgywR3whkklVW2vlS2KQt8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:229422 Archived-At: > On a newer platform where GDB can see C macros (you really should enable > this if you can, by the way, it mak,es debugging easier), I'm on Debian testing, which doesn't strike me as old. How new does it need to be? > I see this: > > (gdb) p offsetof (struct Lisp_Vector, contents) > No symbol "__builtin_offsetof" in current context. Hmm... indeed that's the error I was seeing the other day, but today I get the other one. IIRC this was the same machine, tho (and if not, it was one running Debian testing or Debian stable, so nothing newer). Stefan