From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17460 invoked by alias); 24 Jun 2002 22:30:08 -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 17445 invoked from network); 24 Jun 2002 22:30:05 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 24 Jun 2002 22:30:05 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E893E3CB7; Mon, 24 Jun 2002 18:30:04 -0400 (EDT) Message-ID: <3D179D6C.7040904@cygnus.com> Date: Mon, 24 Jun 2002 15:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz , Peter Barada Cc: Peter.Barada@motorola.com, gdb@sources.redhat.com Subject: Re: Torubles with remote stub for m68k References: <200206242104.g5OL4pY06652@hyper.wm.sps.mot.com> <20020624211258.GA30001@branoic.them.org> <200206242140.g5OLe0L06792@hyper.wm.sps.mot.com> <200206242156.g5OLumH25691@hyper.wm.sps.mot.com> <20020624220628.GB31470@branoic.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00233.txt.bz2 > With gdb-5, if the stub doesn't use breakpoint registers, is it gdb's >> responsibility to save/restore the brekpoint across a 's' packet, or >> is that the stub's responsibility? >> >> Any help is appreciated! > > > If GDB sets the breakpoint using 'M' (or presumably 'X') commands, then > it is the client's responsibility to clear it. It would be nice to > know why that isn't happening. To observe it in action you can use > gdbserver on a GNU/Linux system... Try a: (gdb) maint print architecture OUTPUTFILE and check what the value of the single step macros are. Your specific m68k target (configured as?) may have software single step settings that contradict what the target supports. cf gdb/274. http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=274 Andrew