mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 01:53:38 +08:00
[gdb/contrib] Handle double quotes in spellcheck.sh
Add handling of double quotes in gdb/contrib/spellcheck.sh, and fix the following typos: ... inheritence -> inheritance psuedo -> pseudo succeded -> succeeded ... Tested on x86_64-linux. Approved-by: Kevin Buettner <kevinb@redhat.com>
This commit is contained in:
parent
0d1f7e2765
commit
ee126995f5
@ -37,6 +37,7 @@ grep_separators=(
|
||||
" "
|
||||
":"
|
||||
","
|
||||
"\""
|
||||
)
|
||||
declare -a sed_separators
|
||||
sed_separators=(
|
||||
@ -45,6 +46,7 @@ sed_separators=(
|
||||
"\t"
|
||||
":"
|
||||
","
|
||||
"\""
|
||||
)
|
||||
|
||||
# Pre: start of line, left parenthesis.
|
||||
|
@ -630,7 +630,7 @@ darwin_debug_regions_recurse (task_t task)
|
||||
}
|
||||
uiout->table_header (3, ui_left, "min-prot", "Min");
|
||||
uiout->table_header (3, ui_left, "max-prot", "Max");
|
||||
uiout->table_header (5, ui_left, "inheritence", "Inh");
|
||||
uiout->table_header (5, ui_left, "inheritance", "Inh");
|
||||
uiout->table_header (9, ui_left, "share-mode", "Shr");
|
||||
uiout->table_header (1, ui_left, "depth", "D");
|
||||
uiout->table_header (3, ui_left, "submap", "Sm");
|
||||
@ -662,7 +662,7 @@ darwin_debug_regions_recurse (task_t task)
|
||||
unparse_protection (r_info.protection));
|
||||
uiout->field_string ("max-prot",
|
||||
unparse_protection (r_info.max_protection));
|
||||
uiout->field_string ("inheritence",
|
||||
uiout->field_string ("inheritance",
|
||||
unparse_inheritance (r_info.inheritance));
|
||||
uiout->field_string ("share-mode",
|
||||
unparse_share_mode (r_info.share_mode));
|
||||
|
@ -380,7 +380,7 @@ static const char * const sparc32_register_names[] =
|
||||
#define SPARC32_NUM_REGS ARRAY_SIZE (sparc32_register_names)
|
||||
|
||||
/* We provide the aliases %d0..%d30 for the floating registers as
|
||||
"psuedo" registers. */
|
||||
"pseudo" registers. */
|
||||
|
||||
static const char * const sparc32_pseudo_register_names[] =
|
||||
{
|
||||
|
@ -786,7 +786,7 @@ static const char * const sparc64_register_names[] =
|
||||
#define SPARC64_NUM_REGS ARRAY_SIZE (sparc64_register_names)
|
||||
|
||||
/* We provide the aliases %d0..%d62 and %q0..%q60 for the floating
|
||||
registers as "psuedo" registers. */
|
||||
registers as "pseudo" registers. */
|
||||
|
||||
static const char * const sparc64_pseudo_register_names[] =
|
||||
{
|
||||
|
@ -139,7 +139,7 @@ proc gdb_load { arg } {
|
||||
sleep 2
|
||||
send_gdb ""
|
||||
gdb_expect {
|
||||
-re ".*$gdb_prompt $" { verbose "Run command succeded" }
|
||||
-re ".*$gdb_prompt $" { verbose "Run command succeeded" }
|
||||
default {
|
||||
perror "error sending monitor run command"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user