From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13439 invoked by alias); 2 Oct 2002 00:41:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13391 invoked from network); 2 Oct 2002 00:41:18 -0000 Received: from unknown (HELO mail.kendin.com) (209.128.93.97) by sources.redhat.com with SMTP; 2 Oct 2002 00:41:18 -0000 Received: from kamwin (209-128-93-100.BAYAREA.NET [209.128.93.100]) by mail.kendin.com (8.11.6/8.11.2) with SMTP id g920aB212467 for ; Tue, 1 Oct 2002 17:36:12 -0700 Message-ID: <011c01c269ac$a1dd4700$b3011f0a@kamwin> From: "Kam Lee" To: References: Subject: help: gdb with no ROM/Flash Date: Tue, 01 Oct 2002 17:41:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-10/txt/msg00019.txt.bz2 Hi all, I would like to get help to gdb a target without loading a file, it is a boot program stored in Flash memory. After GDB start, I use "set $pc=x" to the particular address, let say this particular address is 0. By dumping the address x/x 0, I can see valid instructions. By doing "disas", I got "No function contains program for selected frame." By doing "stepi", I got "Cannot access memory at . Any help is appreciated. Regards