diff options
author | Doug Evans <dje@google.com> | 2008-05-09 17:37:36 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-05-09 17:37:36 +0000 |
commit | 5e1471f57fac8ea99e40cfb4be212e896bac56ff (patch) | |
tree | 912a2d71d8b67aa64313f4da3943bbc9f5220358 /gdb/findcmd.c | |
parent | 08388c79d5a8553465b2de881bed15766837735c (diff) | |
download | gdb-5e1471f57fac8ea99e40cfb4be212e896bac56ff.zip gdb-5e1471f57fac8ea99e40cfb4be212e896bac56ff.tar.gz gdb-5e1471f57fac8ea99e40cfb4be212e896bac56ff.tar.bz2 |
* error.c (parse_find_args): Fix capitalization in previous patch.
(find_command): Ditto.
* target.c (simple_search_memory): Ditto.
* gdbserver/server.c (handle_search_memory_1): Ditto.
(handle_search_memory): Ditto.
Diffstat (limited to 'gdb/findcmd.c')
-rw-r--r-- | gdb/findcmd.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c index dfb746b..a1dfaf3 100644 --- a/gdb/findcmd.c +++ b/gdb/findcmd.c @@ -72,7 +72,7 @@ parse_find_args (char *args, ULONGEST *max_countp, struct value *v; if (args == NULL) - error (_("missing search parameters")); + error (_("Missing search parameters.")); pattern_buf = xmalloc (pattern_buf_size); pattern_buf_end = pattern_buf; @@ -104,7 +104,7 @@ parse_find_args (char *args, ULONGEST *max_countp, size = *s++; break; default: - error (_("invalid size granularity")); + error (_("Invalid size granularity.")); } } @@ -130,15 +130,15 @@ parse_find_args (char *args, ULONGEST *max_countp, len = value_as_long (v); if (len == 0) { - printf_filtered (_("empty search range\n")); + printf_filtered (_("Empty search range.\n")); return; } if (len < 0) - error (_("invalid length")); + error (_("Invalid length.")); /* Watch for overflows. */ if (len > CORE_ADDR_MAX || (start_addr + len - 1) < start_addr) - error (_("search space too large")); + error (_("Search space too large.")); search_space_len = len; } else @@ -147,13 +147,13 @@ parse_find_args (char *args, ULONGEST *max_countp, v = parse_to_comma_and_eval (&s); end_addr = value_as_address (v); if (start_addr > end_addr) - error (_("invalid search space, end preceeds start")); + error (_("Invalid search space, end preceeds start.")); search_space_len = end_addr - start_addr + 1; /* We don't support searching all of memory (i.e. start=0, end = 0xff..ff). Bail to avoid overflows later on. */ if (search_space_len == 0) - error (_("overflow in address range computation, choose smaller range")); + error (_("Overflow in address range computation, choose smaller range.")); } if (*s == ',') @@ -218,12 +218,12 @@ parse_find_args (char *args, ULONGEST *max_countp, } if (pattern_buf_end == pattern_buf) - error (_("missing search pattern")); + error (_("Missing search pattern.")); pattern_len = pattern_buf_end - pattern_buf; if (search_space_len < pattern_len) - error (_("search space too small to contain pattern")); + error (_("Search space too small to contain pattern.")); *max_countp = max_count; *pattern_bufp = pattern_buf; @@ -302,9 +302,9 @@ find_command (char *args, int from_tty) } if (found_count == 0) - printf_filtered ("pattern not found\n"); + printf_filtered ("Pattern not found.\n"); else - printf_filtered ("%d pattern%s found\n", found_count, + printf_filtered ("%d pattern%s found.\n", found_count, found_count > 1 ? "s" : ""); do_cleanups (old_cleanups); |