From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20542 invoked by alias); 14 Nov 2007 08:40:01 -0000 Received: (qmail 20499 invoked by uid 22791); 14 Nov 2007 08:40:00 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 08:39:57 +0000 Received: by py-out-1112.google.com with SMTP id d32so4598843pye for ; Wed, 14 Nov 2007 00:39:55 -0800 (PST) Received: by 10.35.90.1 with SMTP id s1mr8533267pyl.1195029595156; Wed, 14 Nov 2007 00:39:55 -0800 (PST) Received: by 10.35.69.5 with HTTP; Wed, 14 Nov 2007 00:39:55 -0800 (PST) Message-ID: Date: Wed, 14 Nov 2007 08:40:00 -0000 From: "Robert Bu" To: gdb@sourceware.org Subject: It takes a long time to disassemble some instructions for remote target MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 X-SW-Source: 2007-11/txt/msg00124.txt.bz2 Hello all, When I try to disassemble a range of instructions, for example from PC1 to PC2, GDB tries to fetch and disassemble the instructions one by one. This may not be a problem for native debugging, or for remote debugging with high connection speed. However, it takes some long time for a not so fast serial connection, since GDB fetches one instruction at a time, which results in a lot of 'm' packets. Is that possible for GDB to fetch all instructions back for one time with just one(maybe more than one, but now a lot of) 'm' packet, and disassemble them locally one by one? Thanks. Robert. 20071114