From: Tom de Vries Date: Thu, 6 Mar 2025 21:41:32 +0000 (+0100) Subject: [gdb] Fix typos in gdbarch_components.py X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fc2ce19fc7eb1a7f9f13fec1c344df3b1c1b0f5;p=thirdparty%2Fbinutils-gdb.git [gdb] Fix typos in gdbarch_components.py Fix typos in gdbarch_components.py: ... tranformations ==> transformations charater ==> character Noe -> Note ... and regenerate gdb/gdbarch-gen.h. --- diff --git a/gdb/gdbarch-gen.h b/gdb/gdbarch-gen.h index 7a52f79d762..1aa67159a09 100644 --- a/gdb/gdbarch-gen.h +++ b/gdb/gdbarch-gen.h @@ -859,7 +859,7 @@ extern void set_gdbarch_stack_frame_destroyed_p (struct gdbarch *gdbarch, gdbarc /* Process an ELF symbol in the minimal symbol table in a backend-specific way. Normally this hook is supposed to do nothing, however if required, - then this hook can be used to apply tranformations to symbols that are + then this hook can be used to apply transformations to symbols that are considered special in some way. For example the MIPS backend uses it to interpret `st_other' information to mark compressed code symbols so that they can be treated in the appropriate manner in the processing of @@ -877,7 +877,7 @@ extern void set_gdbarch_coff_make_msymbol_special (struct gdbarch *gdbarch, gdba /* Process a symbol in the main symbol table in a backend-specific way. Normally this hook is supposed to do nothing, however if required, - then this hook can be used to apply tranformations to symbols that + then this hook can be used to apply transformations to symbols that are considered special in some way. This is currently used by the MIPS backend to make sure compressed code symbols have the ISA bit set. This in turn is needed for symbol values seen in GDB to match @@ -1389,7 +1389,7 @@ extern void set_gdbarch_stap_register_suffixes (struct gdbarch *gdbarch, const c (%eax) ;; indirecting eax - in this case, this prefix would be the charater `('. + in this case, this prefix would be the character `('. Please note that we use the indirection prefix also for register displacement, e.g., `4(%eax)' on x86. */ @@ -1403,7 +1403,7 @@ extern void set_gdbarch_stap_register_indirection_prefixes (struct gdbarch *gdba (%eax) ;; indirecting eax - in this case, this prefix would be the charater `)'. + in this case, this prefix would be the character `)'. Please note that we use the indirection suffix also for register displacement, e.g., `4(%eax)' on x86. */ @@ -1623,7 +1623,7 @@ typedef void (gdbarch_info_proc_ftype) (struct gdbarch *gdbarch, const char *arg extern void gdbarch_info_proc (struct gdbarch *gdbarch, const char *args, enum info_proc_what what); extern void set_gdbarch_info_proc (struct gdbarch *gdbarch, gdbarch_info_proc_ftype *info_proc); -/* Implement the "info proc" command for core files. Noe that there +/* Implement the "info proc" command for core files. Note that there are two "info_proc"-like methods on gdbarch -- one for core files, one for live targets. */ diff --git a/gdb/gdbarch_components.py b/gdb/gdbarch_components.py index cd0a8947948..a4f1220af66 100644 --- a/gdb/gdbarch_components.py +++ b/gdb/gdbarch_components.py @@ -1498,7 +1498,7 @@ Function( comment=""" Process an ELF symbol in the minimal symbol table in a backend-specific way. Normally this hook is supposed to do nothing, however if required, -then this hook can be used to apply tranformations to symbols that are +then this hook can be used to apply transformations to symbols that are considered special in some way. For example the MIPS backend uses it to interpret `st_other' information to mark compressed code symbols so that they can be treated in the appropriate manner in the processing of @@ -1522,7 +1522,7 @@ Function( comment=""" Process a symbol in the main symbol table in a backend-specific way. Normally this hook is supposed to do nothing, however if required, -then this hook can be used to apply tranformations to symbols that +then this hook can be used to apply transformations to symbols that are considered special in some way. This is currently used by the MIPS backend to make sure compressed code symbols have the ISA bit set. This in turn is needed for symbol values seen in GDB to match @@ -2224,7 +2224,7 @@ For example, on x86 the register indirection is written as: (%eax) ;; indirecting eax -in this case, this prefix would be the charater `('. +in this case, this prefix would be the character `('. Please note that we use the indirection prefix also for register displacement, e.g., `4(%eax)' on x86. @@ -2243,7 +2243,7 @@ For example, on x86 the register indirection is written as: (%eax) ;; indirecting eax -in this case, this prefix would be the charater `)'. +in this case, this prefix would be the character `)'. Please note that we use the indirection suffix also for register displacement, e.g., `4(%eax)' on x86. @@ -2552,7 +2552,7 @@ Implement the "info proc" command. Method( comment=""" -Implement the "info proc" command for core files. Noe that there +Implement the "info proc" command for core files. Note that there are two "info_proc"-like methods on gdbarch -- one for core files, one for live targets. """,