public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Sandra Loosemore <sandra@codesourcery.com>
To: Pedro Alves <palves@redhat.com>
Cc: <Paul_Koning@Dell.com>, <gbenson@redhat.com>, <gdb@sourceware.org>
Subject: Re: GDB now takes 4 minutes to start up with remote gdbserver target
Date: Wed, 29 Jul 2015 01:32:00 -0000	[thread overview]
Message-ID: <55B82CB1.9070603@codesourcery.com> (raw)
In-Reply-To: <55B7FE6E.6090808@redhat.com>

On 07/28/2015 04:13 PM, Pedro Alves wrote:
> On 07/24/2015 06:18 PM, Sandra Loosemore wrote:
>
>> It used to print a helpful message
>> suggesting using "set sysroot" if the user wants the shared library
>> information, instead of hanging on startup with no indication of what
>> the trouble is or how to fix it.  I can't see the new default behavior
>> as an improvement over the old.
>
> I fully agree that those should be fixed.  If GDB had warned giving a
> "set sysroot" suggestion, and the slow retrieval was cancelable, would we
> be discussing the new default?
>

I think that would be about 1000 times better than the current 
situation.  One mild concern I have is that if "set sysroot" with no 
arguments is the recommended way to restore the old behavior, IIUC old 
versions of GDB give an error on that form of the command.  So, if you 
have startup scripts, IDE-based launchers, documentation, etc that need 
to support multiple versions of GDB, is there a backward-compatible 
command that works everywhere to get the old behavior, if that's what 
you want?  Perhaps the GDB manual should explicitly document that 
instead of/in addition to plain "set sysroot".

I'd also like to see the manual be more explicit that transferring files 
from the target can be slow and it is recommended to make a copy 
available on the host.  And, I think the language currently in the 
manual that libraries on the target can be stripped as long as libraries 
on the host aren't needs to be tweaked, since this makes no sense if the 
default is to get the potentially-stripped libraries from the target anyway.

-Sandra


  reply	other threads:[~2015-07-29  1:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 23:21 Sandra Loosemore
2015-07-24  2:39 ` Sandra Loosemore
2015-07-24  8:52   ` Gary Benson
2015-07-24 13:59     ` Sandra Loosemore
2015-07-24 14:08       ` Paul_Koning
2015-07-24 15:11         ` Gary Benson
2015-07-24 15:27           ` Paul_Koning
2015-07-24 16:36             ` Pedro Alves
2015-07-24 16:58               ` Paul_Koning
2015-07-28 22:12                 ` Pedro Alves
2015-07-24 17:19               ` Sandra Loosemore
2015-07-27 12:22                 ` Gary Benson
2015-07-28  9:25                   ` Gary Benson
2015-07-28 15:22                     ` Sandra Loosemore
2015-07-29 10:00                       ` Gary Benson
2015-07-28 15:38                     ` Gary Benson
2015-07-28 17:04                     ` Doug Evans
2015-07-28 22:13                 ` Pedro Alves
2015-07-29  1:32                   ` Sandra Loosemore [this message]
2015-07-26 20:03               ` Frank Ch. Eigler
2015-07-26 20:06                 ` Jan Kratochvil
2015-07-26 20:50                   ` Frank Ch. Eigler
2015-07-28 16:55     ` Doug Evans
2015-07-28 22:14       ` Pedro Alves
2015-07-29 10:39         ` Gary Benson
2015-07-29 16:54           ` Jan Kratochvil
2015-07-29 10:15       ` Gary Benson
2015-07-24 10:34   ` Gary Benson
2015-07-24 16:05     ` Sandra Loosemore

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B82CB1.9070603@codesourcery.com \
    --to=sandra@codesourcery.com \
    --cc=Paul_Koning@Dell.com \
    --cc=gbenson@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=palves@redhat.com \
    /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.
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).