From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Re: gdb call with core Date: Mon, 15 May 2006 08:14:03 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147673666 4340 80.91.229.2 (15 May 2006 06:14:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 06:14:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 15 08:14:25 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfWLU-0005mw-VV for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 08:14:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfWLU-0005ky-Ey for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 02:14:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfWLJ-0005ks-Q0 for emacs-devel@gnu.org; Mon, 15 May 2006 02:14:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfWLI-0005kF-AY for emacs-devel@gnu.org; Mon, 15 May 2006 02:14:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfWLI-0005kC-4T for emacs-devel@gnu.org; Mon, 15 May 2006 02:14:08 -0400 Original-Received: from [192.11.226.163] (helo=hoemail2.lucent.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FfWNc-0005zL-SA; Mon, 15 May 2006 02:16:33 -0400 Original-Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by hoemail2.lucent.com (8.12.11/8.12.11) with ESMTP id k4F6E3QP016962; Mon, 15 May 2006 01:14:04 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p2+Sun/8.11.7) with ESMTP id k4F6E3T15493; Mon, 15 May 2006 08:14:03 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.11.7p2+Sun/8.8.5) with ESMTP id k4F6E3p09125; Mon, 15 May 2006 08:14:03 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id k4F6E3G22944; Mon, 15 May 2006 08:14:03 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@lucent.com using -f Original-To: Eli Zaretskii X-Zippy-Says: I just had a NOSE JOB!! In-Reply-To: (Eli Zaretskii's message of "Fri, 12 May 2006 16:36:15 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) 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:54491 Archived-At: >>>>> "Eli" == Eli Zaretskii writes: Eli> Eli> I can see why this is reasonable. Why do you think it's bad? I hope I didn't say "bad", I just wanted to point out that it's sometimes a bit inconvenient. Besides the current behavior is also sometimes a bit confusing. For example last Friday I tried to look at an emacs core (in my current directory where emacs had just written the core) with "gdb path-to-emacs/emacs core". After a short glance I decided to take a closer look, which for me means I need emacs with gud, so I started emacs in this directory and tried the same command that I had just executed in the shell and now emacs couldn't find the core. I recall that I had a similar problem a while ago where I ran a Perl script with two files as parameters and these files did (similar to the core file) reside in another directory. In that case I had to specify the directory twice for the parameters. Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- The day Microsoft makes something that does not suck, is probably the day they start making vacuum cleaners.