From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12271 invoked by alias); 26 Jul 2006 07:38:21 -0000 Received: (qmail 12263 invoked by uid 22791); 26 Jul 2006 07:38:21 -0000 X-Spam-Check-By: sourceware.org Received: from shadow.prohost.de (HELO shadow.prohost.de) (216.71.84.228) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Jul 2006 07:38:18 +0000 Received: from boulder (p54A7E396.dip.t-dialin.net [84.167.227.150]) by shadow.prohost.de (8.11.6/8.11.6) with ESMTP id k6Q7biO24563; Wed, 26 Jul 2006 09:37:44 +0200 Received: from localhost (localhost [127.0.0.1]) by boulder (Postfix) with ESMTP id 6D839630; Wed, 26 Jul 2006 09:37:42 +0200 (CEST) Received: from boulder ([127.0.0.1]) by localhost (boulder.lipieda [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94700-05; Wed, 26 Jul 2006 09:37:40 +0200 (CEST) Received: from [192.168.129.218] (LI50.lipieda [192.168.129.218]) by boulder (Postfix) with ESMTP id CD40B622; Wed, 26 Jul 2006 09:37:40 +0200 (CEST) Message-ID: <44C71BC4.7090005@lipowsky.de> Date: Wed, 26 Jul 2006 13:05:00 -0000 From: Efim Monyak User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: restart for remote target References: <44C63BD6.7090505@lipowsky.de> <20060725154543.GA13313@nevyn.them.org> <44C644A7.4000106@lipowsky.de> <20060725162649.GA14797@nevyn.them.org> <44C64CB1.1000805@lipowsky.de> <20060725174754.GA16907@nevyn.them.org> In-Reply-To: <20060725174754.GA16907@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00189.txt.bz2 Daniel Jacobowitz schrieb: > On Tue, Jul 25, 2006 at 06:54:09PM +0200, Efim Monyak wrote: > >> symbol-file reset.elf >> > > If you want to use symbol files, you're out of luck. When you change > the symbol file you're going to mess up all your breakpoints. > > You might be able to get things to work by not changing the symbol > file. > > Thanks, without line "symbol-file reset.elf" I have no more error &"Error in re-setting breakpoint 3:\n" &"No line 120 in file \"../src/main.c\".\n" but still 156^error,msg="Warning:\nCannot insert breakpoint 6.\nError accessing memory add\ ress 0x0: Unknown error 4294967295.\n" Only after I use "tbreak * 0" ensteed "b * 0" and "delete * 0" it works. Possibly delete * 0 don't working for GDB with ARM remote target. I see Z0,0 command to stub after this breakpoint must be deleted by delete * 0, it is a third breakpoint and it is an error for stub because only two breakpoints are allowed. The lines "symbol-file init.elf" and "b end_init" are not changed and they make no problem. Is the error depend for particular breakpoint type? I mean breakpoint to address is handled in other way as i.e. breakpoint to function.