aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-02-04 17:27:19 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-02-04 17:27:19 +0000
commita3be78903d86658beeac7227bc76cae9f05c0cac (patch)
treead96e81d1d1f786034c6ad5d0b395606949c5e6a /gdb/breakpoint.c
parent041274d86dbad1e84b5c09c236b9d68952406aea (diff)
downloadgdb-a3be78903d86658beeac7227bc76cae9f05c0cac.zip
gdb-a3be78903d86658beeac7227bc76cae9f05c0cac.tar.gz
gdb-a3be78903d86658beeac7227bc76cae9f05c0cac.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c8
1 files changed, 4 insertions, 4 deletions
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"