From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3450 invoked by alias); 14 May 2003 16:56:29 -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 3125 invoked from network); 14 May 2003 16:56:22 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 14 May 2003 16:56:22 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h4EGuLH18545 for ; Wed, 14 May 2003 12:56:21 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4EGuAI18591; Wed, 14 May 2003 12:56:10 -0400 Received: from localhost.localdomain (vpn50-3.rdu.redhat.com [172.16.50.3]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4EGu7Q18544; Wed, 14 May 2003 12:56:08 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h4EGu1J09411; Wed, 14 May 2003 09:56:01 -0700 Date: Wed, 14 May 2003 16:56:00 -0000 From: Kevin Buettner Message-Id: <1030514165601.ZM9410@localhost.localdomain> In-Reply-To: Andrew Cagney "breakpoint for avr?" (May 14, 12:02pm) References: <3EC26895.4090407@redhat.com> To: Andrew Cagney , troth@verinet.com, gdb@sources.redhat.com Subject: Re: breakpoint for avr? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00226.txt.bz2 On May 14, 12:02pm, Andrew Cagney wrote: > Just noticed that the AVR target doesn't provide the BREAKPOINT_FROM_PC > method. > > Up until now the architecture vector providing a default > breakpoint_from_pc (it would internal error for the AVR case). I > suspect, up until now, this hasn't been a problem because the AVR was > always remote. > > Anyway, I've just posted a patch to always require breakpoint-from-pc > and this is causing the AVR grief. > > So, is there a breakpoint instruction, or should GDB allow targets that > have no breakpoint at all? Presumably, there's some other way of setting breakpoints? Hardware breakpoints for example? If so, I think GDB should permit targets that have not breakpoint instruction. Kevin