From: robert marshall <robert.marshall@tnei.co.uk>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; gdb not running the program first time around
Date: Thu, 14 Feb 2008 09:04:43 +0000 [thread overview]
Message-ID: <47B4042B.6000702@tnei.co.uk> (raw)
In-Reply-To: <18355.35950.231456.824299@kahikatea.snap.net.nz>
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
next prev parent reply other threads:[~2008-02-14 9:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 10:13 23.0.60; gdb not running the program first time around robert marshall
2008-02-14 0:33 ` Nick Roberts
2008-02-14 9:04 ` robert marshall [this message]
2008-02-14 23:01 ` Nick Roberts
2008-02-15 11:28 ` robert marshall
2008-02-15 21:36 ` Nick Roberts
2008-02-15 22:30 ` Miles Bader
2008-02-16 13:13 ` Eli Zaretskii
2008-02-18 9:32 ` robert marshall
2008-02-18 10:12 ` Nick Roberts
2008-02-21 9:31 ` robert marshall
2008-02-22 8:43 ` Nick Roberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B4042B.6000702@tnei.co.uk \
--to=robert.marshall@tnei.co.uk \
--cc=emacs-pretest-bug@gnu.org \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).