* Spelling fixes
@ 2011-06-03 18:03 Stephen Kitt
2011-06-03 23:52 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Kitt @ 2011-06-03 18:03 UTC (permalink / raw)
To: gdb-patches
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)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Spelling fixes
2011-06-03 18:03 Spelling fixes Stephen Kitt
@ 2011-06-03 23:52 ` Joel Brobecker
2011-06-04 8:59 ` Stephen Kitt
0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2011-06-03 23:52 UTC (permalink / raw)
To: Stephen Kitt; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
> The Lintian package validation tool in Debian picked up a few spelling
> mistakes in gdb. The following patch fixes these mistakes:
Thanks. I applied the fixes using the "obvious" rule (meaning that
we don't need to worry about copyright assignment).
It seems your sources are a little out of date, as I have a few
conflicts when trying to apply the patch. None the less, thank you.
We appreciate these contributions.
Attached are the patches that I applied to HEAD. There are also
the ChangeLog spelling fixes that you made, which are not reproduced
here (they are the same as the ones you proposed).
--
Joel
[-- Attachment #2: spelling1.diff --]
[-- Type: text/x-diff, Size: 1118 bytes --]
commit 196def080e0b875173dce3fedfcd6e0ab8d14ad6
Author: Joel Brobecker <brobecker@adacore.com>
Date: Fri Jun 3 16:27:53 2011 -0700
Spelling fixe in sim/ppc/vm.c
From Stephen Kitt <steve@sk2.org>
* vm.c (vm_synchronize_context): Spelling fix in function
documentation.
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index d2bec55..2b9017a 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
+
+ From Stephen Kitt <steve@sk2.org>
+ * vm.c (vm_synchronize_context): Spelling fix in function
+ documentation.
+
2011-04-16 Mike Frysinger <vapier@gentoo.org>
* sim_calls.c (sim_complete_command): New stub function.
diff --git a/sim/ppc/vm.c b/sim/ppc/vm.c
index bff962c..cfbdda5 100644
--- a/sim/ppc/vm.c
+++ b/sim/ppc/vm.c
@@ -913,7 +913,7 @@ om_unpack_srs(vm *virtual,
#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)
[-- Attachment #3: spelling2.diff --]
[-- Type: text/x-diff, Size: 18620 bytes --]
commit 2f4a870074817dbde6a0ad1c72f3cca0e90df1ce
Author: Joel Brobecker <brobecker@adacore.com>
Date: Fri Jun 3 16:33:18 2011 -0700
Various spelling fixes.
gdb/ChangeLog:
From Stephen Kitt <steve@sk2.org>
* breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c,
gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes.
gdb/testsuite/ChangeLog:
From Stephen Kitt <steve@sk2.org>
* gdb.base/help.exp: Adjust following some spelling corrections
in GDB.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b0e7f91..773782c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
+
+ From Stephen Kitt <steve@sk2.org>
+ * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c,
+ gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes.
+
2011-06-03 Joel Brobecker <brobecker@adacore.com>
* dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index fe797dd..3281748 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -12997,7 +12997,7 @@ If a breakpoint is hit while enabled in this fashion, it becomes disabled."),
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);
@@ -13006,13 +13006,13 @@ A disabled breakpoint is not forgotten, but has no effect until reenabled."),
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 --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index c7ec311..55c9c34 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1065,7 +1065,7 @@ extern void delete_std_terminate_breakpoint (void);
/* 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.
@@ -1079,7 +1079,7 @@ extern void delete_std_terminate_breakpoint (void);
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 --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index ac6270e..248529d 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -679,7 +679,7 @@ _initialize_cli_dump (void)
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\
@@ -719,7 +719,7 @@ the specified FILE in raw target ordered bytes.");
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, _("\
@@ -731,7 +731,7 @@ to the specified FILE in srec format."),
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, _("\
@@ -743,7 +743,7 @@ to the specified FILE in intel hex format."),
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, _("\
@@ -755,7 +755,7 @@ to the specified FILE in tekhex format."),
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, _("\
@@ -767,7 +767,7 @@ to the specified FILE in raw target ordered bytes."),
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 --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index e1ddc96..23389b8 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -437,7 +437,7 @@ dwarf_expr_require_composition (const gdb_byte *op_ptr, const gdb_byte *op_end,
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);
}
@@ -662,7 +662,7 @@ execute_stack_op (struct dwarf_expr_context *ctx,
&& *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 --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 7f98306..1e65c17 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -4030,7 +4030,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
{
if (bfd_architecture == (*curr)->bfd_architecture)
internal_error (__FILE__, __LINE__,
- _("gdbarch: Duplicate registraration "
+ _("gdbarch: Duplicate registration "
"of architecture (%s)"),
bfd_arch_info->printable_name);
}
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 3112f44..a628f8c 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -1949,7 +1949,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
{
if (bfd_architecture == (*curr)->bfd_architecture)
internal_error (__FILE__, __LINE__,
- _("gdbarch: Duplicate registraration "
+ _("gdbarch: Duplicate registration "
"of architecture (%s)"),
bfd_arch_info->printable_name);
}
diff --git a/gdb/remote.c b/gdb/remote.c
index 2c850cb..f245f52 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6229,7 +6229,7 @@ check_binary_download (CORE_ADDR addr)
{
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 --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5e1ce3c..da8d2fe 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
+
+ From Stephen Kitt <steve@sk2.org>
+ * gdb.base/help.exp: Adjust following some spelling corrections
+ in GDB.
+
2011-06-01 Yao Qi <yao@codesourcery.com>
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp
index a97ec88..0219c76 100644
--- a/gdb/testsuite/gdb.base/help.exp
+++ b/gdb/testsuite/gdb.base/help.exp
@@ -38,9 +38,9 @@ test_class_help "aliases" {"Aliases of other commands\.\[\r\n\]+"}
# 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 @@ set expected_help_disable {
"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_prefix_command_help {"disa" "disable"} $expected_help_disable "help disable
# 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 down-silently" "Same as the `down' command, but does not print an
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Spelling fixes
2011-06-03 23:52 ` Joel Brobecker
@ 2011-06-04 8:59 ` Stephen Kitt
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Kitt @ 2011-06-04 8:59 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
Hi Joel,
On Fri, Jun 03, 2011 at 04:52:20PM -0700, Joel Brobecker wrote:
> > The Lintian package validation tool in Debian picked up a few spelling
> > mistakes in gdb. The following patch fixes these mistakes:
>
> Thanks. I applied the fixes using the "obvious" rule (meaning that
> we don't need to worry about copyright assignment).
Indeed, especially since the fixes were identified by a program.
> It seems your sources are a little out of date, as I have a few
> conflicts when trying to apply the patch. None the less, thank you.
> We appreciate these contributions.
Sorry about that, I based them on the Debian 7.2 package, I should
have checked out your CVS repository!
Regards,
Stephen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-04 8:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-03 18:03 Spelling fixes Stephen Kitt
2011-06-03 23:52 ` Joel Brobecker
2011-06-04 8:59 ` Stephen Kitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox