From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82759 invoked by alias); 23 Jul 2015 23:21:39 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 82745 invoked by uid 89); 23 Jul 2015 23:21:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FROM_12LTRDOM autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Jul 2015 23:21:38 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1ZIPnx-0004RL-Af from Sandra_Loosemore@mentor.com for gdb@sourceware.org; Thu, 23 Jul 2015 16:21:33 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Thu, 23 Jul 2015 16:21:31 -0700 Message-ID: <55B1768E.9090309@codesourcery.com> Date: Thu, 23 Jul 2015 23:21:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: "gdb@sourceware.org" Subject: GDB now takes 4 minutes to start up with remote gdbserver target Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg00038.txt.bz2 I believe this is a consequence of these patch series: https://sourceware.org/ml/gdb-patches/2015-03/msg00638.html https://sourceware.org/ml/gdb-patches/2015-04/msg00015.html $ nios2-linux-gnu-gdb a.out [...] (gdb) target remote altera-3c120-1:6789 Remote debugging using altera-3c120-1:6789 Reading symbols from target:/scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/ld-linux-nios2.so.1...done. 0x2aaa8cc4 in _start () from target:/scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/ld-linux-nios2.so.1 (gdb) break main Breakpoint 1 at 0x2760: file /home/sandra/examples/croak.c, line 10. (gdb) shell date Thu Jul 23 16:02:32 PDT 2015 (gdb) c Continuing. shell date Breakpoint 1, main () at /home/sandra/examples/croak.c:10 10 n = sizeof (s) / sizeof (const char *); (gdb) shell date Thu Jul 23 16:06:31 PDT 2015 Is this really appropriate and user-friendly default behavior? Are users really expected to wait 4 minutes for GDB to start up whenever they debug a program on a remote target now? :-( It is definitely the vFile traffic that is slowing things down.... it comes back from the "c" command instantaneously if I disable those packets. -Sandra the unhappy