From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: other weird gdb-mi problems Date: Wed, 26 Aug 2009 20:19:15 +0300 Message-ID: <83vdkacx2k.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1251312008 2708 80.91.229.12 (26 Aug 2009 18:40:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 18:40:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 26 20:40:01 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgNPS-0003QA-Qm for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 20:40:00 +0200 Original-Received: from localhost ([127.0.0.1]:45067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgNPQ-0005DW-Vr for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 14:39:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgM9X-00032f-DT for emacs-devel@gnu.org; Wed, 26 Aug 2009 13:19:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgM9W-000316-BP for emacs-devel@gnu.org; Wed, 26 Aug 2009 13:19:18 -0400 Original-Received: from [199.232.76.173] (port=43866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgM9V-00030b-Uv for emacs-devel@gnu.org; Wed, 26 Aug 2009 13:19:18 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:41942) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgM9T-0003E0-9R; Wed, 26 Aug 2009 13:19:15 -0400 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KOZ00800UO5NW00@i_mtaout5.012.net.il>; Wed, 26 Aug 2009 20:19:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.144.38]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KOZ009WDUS0RH11@i_mtaout5.012.net.il>; Wed, 26 Aug 2009 20:19:12 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114622 Archived-At: > From: Miles Bader > Date: Wed, 26 Aug 2009 16:49:10 +0900 > > Now let's try moving to deeper stack frames, using the "up" command: > > (gdb) up > #1 0x08371994 in IpLoc::contains (this=0x84eb8fc, var=0x84eb894) > at IpLoc.h:1048 > 1048 && _oc_start <= var->_oc_start && _oc_end >= var->_oc_end); > (gdb) up > #1 0x08371994 in IpLoc::contains (this=0x84eb8fc, var=0x84eb894) > at IpLoc.h:1048 > 1048 && _oc_start <= var->_oc_start && _oc_end >= var->_oc_end); > > ... wait a minute... why am I still at frame 1?! > "down" is similarly weird: > > (gdb) down > Bottom (innermost) frame selected; you cannot go down. Does this work correctly outside Emacs? (Sorry for asking such obvious questions, but I thought it could be some genuine GDB problem with inlined functions.)