From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: robert marshall Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; gdb not running the program first time around Date: Thu, 14 Feb 2008 09:04:43 +0000 Message-ID: <47B4042B.6000702@tnei.co.uk> References: <87r6fhi2ov.fsf@tnei.co.uk> <18355.35950.231456.824299@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202979969 14064 80.91.229.12 (14 Feb 2008 09:06:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2008 09:06:09 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 10:06:32 2008 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 1JPa2J-0001pc-0f for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2008 10:06:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPa1p-0000ay-23 for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2008 04:05:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPa1Z-0000VR-Ht for emacs-devel@gnu.org; Thu, 14 Feb 2008 04:04:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPa1X-0000Ub-RA for emacs-devel@gnu.org; Thu, 14 Feb 2008 04:04:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPa1X-0000UQ-MF for emacs-devel@gnu.org; Thu, 14 Feb 2008 04:04:55 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPa1X-0004Tz-JF for emacs-devel@gnu.org; Thu, 14 Feb 2008 04:04:55 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JPa1X-0007vh-9f for emacs-pretest-bug@gnu.org; Thu, 14 Feb 2008 04:04:55 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JPa1T-0004SY-SP for emacs-pretest-bug@gnu.org; Thu, 14 Feb 2008 04:04:54 -0500 Original-Received: from clarity.mcc.ac.uk ([130.88.200.144]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JPa1T-0004Rt-IZ for emacs-pretest-bug@gnu.org; Thu, 14 Feb 2008 04:04:51 -0500 Original-Received: from ipsa-gw.capcis.umist.ac.uk ([130.88.144.65] helo=[130.88.108.13]) by clarity.mcc.ac.uk with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JPa1L-000Aqn-OV; Thu, 14 Feb 2008 09:04:43 +0000 User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <18355.35950.231456.824299@kahikatea.snap.net.nz> X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details. X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:89060 gmane.emacs.pretest.bugs:21079 Archived-At: Nick Roberts wrote: > > GNU gdb 6.6-debian > > Copyright (C) 2006 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you are > > welcome to change it and/or distribute copies of it under certain conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for details. > > This GDB was configured as "i486-linux-gnu"... > > Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". > > (gdb) run > > Does it say [ready] here in the mode-line? > > It does - I should have said that it doesn't happen every time I start up a gdb buffer > > C-c C-cQuit <------------- sits here until I C-c C-c > > (gdb) run > > Starting program: /home/robert/IPSA/IPSA+1.6/IPSAplus/ipsa-so > > [Thread debugging using libthread_db enabled] > > [New Thread -1231702336 (LWP 8910)] > > Qt: gdb: -nograb added to command-line options. > > Use the -dograb option to enforce grabbing. > > Do you have a .gdbinit file in this directory or $HOME? > > No > If so, what happens if you do "gdb --annotate=3 -nx ipsa-so"? > > If this works, what do you have in your .gdbinit? > > If it still doesn't work, what happens if you also start with "emacs -Q"? > > I've just managed to replicate this behaviour when starting with -Q I think it happens when I type 'run' - at the prompt (already there in the buffer) - when the status line still says [initializing], so it changes to [ready] at around the same time as I press 'enter' ipsa-so is a fairly large file (c 90MB) and it takes around 2 sec from entering the 'gdb --annotate...' line to get to gdb showing [ready], I've just tried to do the same thing with the emacs binary and that starts up far too fast to get the same problem! Robert