Spelling fixes
Stephen Kitt
steve@sk2.org
Fri Jun 3 18:03:00 GMT 2011
Hi,
The Lintian package validation tool in Debian picked up a few spelling
mistakes in gdb. The following patch fixes these mistakes:
* "suppported" becomes "supported"
* "specifed" becomes "specified"
* "reenabled" becomes "re-enabled"
* "registraration" becomes "registration"
* "conjuction" becomes "conjunction"
Regards,
Stephen
diff -ur upstream.orig/gdb/breakpoint.c upstream/gdb/breakpoint.c
--- upstream.orig/gdb/breakpoint.c 2010-07-28 20:00:02.000000000 +0200
+++ upstream/gdb/breakpoint.c 2011-06-03 19:46:13.681085293 +0200
@@ -11606,7 +11606,7 @@
Disable some breakpoints.\n\
Arguments are breakpoint numbers with spaces in between.\n\
To disable all breakpoints, give no argument.\n\
-A disabled breakpoint is not forgotten, but has no effect until reenabled."),
+A disabled breakpoint is not forgotten, but has no effect until re-enabled."),
&disablelist, "disable ", 1, &cmdlist);
add_com_alias ("dis", "disable", class_breakpoint, 1);
add_com_alias ("disa", "disable", class_breakpoint, 1);
@@ -11615,13 +11615,13 @@
Disable some breakpoints.\n\
Arguments are breakpoint numbers with spaces in between.\n\
To disable all breakpoints, give no argument.\n\
-A disabled breakpoint is not forgotten, but has no effect until reenabled."));
+A disabled breakpoint is not forgotten, but has no effect until re-enabled."));
add_cmd ("breakpoints", class_alias, disable_command, _("\
Disable some breakpoints.\n\
Arguments are breakpoint numbers with spaces in between.\n\
To disable all breakpoints, give no argument.\n\
-A disabled breakpoint is not forgotten, but has no effect until reenabled.\n\
+A disabled breakpoint is not forgotten, but has no effect until re-enabled.\n\
This command may be abbreviated \"disable\"."),
&disablelist);
diff -ur upstream.orig/gdb/breakpoint.h upstream/gdb/breakpoint.h
--- upstream.orig/gdb/breakpoint.h 2010-07-01 12:36:09.000000000 +0200
+++ upstream/gdb/breakpoint.h 2011-06-03 19:46:13.705084951 +0200
@@ -898,7 +898,7 @@
/* These functions respectively disable or reenable all currently
enabled watchpoints. When disabled, the watchpoints are marked
- call_disabled. When reenabled, they are marked enabled.
+ call_disabled. When re-enabled, they are marked enabled.
The intended client of these functions is call_function_by_hand.
@@ -912,7 +912,7 @@
and that can cause execution control to become very confused.
Note that if a user sets breakpoints in an interactively called
- function, the call_disabled watchpoints will have been reenabled
+ function, the call_disabled watchpoints will have been re-enabled
when the first such breakpoint is reached. However, on targets
that are unable to unwind through the call dummy frame, watches
of stack-based storage may then be deleted, because gdb will
diff -ur upstream.orig/gdb/ChangeLog-2003 upstream/gdb/ChangeLog-2003
--- upstream.orig/gdb/ChangeLog-2003 2004-01-02 14:01:24.000000000 +0100
+++ upstream/gdb/ChangeLog-2003 2011-06-03 19:48:47.494898729 +0200
@@ -9601,7 +9601,7 @@
stack size. Don't loop infinitely if ``stack_len'' is zero.
(execute_stack_op): Move ``ctx->in_reg'' initialization
out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
- be used in conjuction with DW_OP_piece. Revise error message
+ be used in conjunction with DW_OP_piece. Revise error message
accordingly.
2003-05-14 Theodore A. Roth <troth@openavr.org>
diff -ur upstream.orig/gdb/cli/cli-dump.c upstream/gdb/cli/cli-dump.c
--- upstream.orig/gdb/cli/cli-dump.c 2010-05-17 21:28:12.000000000 +0200
+++ upstream/gdb/cli/cli-dump.c 2011-06-03 19:45:22.573811853 +0200
@@ -682,7 +682,7 @@
add_dump_command ("memory", dump_memory_command, "\
Write contents of memory to a raw binary file.\n\
Arguments are FILE START STOP. Writes the contents of memory within the\n\
-range [START .. STOP) to the specifed FILE in raw target ordered bytes.");
+range [START .. STOP) to the specified FILE in raw target ordered bytes.");
add_dump_command ("value", dump_value_command, "\
Write the value of an expression to a raw binary file.\n\
@@ -722,7 +722,7 @@
add_cmd ("memory", all_commands, dump_srec_memory, _("\
Write contents of memory to an srec file.\n\
Arguments are FILE START STOP. Writes the contents of memory\n\
-within the range [START .. STOP) to the specifed FILE in srec format."),
+within the range [START .. STOP) to the specified FILE in srec format."),
&srec_cmdlist);
add_cmd ("value", all_commands, dump_srec_value, _("\
@@ -734,7 +734,7 @@
add_cmd ("memory", all_commands, dump_ihex_memory, _("\
Write contents of memory to an ihex file.\n\
Arguments are FILE START STOP. Writes the contents of memory within\n\
-the range [START .. STOP) to the specifed FILE in intel hex format."),
+the range [START .. STOP) to the specified FILE in intel hex format."),
&ihex_cmdlist);
add_cmd ("value", all_commands, dump_ihex_value, _("\
@@ -746,7 +746,7 @@
add_cmd ("memory", all_commands, dump_tekhex_memory, _("\
Write contents of memory to a tekhex file.\n\
Arguments are FILE START STOP. Writes the contents of memory\n\
-within the range [START .. STOP) to the specifed FILE in tekhex format."),
+within the range [START .. STOP) to the specified FILE in tekhex format."),
&tekhex_cmdlist);
add_cmd ("value", all_commands, dump_tekhex_value, _("\
@@ -758,7 +758,7 @@
add_cmd ("memory", all_commands, dump_binary_memory, _("\
Write contents of memory to a raw binary file.\n\
Arguments are FILE START STOP. Writes the contents of memory\n\
-within the range [START .. STOP) to the specifed FILE in binary format."),
+within the range [START .. STOP) to the specified FILE in binary format."),
&binary_dump_cmdlist);
add_cmd ("value", all_commands, dump_binary_value, _("\
@@ -770,7 +770,7 @@
add_cmd ("memory", all_commands, append_binary_memory, _("\
Append contents of memory to a raw binary file.\n\
Arguments are FILE START STOP. Writes the contents of memory within the\n\
-range [START .. STOP) to the specifed FILE in raw target ordered bytes."),
+range [START .. STOP) to the specified FILE in raw target ordered bytes."),
&binary_append_cmdlist);
add_cmd ("value", all_commands, append_binary_value, _("\
diff -ur upstream.orig/gdb/dwarf2expr.c upstream/gdb/dwarf2expr.c
--- upstream.orig/gdb/dwarf2expr.c 2010-07-07 20:50:57.000000000 +0200
+++ upstream/gdb/dwarf2expr.c 2011-06-03 19:48:47.226902540 +0200
@@ -323,7 +323,7 @@
checked at the other place that this function is called. */
if (op_ptr != op_end && *op_ptr != DW_OP_piece && *op_ptr != DW_OP_bit_piece)
error (_("DWARF-2 expression error: `%s' operations must be "
- "used either alone or in conjuction with DW_OP_piece "
+ "used either alone or in conjunction with DW_OP_piece "
"or DW_OP_bit_piece."),
op_name);
}
@@ -491,7 +491,7 @@
&& *op_ptr != DW_OP_bit_piece
&& *op_ptr != DW_OP_GNU_uninit)
error (_("DWARF-2 expression error: DW_OP_reg operations must be "
- "used either alone or in conjuction with DW_OP_piece "
+ "used either alone or in conjunction with DW_OP_piece "
"or DW_OP_bit_piece."));
result = op - DW_OP_reg0;
diff -ur upstream.orig/gdb/gdbarch.c upstream/gdb/gdbarch.c
--- upstream.orig/gdb/gdbarch.c 2010-07-06 14:56:22.000000000 +0200
+++ upstream/gdb/gdbarch.c 2011-06-03 19:47:52.675678002 +0200
@@ -3961,7 +3961,7 @@
{
if (bfd_architecture == (*curr)->bfd_architecture)
internal_error (__FILE__, __LINE__,
- _("gdbarch: Duplicate registraration of architecture (%s)"),
+ _("gdbarch: Duplicate registration of architecture (%s)"),
bfd_arch_info->printable_name);
}
/* log it */
diff -ur upstream.orig/gdb/gdbarch.sh upstream/gdb/gdbarch.sh
--- upstream.orig/gdb/gdbarch.sh 2010-07-06 14:56:23.000000000 +0200
+++ upstream/gdb/gdbarch.sh 2011-06-03 19:47:52.707677546 +0200
@@ -1931,7 +1931,7 @@
{
if (bfd_architecture == (*curr)->bfd_architecture)
internal_error (__FILE__, __LINE__,
- _("gdbarch: Duplicate registraration of architecture (%s)"),
+ _("gdbarch: Duplicate registration of architecture (%s)"),
bfd_arch_info->printable_name);
}
/* log it */
diff -ur upstream.orig/gdb/po/gdb.pot upstream/gdb/po/gdb.pot
--- upstream.orig/gdb/po/gdb.pot 2010-09-03 01:45:24.000000000 +0200
+++ upstream/gdb/po/gdb.pot 2011-06-03 19:48:47.798894409 +0200
@@ -3173,7 +3173,7 @@
"Disable some breakpoints.\n"
"Arguments are breakpoint numbers with spaces in between.\n"
"To disable all breakpoints, give no argument.\n"
-"A disabled breakpoint is not forgotten, but has no effect until reenabled."
+"A disabled breakpoint is not forgotten, but has no effect until re-enabled."
msgstr ""
#: breakpoint.c:11620
@@ -3181,7 +3181,7 @@
"Disable some breakpoints.\n"
"Arguments are breakpoint numbers with spaces in between.\n"
"To disable all breakpoints, give no argument.\n"
-"A disabled breakpoint is not forgotten, but has no effect until reenabled.\n"
+"A disabled breakpoint is not forgotten, but has no effect until re-enabled.\n"
"This command may be abbreviated \"disable\"."
msgstr ""
@@ -4444,7 +4444,7 @@
msgid ""
"Write contents of memory to an srec file.\n"
"Arguments are FILE START STOP. Writes the contents of memory\n"
-"within the range [START .. STOP) to the specifed FILE in srec format."
+"within the range [START .. STOP) to the specified FILE in srec format."
msgstr ""
#: cli/cli-dump.c:728
@@ -4458,7 +4458,7 @@
msgid ""
"Write contents of memory to an ihex file.\n"
"Arguments are FILE START STOP. Writes the contents of memory within\n"
-"the range [START .. STOP) to the specifed FILE in intel hex format."
+"the range [START .. STOP) to the specified FILE in intel hex format."
msgstr ""
#: cli/cli-dump.c:740
@@ -4472,7 +4472,7 @@
msgid ""
"Write contents of memory to a tekhex file.\n"
"Arguments are FILE START STOP. Writes the contents of memory\n"
-"within the range [START .. STOP) to the specifed FILE in tekhex format."
+"within the range [START .. STOP) to the specified FILE in tekhex format."
msgstr ""
#: cli/cli-dump.c:752
@@ -4486,7 +4486,7 @@
msgid ""
"Write contents of memory to a raw binary file.\n"
"Arguments are FILE START STOP. Writes the contents of memory\n"
-"within the range [START .. STOP) to the specifed FILE in binary format."
+"within the range [START .. STOP) to the specified FILE in binary format."
msgstr ""
#: cli/cli-dump.c:764
@@ -4500,7 +4500,7 @@
msgid ""
"Append contents of memory to a raw binary file.\n"
"Arguments are FILE START STOP. Writes the contents of memory within the\n"
-"range [START .. STOP) to the specifed FILE in raw target ordered bytes."
+"range [START .. STOP) to the specified FILE in raw target ordered bytes."
msgstr ""
#: cli/cli-dump.c:776
@@ -6443,7 +6443,7 @@
#, possible-c-format
msgid ""
"DWARF-2 expression error: `%s' operations must be used either alone or in "
-"conjuction with DW_OP_piece or DW_OP_bit_piece."
+"conjunction with DW_OP_piece or DW_OP_bit_piece."
msgstr ""
#: dwarf2expr.c:347
@@ -6454,7 +6454,7 @@
#: dwarf2expr.c:493
msgid ""
"DWARF-2 expression error: DW_OP_reg operations must be used either alone or "
-"in conjuction with DW_OP_piece or DW_OP_bit_piece."
+"in conjunction with DW_OP_piece or DW_OP_bit_piece."
msgstr ""
#: dwarf2expr.c:515 dwarf2loc.c:1401
@@ -8149,7 +8149,7 @@
#: gdbarch.c:3964
#, possible-c-format
-msgid "gdbarch: Duplicate registraration of architecture (%s)"
+msgid "gdbarch: Duplicate registration of architecture (%s)"
msgstr ""
#: gdbarch.c:4152
diff -ur upstream.orig/gdb/remote.c upstream/gdb/remote.c
--- upstream.orig/gdb/remote.c 2010-07-28 22:20:12.000000000 +0200
+++ upstream/gdb/remote.c 2011-06-03 19:39:06.815154369 +0200
@@ -6159,14 +6159,14 @@
{
if (remote_debug)
fprintf_unfiltered (gdb_stdlog,
- "binary downloading NOT suppported by target\n");
+ "binary downloading NOT supported by target\n");
remote_protocol_packets[PACKET_X].support = PACKET_DISABLE;
}
else
{
if (remote_debug)
fprintf_unfiltered (gdb_stdlog,
- "binary downloading suppported by target\n");
+ "binary downloading supported by target\n");
remote_protocol_packets[PACKET_X].support = PACKET_ENABLE;
}
break;
diff -ur upstream.orig/gdb/testsuite/gdb.base/help.exp upstream/gdb/testsuite/gdb.base/help.exp
--- upstream.orig/gdb/testsuite/gdb.base/help.exp 2010-07-28 01:21:07.000000000 +0200
+++ upstream/gdb/testsuite/gdb.base/help.exp 2011-06-03 19:46:13.541087282 +0200
@@ -38,9 +38,9 @@
# test help append
gdb_test "help append" "Append target code/data to a local file\.\[\r\n\]+List of append subcommands:.*"
gdb_test "help append binary" "Append target code/data to a raw binary file\.\[\r\n\]+List of append binary subcommands:.*"
-gdb_test "help append memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specifed FILE in raw target ordered bytes\."
+gdb_test "help append memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw target ordered bytes\."
gdb_test "help append value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION to\[\r\n\]+the specified FILE in raw target ordered bytes\."
-gdb_test "help append binary memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specifed FILE in raw target ordered bytes\."
+gdb_test "help append binary memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw target ordered bytes\."
gdb_test "help append binary value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION\[\r\n\]+to the specified FILE in raw target ordered bytes\."
# test help attach
gdb_test "help attach" "Attach to a process or file outside of GDB\.\[\r\n\]+This command attaches to another target, of the same type as your last\[\r\n\]+\"target\" command \\(\"info files\" will show your target stack\\)\.\[\r\n\]+The command may take as argument a process id or a device file\.\[\r\n\]+For a process id, you must have permission to send the process a signal,\[\r\n\]+and it must have the same effective uid as the debugger\.\[\r\n\]+When using \"attach\" with a process id, the debugger finds the\[\r\n\]+program running in the process, looking first in the current working\[\r\n\]+directory, or \\(if not found there\\) using the source file search path\[\r\n\]+\\(see the \"directory\" command\\)\. You can also use the \"file\" command\[\r\n\]+to specify the program, and to load its symbol table\." "help attach"
@@ -110,7 +110,7 @@
"Disable some breakpoints\.\[\r\n\]+"
"Arguments are breakpoint numbers with spaces in between\.\[\r\n\]+"
"To disable all breakpoints, give no argument\.\[\r\n\]+"
- "A disabled breakpoint is not forgotten, but has no effect until reenabled\.\[\r\n\]+"
+ "A disabled breakpoint is not forgotten, but has no effect until re-enabled\.\[\r\n\]+"
}
test_prefix_command_help {"dis" "disable"} $expected_help_disable "help disable \"dis\" abbreviation"
# test help disable "disa" abbreviation
@@ -118,7 +118,7 @@
# test help disable
test_prefix_command_help "disable" $expected_help_disable
# test help disable breakpoints
-gdb_test "help disable breakpoints" "Disable some breakpoints\.\[\r\n\]+Arguments are breakpoint numbers with spaces in between\.\[\r\n\]+To disable all breakpoints, give no argument\.\[\r\n\]+A disabled breakpoint is not forgotten, but has no effect until reenabled\.\[\r\n\]+This command may be abbreviated \"disable\"." "help disable breakpoints"
+gdb_test "help disable breakpoints" "Disable some breakpoints\.\[\r\n\]+Arguments are breakpoint numbers with spaces in between\.\[\r\n\]+To disable all breakpoints, give no argument\.\[\r\n\]+A disabled breakpoint is not forgotten, but has no effect until re-enabled\.\[\r\n\]+This command may be abbreviated \"disable\"." "help disable breakpoints"
# test help disable display
gdb_test "help disable display" "Disable some expressions to be displayed when program stops\.\[\r\n\]+Arguments are the code numbers of the expressions to stop displaying\.\[\r\n\]+No argument means disable all automatic-display expressions\.\[\r\n\]+Do \"info display\" to see current list of code numbers\." "help disable display"
# test help disassemble
@@ -137,17 +137,17 @@
gdb_test "help dump" "Dump target code/data to a local file\.\[\r\n\]+List of dump subcommands:.*"
gdb_test "help dump binary" "Write target code/data to a raw binary file\.\[\r\n\]+List of dump binary subcommands:.*"
gdb_test "help dump ihex" "Write target code/data to an intel hex file\.\[\r\n\]+List of dump ihex subcommands:.*"
-gdb_test "help dump memory" "Write contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specifed FILE in raw target ordered bytes\."
+gdb_test "help dump memory" "Write contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within the\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw target ordered bytes\."
gdb_test "help dump srec" "Write target code/data to an srec file\.\[\r\n\]+List of dump srec subcommands:.*"
gdb_test "help dump tekhex" "Write target code/data to a tekhex file\.\[\r\n\]+List of dump tekhex subcommands:.*"
gdb_test "help dump value" "Write the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION to\[\r\n\]+the specified FILE in raw target ordered bytes\."
-gdb_test "help dump binary memory" "Write contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specifed FILE in binary format\."
+gdb_test "help dump binary memory" "Write contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specified FILE in binary format\."
gdb_test "help dump binary value" "Write the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION\[\r\n\]+to the specified FILE in raw target ordered bytes\." "help dump binary value"
-gdb_test "help dump ihex memory" "Write contents of memory to an ihex file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within\[\r\n\]+the range \\\[START \.\. STOP\\) to the specifed FILE in intel hex format\."
+gdb_test "help dump ihex memory" "Write contents of memory to an ihex file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within\[\r\n\]+the range \\\[START \.\. STOP\\) to the specified FILE in intel hex format\."
gdb_test "help dump ihex value" "Write the value of an expression to an ihex file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION\[\r\n\]+to the specified FILE in intel hex format\."
-gdb_test "help dump srec memory" "Write contents of memory to an srec file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specifed FILE in srec format\."
+gdb_test "help dump srec memory" "Write contents of memory to an srec file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specified FILE in srec format\."
gdb_test "help dump srec value" "Write the value of an expression to an srec file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION\[\r\n\]+to the specified FILE in srec format\."
-gdb_test "help dump tekhex memory" "Write contents of memory to a tekhex file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specifed FILE in tekhex format\."
+gdb_test "help dump tekhex memory" "Write contents of memory to a tekhex file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory\[\r\n\]+within the range \\\[START \.\. STOP\\) to the specified FILE in tekhex format\."
gdb_test "help dump tekhex value" "Write the value of an expression to a tekhex file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION\[\r\n\]+to the specified FILE in tekhex format\."
# this command was removed from GDB 4.5.8
# test help dump-me
diff -ur upstream.orig/sim/ppc/ChangeLog upstream/sim/ppc/ChangeLog
--- upstream.orig/sim/ppc/ChangeLog 2010-04-14 09:38:05.000000000 +0200
+++ upstream/sim/ppc/ChangeLog 2011-06-03 19:45:22.993805882 +0200
@@ -2949,7 +2949,7 @@
* configure.in: Adjust filter flag so that default includes 32bit
and floating point.
* ppc-instructions: Clean up filter fields so that only in use
- entries are specifed (ie delete `be').
+ entries are specified (ie delete `be').
* misc.c (name2i, i2name): New function. Map between a string and
an integer value.
diff -ur upstream.orig/sim/ppc/vm.c upstream/sim/ppc/vm.c
--- upstream.orig/sim/ppc/vm.c 1999-04-16 03:35:12.000000000 +0200
+++ upstream/sim/ppc/vm.c 2011-06-03 19:45:22.893807303 +0200
@@ -913,7 +913,7 @@
#endif
-/* Rebuild all the data structures for the new context as specifed by
+/* Rebuild all the data structures for the new context as specified by
the passed registers */
INLINE_VM\
(void)
More information about the Gdb-patches
mailing list