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) <length>: Fix field
	description.
This commit is contained in:
Thiago Jung Bauermann 2011-02-04 17:27:19 +00:00
parent 041274d86d
commit a3be78903d
3 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,14 @@
2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
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) <length>: Fix field
description.
2011-02-04 Pedro Alves <pedro@codesourcery.com> 2011-02-04 Pedro Alves <pedro@codesourcery.com>
* regcache.c (registers_changed_ptid): Don't explictly always * regcache.c (registers_changed_ptid): Don't explictly always

View File

@ -1374,8 +1374,8 @@ update_watchpoint (struct breakpoint *b, int reparse)
if (!watchpoint_in_thread_scope (b)) if (!watchpoint_in_thread_scope (b))
return; return;
/* We don't free locations. They are stored in bp_location array /* We don't free locations. They are stored in the bp_location array
and update_global_locations will eventually delete them and and update_global_location_list will eventually delete them and
remove breakpoints if needed. */ remove breakpoints if needed. */
b->loc = NULL; b->loc = NULL;
@ -5012,7 +5012,7 @@ print_one_breakpoint (struct breakpoint *b,
situation. situation.
Note that while hardware watchpoints have several locations 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 if (b->loc
&& !is_hardware_watchpoint (b) && !is_hardware_watchpoint (b)
&& (b->loc->next || !b->loc->enabled) && (b->loc->next || !b->loc->enabled)
@ -12097,7 +12097,7 @@ BREAK_ARGS_HELP ("tbreak")));
set_cmd_completer (c, location_completer); set_cmd_completer (c, location_completer);
c = add_com ("hbreak", class_breakpoint, hbreak_command, _("\ 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\ Like \"break\" except the breakpoint requires hardware support,\n\
some target hardware may not have this support.\n\ some target hardware may not have this support.\n\
\n" \n"

View File

@ -324,8 +324,8 @@ struct bp_location
bp_loc_other. */ bp_loc_other. */
CORE_ADDR address; CORE_ADDR address;
/* For hardware watchpoints, the size of data ad ADDRESS being /* For hardware watchpoints, the size of the memory region being
watches. */ watched. */
int length; int length;
/* Type of hardware watchpoint. */ /* Type of hardware watchpoint. */