From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5342 invoked by alias); 12 Jan 2007 13:49:43 -0000 Received: (qmail 5333 invoked by uid 22791); 12 Jan 2007 13:49:43 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 12 Jan 2007 13:49:36 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H5Mmj-0005fG-Dg; Fri, 12 Jan 2007 08:49:33 -0500 Date: Fri, 12 Jan 2007 13:49:00 -0000 From: Daniel Jacobowitz To: Mathieu Lacage Cc: gdb@sourceware.org Subject: Re: help string for "break" command Message-ID: <20070112134932.GA21726@nevyn.them.org> Mail-Followup-To: Mathieu Lacage , gdb@sourceware.org References: <1168602087.2789.35.camel@garfield.inria.fr> <1168606081.2789.38.camel@garfield.inria.fr> <1168609517.2789.47.camel@garfield.inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1168609517.2789.47.camel@garfield.inria.fr> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00212.txt.bz2 On Fri, Jan 12, 2007 at 02:45:16PM +0100, Mathieu Lacage wrote: > Am I right in assuming that the gdb command "break" places exclusively > so-called software-breakpoints while the command "hbreak" places a > hardware-breakpoint (I am not sure I have figured out the details of the > logic in gdb/breakpoint.c) ? Not 100%. CVS versions of GDB will use hardware breakpoints automatically if you try to set them in truly read-only memory. -- Daniel Jacobowitz CodeSourcery