From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30714 invoked by alias); 4 Feb 2011 17:31:28 -0000 Received: (qmail 30705 invoked by uid 22791); 4 Feb 2011 17:31:27 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e24smtp04.br.ibm.com (HELO e24smtp04.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Feb 2011 17:31:21 +0000 Received: from /spool/local by e24smtp04.br.ibm.com with XMail ESMTP for from ; Fri, 4 Feb 2011 15:31:18 -0200 Received: from d24relay01.br.ibm.com ([9.8.31.16]) by e24smtp04.br.ibm.com ([10.172.0.140]) with XMail ESMTP; Fri, 4 Feb 2011 15:31:15 -0200 Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p14HTFMb4276312 for ; Fri, 4 Feb 2011 14:29:15 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p14HUw5V017413 for ; Fri, 4 Feb 2011 15:30:58 -0200 Received: from [9.8.0.49] ([9.8.0.49]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p14HUvcG015948 for ; Fri, 4 Feb 2011 15:30:58 -0200 Subject: [obvious] Fix typos in breakpoint.c and breakpoint.h From: Thiago Jung Bauermann To: gdb-patches ml Content-Type: text/plain; charset="UTF-8" Date: Fri, 04 Feb 2011 17:31:00 -0000 Message-ID: <1296840625.3204.1.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit x-cbid: 11020417-8936-0000-0000-000000662811 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00079.txt.bz2 Hi, I just committed the following. -- []'s Thiago Jung Bauermann IBM Linux Technology Center 2011-02-04 Thiago Jung Bauermann Fix some typos. * breakpoint.c (update_watchpoint): Fix name of the update_global_location_list function. (print_one_breakpoint): Fix typo. (_initialize_breakpoint): Remove extra space in hbreak help string. * breakpoint.h (struct bp_location) : Fix field description. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 1fad517..656dedd 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1374,8 +1374,8 @@ update_watchpoint (struct breakpoint *b, int reparse) if (!watchpoint_in_thread_scope (b)) return; - /* We don't free locations. They are stored in bp_location array - and update_global_locations will eventually delete them and + /* We don't free locations. They are stored in the bp_location array + and update_global_location_list will eventually delete them and remove breakpoints if needed. */ b->loc = NULL; @@ -5012,7 +5012,7 @@ print_one_breakpoint (struct breakpoint *b, situation. Note that while hardware watchpoints have several locations - internally, that's no a property exposed to user. */ + internally, that's not a property exposed to user. */ if (b->loc && !is_hardware_watchpoint (b) && (b->loc->next || !b->loc->enabled) @@ -12097,7 +12097,7 @@ BREAK_ARGS_HELP ("tbreak"))); set_cmd_completer (c, location_completer); c = add_com ("hbreak", class_breakpoint, hbreak_command, _("\ -Set a hardware assisted breakpoint.\n\ +Set a hardware assisted breakpoint.\n\ Like \"break\" except the breakpoint requires hardware support,\n\ some target hardware may not have this support.\n\ \n" diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 2644125..86fae66 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -324,8 +324,8 @@ struct bp_location bp_loc_other. */ CORE_ADDR address; - /* For hardware watchpoints, the size of data ad ADDRESS being - watches. */ + /* For hardware watchpoints, the size of the memory region being + watched. */ int length; /* Type of hardware watchpoint. */