From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27215 invoked by alias); 12 Aug 2004 10:27:28 -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 27205 invoked from network); 12 Aug 2004 10:27:26 -0000 Received: from unknown (HELO v07216.home.net.pl) (212.85.125.104) by sourceware.org with SMTP; 12 Aug 2004 10:27:26 -0000 Received: from 62.233.217.1 (HELO sysc1300) (sysmikro@home@62.233.217.1) by matrix15.home.net.pl with SMTP; 12 Aug 2004 10:27:24 -0000 Message-ID: <000601c48056$4b741ca0$20ffffc0@sysc1300> From: "Krzysztof Blaszkowski" To: "Fabian Cenedese" Cc: References: <5.2.0.9.1.20040812111119.01d35768@NT_SERVER> Subject: Re: Set BP immediately Date: Thu, 12 Aug 2004 10:27:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00196.txt.bz2 ----- Original Message ----- From: "Fabian Cenedese" To: Sent: Thursday, August 12, 2004 11:20 AM Subject: Set BP immediately > Hi > > I'm trying to debug an embedded PPC board with gdb, that's why I'm > writing a stub. When I set a breakpoint in gdb (b file:nr), gdb just records > this internally and doesn't do anything with the target. Only upon step > or cont it will set the breakpoint in the hardware. But we need the > possibility to immediately set any breakpoint, even if it's for another > not-halted thread. Is this possible with some gdb commands (like > set PC) or would I need to change the code (break flush :) .. ok, better > name it break apply... or set break apply 1) ? You could use a "monitor" command (abbrev. "mo") with an argument list any kind you wish for that purpose I think. You can see also a spec. for mine arm7tdmi jtag debugger which is available here: http://www.sysmikro.com.pl/pliki/jtag-adapterII_um.pdf > > Thanks > > bye Fabi > > > Best regards, Krzysztof Blaszkowski