Re: GDB now takes 4 minutes to start up with remote gdbserver target
Jan Kratochvil <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 29 Jul 2015 12:39:48 +0200, Gary Benson wrote: > Yes. Jan told me he was considering changing sysroot to a multiple- > component path, with the default being something like "/:target:/". > This should work really nicely, but it only makes sense with build-id > validation (it's just too easy to get the wrong files otherwise). > I'm assuming we can cope with the fact that the separator ":" appears > in "target:" somehow :) Yes, if a parsed component is "target" it is merged back with the next one. https://sourceware.org/git/?p=archer.git;a=commitdiff;h=972af46ddba59d32ba903da5bd736bc6239a1958#patch2 > > If resolving the interruptability and adding a suggestive warning > > is deemed insufficient resolution (though I think we should try it > > first), then I think it's too late to add too much magic, and we should > > change the default sysroot back to "" by default. Users can still then > > put "set sysroot target:" in .gdbinit with 7.10, and we can continue > > addressing identified issues until "target:" (or something around it) > > can be made the default, on master. > > I'm going to look at adding a warning. There should be also some 'set' possibility to suppress that warning if one knows what s/he is doing. Jan