From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1924 invoked by alias); 12 Jan 2007 13:46:37 -0000 Received: (qmail 1891 invoked by uid 22791); 12 Jan 2007 13:46:36 -0000 X-Spam-Check-By: sourceware.org Received: from sophia.inria.fr (HELO sophia.inria.fr) (138.96.64.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 Jan 2007 13:46:23 +0000 Received: from localhost (localhost [127.0.0.1]) by sophia.inria.fr (8.13.8/8.13.4) with ESMTP id l0CDkHcO003639 for ; Fri, 12 Jan 2007 14:46:18 +0100 Received: from garfield.inria.fr (garfield.inria.fr [138.96.88.66]) (authenticated bits=0) by sophia.inria.fr (8.13.8/8.13.4) with ESMTP id l0CDjH2W003222 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 12 Jan 2007 14:45:17 +0100 Subject: help string for "break" command From: Mathieu Lacage To: gdb@sourceware.org In-Reply-To: <1168606081.2789.38.camel@garfield.inria.fr> References: <1168602087.2789.35.camel@garfield.inria.fr> <1168606081.2789.38.camel@garfield.inria.fr> Content-Type: multipart/mixed; boundary="=-UaTbHiWqu9hsCRKQ1MeS" Date: Fri, 12 Jan 2007 13:46:00 -0000 Message-Id: <1168609517.2789.47.camel@garfield.inria.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sophia.inria.fr [138.96.64.20]); Fri, 12 Jan 2007 14:45:17 +0100 (MET) 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/msg00211.txt.bz2 --=-UaTbHiWqu9hsCRKQ1MeS Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 499 hi, 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) ? If so, maybe the gdb help should be updated to reflect this difference more prominently: the current help string for "break" do not specify clearly that it is a software-breakpoint. The attached patch changes the relevant string. regards, Mathieu -- --=-UaTbHiWqu9hsCRKQ1MeS Content-Disposition: attachment; filename=patch Content-Type: text/plain; name=patch; charset=utf-8 Content-Transfer-Encoding: 7bit Content-length: 455 --- breakpoint.old 2007-01-12 14:38:50.000000000 +0100 +++ breakpoint.c 2007-01-12 14:39:32.000000000 +0100 @@ -7928,7 +7928,7 @@ See also the \"delete\" command which clears breakpoints by number.")); c = add_com ("break", class_breakpoint, break_command, _("\ -Set breakpoint at specified line or function.\n" +Set software breakpoint at specified line or function.\n" BREAK_ARGS_HELP ("break"))); set_cmd_completer (c, location_completer); --=-UaTbHiWqu9hsCRKQ1MeS--