diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 30 | ||||
-rw-r--r-- | gdb/arm-nbsd-nat.c | 2 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 8 | ||||
-rw-r--r-- | gdb/darwin-nat-info.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 4 | ||||
-rw-r--r-- | gdb/elfread.c | 4 | ||||
-rw-r--r-- | gdb/event-top.c | 4 | ||||
-rw-r--r-- | gdb/findvar.c | 2 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 2 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 2 | ||||
-rw-r--r-- | gdb/jit.c | 2 | ||||
-rw-r--r-- | gdb/main.c | 2 | ||||
-rw-r--r-- | gdb/mdebugread.c | 4 | ||||
-rw-r--r-- | gdb/moxie-tdep.c | 2 | ||||
-rw-r--r-- | gdb/nto-procfs.c | 2 | ||||
-rw-r--r-- | gdb/osabi.c | 2 | ||||
-rw-r--r-- | gdb/ppc-linux-tdep.c | 4 | ||||
-rw-r--r-- | gdb/remote.c | 12 | ||||
-rw-r--r-- | gdb/riscv-tdep.c | 2 | ||||
-rw-r--r-- | gdb/s390-tdep.c | 16 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 10 | ||||
-rw-r--r-- | gdb/sparc-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sparc-nat.c | 2 | ||||
-rw-r--r-- | gdb/stack.c | 2 | ||||
-rw-r--r-- | gdb/target-descriptions.c | 2 | ||||
-rw-r--r-- | gdb/top.c | 2 | ||||
-rw-r--r-- | gdb/varobj.c | 2 |
28 files changed, 81 insertions, 51 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ced508f..e70e40e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,33 @@ +2019-10-17 Tom de Vries <tdevries@suse.de> + + * arm-nbsd-nat.c: Fix typos in comments. + * arm-tdep.c: Same. + * darwin-nat-info.c: Same. + * dwarf2read.c: Same. + * elfread.c: Same. + * event-top.c: Same. + * findvar.c: Same. + * gdbtypes.c: Same. + * hppa-tdep.c: Same. + * i386-tdep.c: Same. + * jit.c: Same. + * main.c: Same. + * mdebugread.c: Same. + * moxie-tdep.c: Same. + * nto-procfs.c: Same. + * osabi.c: Same. + * ppc-linux-tdep.c: Same. + * remote.c: Same. + * riscv-tdep.c: Same. + * s390-tdep.c: Same. + * sh-tdep.c: Same. + * sparc-linux-tdep.c: Same. + * sparc-nat.c: Same. + * stack.c: Same. + * target-descriptions.c: Same. + * top.c: Same. + * varobj.c: Same. + 2019-10-16 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile) <original_name>: Now const. diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index 5160bfd..82c8ad5 100644 --- a/gdb/arm-nbsd-nat.c +++ b/gdb/arm-nbsd-nat.c @@ -437,7 +437,7 @@ fetch_elfcore_registers (struct regcache *regcache, static struct core_fns arm_netbsd_elfcore_fns = { - bfd_target_elf_flavour, /* core_flovour. */ + bfd_target_elf_flavour, /* core_flavour. */ default_check_format, /* check_format. */ default_core_sniffer, /* core_sniffer. */ fetch_elfcore_registers, /* core_read_registers. */ diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 5c1476a..fe5605c 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -6809,7 +6809,7 @@ thumb2_decode_svc_copro (struct gdbarch *gdbarch, uint16_t insn1, if (bit_4 == 0) /* STC/STC2. */ return thumb_copy_unmodified_32bit (gdbarch, insn1, insn2, "stc/stc2", dsc); - else /* LDC/LDC2 {literal, immeidate}. */ + else /* LDC/LDC2 {literal, immediate}. */ return thumb2_copy_copro_load_store (gdbarch, insn1, insn2, regs, dsc); } @@ -6954,7 +6954,7 @@ thumb_copy_16bit_ldr_literal (struct gdbarch *gdbarch, uint16_t insn1, return 0; } -/* Copy Thumb cbnz/cbz insruction. */ +/* Copy Thumb cbnz/cbz instruction. */ static int thumb_copy_cbnz_cbz (struct gdbarch *gdbarch, uint16_t insn1, @@ -7329,7 +7329,7 @@ thumb_process_displaced_32bit_insn (struct gdbarch *gdbarch, uint16_t insn1, case 0: if (bit (insn1, 6)) { - /* Load/store {dual, execlusive}, table branch. */ + /* Load/store {dual, exclusive}, table branch. */ if (bits (insn1, 7, 8) == 1 && bits (insn1, 4, 5) == 1 && bits (insn2, 5, 7) == 0) err = thumb2_copy_table_branch (gdbarch, insn1, insn2, regs, @@ -7390,7 +7390,7 @@ thumb_process_displaced_32bit_insn (struct gdbarch *gdbarch, uint16_t insn1, err = thumb_copy_unmodified_32bit (gdbarch, insn1, insn2, "dp/pb", dsc); } - else /* Data processing (modified immeidate) */ + else /* Data processing (modified immediate) */ err = thumb_copy_unmodified_32bit (gdbarch, insn1, insn2, "dp/mi", dsc); } diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 4469cd5..b862c44 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -810,7 +810,7 @@ info_mach_exceptions_command (const char *args, int from_tty) } else if (strcmp (args, "host") == 0) { - /* FIXME: This need a privilegied host port! */ + /* FIXME: This needs a privileged host port! */ kret = host_get_exception_ports (darwin_host_self, EXC_MASK_ALL, info.masks, &info.count, info.ports, info.behaviors, info.flavors); diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index a78f818..5c705b0 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1486,7 +1486,7 @@ struct cu_partial_die_info cu_partial_die_info (struct dwarf2_cu *cu, struct partial_die_info *pdi) : cu (cu), pdi (pdi) - { /* Nothhing. */ } + { /* Nothing. */ } private: cu_partial_die_info () = delete; @@ -14942,7 +14942,7 @@ producer_is_codewarrior (struct dwarf2_cu *cu) return cu->producer_is_codewarrior; } -/* Return the default accessibility type if it is not overriden by +/* Return the default accessibility type if it is not overridden by DW_AT_accessibility. */ static enum dwarf_access_attribute diff --git a/gdb/elfread.c b/gdb/elfread.c index 53bdd35..1b5b4e0 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -1433,7 +1433,7 @@ const struct sym_fns elf_sym_fns_gdb_index = elf_symfile_read, /* read a symbol file into symtab */ NULL, /* sym_read_psymbols */ elf_symfile_finish, /* finished with file, cleanup */ - default_symfile_offsets, /* Translate ext. to int. relocatin */ + default_symfile_offsets, /* Translate ext. to int. relocation */ elf_symfile_segments, /* Get segment information from a file. */ NULL, default_symfile_relocate, /* Relocate a debug section. */ @@ -1450,7 +1450,7 @@ const struct sym_fns elf_sym_fns_debug_names = elf_symfile_read, /* read a symbol file into symtab */ NULL, /* sym_read_psymbols */ elf_symfile_finish, /* finished with file, cleanup */ - default_symfile_offsets, /* Translate ext. to int. relocatin */ + default_symfile_offsets, /* Translate ext. to int. relocation */ elf_symfile_segments, /* Get segment information from a file. */ NULL, default_symfile_relocate, /* Relocate a debug section. */ diff --git a/gdb/event-top.c b/gdb/event-top.c index 0b05b2f..0396dbc 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -421,7 +421,7 @@ display_gdb_prompt (const char *new_prompt) } /* Return the top level prompt, as specified by "set prompt", possibly - overriden by the python gdb.prompt_hook hook, and then composed + overridden by the python gdb.prompt_hook hook, and then composed with the prompt prefix and suffix (annotations). */ static std::string @@ -1152,7 +1152,7 @@ handle_sigfpe (int sig) signal (sig, handle_sigfpe); } -/* Event loop will call this functin to process a SIGFPE. */ +/* Event loop will call this function to process a SIGFPE. */ static void async_float_handler (gdb_client_data arg) { diff --git a/gdb/findvar.c b/gdb/findvar.c index e52ec8d..3c8e631 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -218,7 +218,7 @@ store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr) bytes. If SOURCE_SIZE is greater than DEST_SIZE, then truncate the most significant bytes. If SOURCE_SIZE is less than DEST_SIZE then either sign or zero extended according to IS_SIGNED. Values are stored in memory with - endianess BYTE_ORDER. */ + endianness BYTE_ORDER. */ void copy_integer_to_size (gdb_byte *dest, int dest_size, const gdb_byte *source, diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index a2b81c8..fd1c765 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -2733,7 +2733,7 @@ check_stub_method_group (struct type *type, int method_id) } } -/* Ensure it is in .rodata (if available) by workarounding GCC PR 44690. */ +/* Ensure it is in .rodata (if available) by working around GCC PR 44690. */ const struct cplus_struct_type cplus_struct_default = { }; void diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 249d5c9..c307de8 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -88,7 +88,7 @@ static const struct objfile_key<hppa_objfile_private, gdb::noop_deleter<hppa_objfile_private>> hppa_objfile_priv_data; -/* Get at various relevent fields of an instruction word. */ +/* Get at various relevant fields of an instruction word. */ #define MASK_5 0x1f #define MASK_11 0x7ff #define MASK_14 0x3fff diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index ccec6d1..3eb6fa4 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2956,7 +2956,7 @@ i386_return_value (struct gdbarch *gdbarch, struct value *function, || code == TYPE_CODE_UNION || code == TYPE_CODE_ARRAY) && !i386_reg_struct_return_p (gdbarch, type)) - /* Complex double and long double uses the struct return covention. */ + /* Complex double and long double uses the struct return convention. */ || (code == TYPE_CODE_COMPLEX && TYPE_LENGTH (type) == 16) || (code == TYPE_CODE_COMPLEX && TYPE_LENGTH (type) == 24) /* 128-bit decimal float uses the struct return convention. */ @@ -76,7 +76,7 @@ struct target_buffer ULONGEST size; }; -/* Openning the file is a no-op. */ +/* Opening the file is a no-op. */ static void * mem_bfd_iovec_open (struct bfd *abfd, void *open_closure) @@ -911,7 +911,7 @@ captured_main_1 (struct captured_main_args *context) } /* Lookup gdbinit files. Note that the gdbinit file name may be - overriden during file initialization, so get_init_files should be + overridden during file initialization, so get_init_files should be called after gdb_init. */ std::string system_gdbinit; std::string home_gdbinit; diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index eed7146..e76fe9a 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -187,7 +187,7 @@ static const struct ecoff_debug_swap *debug_swap; static struct ecoff_debug_info *debug_info; -/* Pointer to current file decriptor record, and its index. */ +/* Pointer to current file descriptor record, and its index. */ static FDR *cur_fdr; static int cur_fd; @@ -3729,7 +3729,7 @@ parse_partial_symbols (minimal_symbol_reader &reader, if (rh == f_idx) continue; - /* Do not add to dependeny list if psymtab was empty. */ + /* Do not add to dependency list if psymtab was empty. */ if (fdr_to_pst[rh].pst == NULL) continue; pst->dependencies[pst->number_of_dependencies++] diff --git a/gdb/moxie-tdep.c b/gdb/moxie-tdep.c index 251c267..81fdb71 100644 --- a/gdb/moxie-tdep.c +++ b/gdb/moxie-tdep.c @@ -271,7 +271,7 @@ struct moxie_unwind_cache }; /* Read an unsigned integer from the inferior, and adjust - endianess. */ + endianness. */ static ULONGEST moxie_process_readu (CORE_ADDR addr, gdb_byte *buf, int length, enum bfd_endian byte_order) diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index b9866c2..0a199e7 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -605,7 +605,7 @@ procfs_meminfo (const char *args, int from_tty) if (strcmp (map.info.path, printme.name)) continue; - /* Lower debug_vaddr is always text, if nessessary, swap. */ + /* Lower debug_vaddr is always text, if necessary, swap. */ if ((int) map.info.vaddr < (int) printme.text.debug_vaddr) { memcpy (&(printme.data), &(printme.text), diff --git a/gdb/osabi.c b/gdb/osabi.c index cdf72a7..cc1652c 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -415,7 +415,7 @@ check_note (bfd *abfd, asection *sect, char *note, unsigned int *sectsize, /* If this assertion triggers, increase MAX_NOTESZ. */ gdb_assert (notesz <= MAX_NOTESZ); - /* Check whether SECT is big enough to comtain the complete note. */ + /* Check whether SECT is big enough to contain the complete note. */ if (notesz > bfd_section_size (sect)) return 0; diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index ce3c727..e692cff 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -657,7 +657,7 @@ const struct regset ppc32_linux_tm_sprregset = { general-purpose regsets for 32-bit, 64-bit big-endian, and 64-bit little endian targets. The ptrace and core file buffers for 64-bit targets use 8-byte fields for the 4-byte registers, and the - position of the register in the fields depends on the endianess. + position of the register in the fields depends on the endianness. The 32-bit regmap is the same for both endian types because the fields are all 4-byte long. @@ -761,7 +761,7 @@ const struct regset ppc32_linux_cfprregset = { /* Regmaps for the Hardware Transactional Memory checkpointed vector regsets, for big and little endian targets. The position of the - 4-byte VSCR in its 16-byte field depends on the endianess. */ + 4-byte VSCR in its 16-byte field depends on the endianness. */ static const struct regcache_map_entry ppc32_le_regmap_cvmx[] = { diff --git a/gdb/remote.c b/gdb/remote.c index 73b510d..f616569 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -141,7 +141,7 @@ struct vCont_action_support bool S = false; }; -/* About this many threadisds fit in a packet. */ +/* About this many threadids fit in a packet. */ #define MAXTHREADLISTRESULTS 32 @@ -3250,7 +3250,7 @@ remote_target::remote_unpack_thread_info_response (char *pkt, } copy_threadref (&info->threadid, &ref); - /* Loop on tagged fields , try to bail if somthing goes wrong. */ + /* Loop on tagged fields , try to bail if something goes wrong. */ /* Packets are terminated with nulls. */ while ((pkt < limit) && mask && *pkt) @@ -3389,7 +3389,7 @@ remote_target::remote_get_threadlist (int startflag, threadref *nextthread, struct remote_state *rs = get_remote_state (); int result = 1; - /* Trancate result limit to be smaller than the packet size. */ + /* Truncate result limit to be smaller than the packet size. */ if ((((result_limit + 1) * BUF_THREAD_ID_SIZE) + 10) >= get_remote_packet_size ()) result_limit = (get_remote_packet_size () / BUF_THREAD_ID_SIZE) - 2; @@ -3411,8 +3411,8 @@ remote_target::remote_get_threadlist (int startflag, threadref *nextthread, if (!threadmatch (&rs->echo_nextthread, nextthread)) { /* FIXME: This is a good reason to drop the packet. */ - /* Possably, there is a duplicate response. */ - /* Possabilities : + /* Possibly, there is a duplicate response. */ + /* Possibilities : retransmit immediatly - race conditions retransmit after timeout - yes exit @@ -11283,7 +11283,7 @@ output_threadid (char *title, threadref *ref) { char hexid[20]; - pack_threadid (&hexid[0], ref); /* Convert threead id into hex. */ + pack_threadid (&hexid[0], ref); /* Convert thread id into hex. */ hexid[16] = 0; printf_filtered ("%s %s\n", title, (&hexid[0])); } diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 031fc8f..810b834 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -1010,7 +1010,7 @@ public: LUI, SD, SW, - /* These are needed for software breakopint support. */ + /* These are needed for software breakpoint support. */ JAL, JALR, BEQ, diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 329a122..a4aae07 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -2116,7 +2116,7 @@ s390_return_value (struct gdbarch *gdbarch, struct value *function, /* Frame unwinding. */ -/* Implmement the stack_frame_destroyed_p gdbarch method. */ +/* Implement the stack_frame_destroyed_p gdbarch method. */ static int s390_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc) @@ -5311,7 +5311,7 @@ ex: case 0xe383: /* MSGC - multiply single 64x64mem -> 64 */ case 0xe398: /* ALC - add logical with carry */ case 0xe399: /* SLB - subtract logical with borrow */ - case 0xe727: /* LCBB - load count to block bounduary */ + case 0xe727: /* LCBB - load count to block boundary */ case 0xeb81: /* ICMY - insert characters under mask */ case 0xebdc: /* SRAK - shift left single */ case 0xebdd: /* SLAK - shift left single */ @@ -5537,7 +5537,7 @@ ex: case 0xe704: /* VLLEZ - vector load logical element and zero */ case 0xe705: /* VLREP - vector load and replicate */ case 0xe706: /* VL - vector load */ - case 0xe707: /* VLBB - vector load to block bounduary */ + case 0xe707: /* VLBB - vector load to block boundary */ case 0xe712: /* VGEG - vector gather element */ case 0xe713: /* VGEF - vector gather element */ case 0xe722: /* VLVG - vector load vr element from gr */ @@ -6238,7 +6238,7 @@ ex: return -1; break; - /* 0xed42-0xed47 undefind */ + /* 0xed42-0xed47 undefined */ case 0xed48: /* SLXT - shift significand left */ case 0xed49: /* SRXT - shift significand right */ @@ -6253,10 +6253,10 @@ ex: return -1; break; - /* 0xed4a-0xed4f undefind */ - /* 0xed52-0xed53 undefind */ - /* 0xed56-0xed57 undefind */ - /* 0xed5a-0xed63 undefind */ + /* 0xed4a-0xed4f undefined */ + /* 0xed52-0xed53 undefined */ + /* 0xed56-0xed57 undefined */ + /* 0xed5a-0xed63 undefined */ /* 0xed68-0xeda7 undefined */ case 0xeda8: /* CZDT - convert to zoned */ diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 8337a07..48a388b 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -912,7 +912,7 @@ sh_frame_align (struct gdbarch *ignore, CORE_ADDR sp) not displace any of the other arguments passed in via registers R4 to R7. */ -/* Helper function to justify value in register according to endianess. */ +/* Helper function to justify value in register according to endianness. */ static const gdb_byte * sh_justify_value_in_reg (struct gdbarch *gdbarch, struct value *val, int len) { @@ -942,7 +942,7 @@ sh_stack_allocsize (int nargs, struct value **args) } /* Helper functions for getting the float arguments right. Registers usage - depends on the ABI and the endianess. The comments should enlighten how + depends on the ABI and the endianness. The comments should enlighten how it's intended to work. */ /* This array stores which of the float arg registers are already in use. */ @@ -1045,7 +1045,7 @@ sh_treat_as_flt_p (struct type *type) /* Otherwise non-struct types are not treated as float. */ if (TYPE_CODE (type) != TYPE_CODE_STRUCT) return 0; - /* Otherwise structs with more than one memeber are not treated as float. */ + /* Otherwise structs with more than one member are not treated as float. */ if (TYPE_NFIELDS (type) != 1) return 0; /* Otherwise if the type of that member is float, the whole type is @@ -1669,7 +1669,7 @@ sh_pseudo_register_read (struct gdbarch *gdbarch, readable_regcache *regcache, 2, base_regnum, temp_buffer); if (status == REG_VALID) { - /* We must pay attention to the endiannes. */ + /* We must pay attention to the endianness. */ sh_register_convert_to_virtual (gdbarch, reg_nr, register_type (gdbarch, reg_nr), temp_buffer, buffer); @@ -1712,7 +1712,7 @@ sh_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, gdb_byte temp_buffer[4 * 2]; base_regnum = dr_reg_base_num (gdbarch, reg_nr); - /* We must pay attention to the endiannes. */ + /* We must pay attention to the endianness. */ sh_register_convert_to_raw (gdbarch, register_type (gdbarch, reg_nr), reg_nr, buffer, temp_buffer); diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 35bffdd..be3ff8d 100644 --- a/gdb/sparc-linux-tdep.c +++ b/gdb/sparc-linux-tdep.c @@ -68,7 +68,7 @@ static const struct tramp_frame sparc32_linux_sigframe = SIGTRAMP_FRAME, 4, { - { 0x821020d8, ULONGEST_MAX }, /* mov __NR_sugreturn, %g1 */ + { 0x821020d8, ULONGEST_MAX }, /* mov __NR_sigreturn, %g1 */ { 0x91d02010, ULONGEST_MAX }, /* ta 0x10 */ { TRAMP_SENTINEL_INSN, ULONGEST_MAX } }, diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index 3685e5a..8a12487 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -308,7 +308,7 @@ sparc_xfer_wcookie (struct target_ops *ops, enum target_object object, void _initialize_sparc_nat (void) { - /* Deafult to using SunOS 4 register sets. */ + /* Default to using SunOS 4 register sets. */ if (sparc_gregmap == NULL) sparc_gregmap = &sparc32_sunos4_gregmap; if (sparc_fpregmap == NULL) diff --git a/gdb/stack.c b/gdb/stack.c index c7c67fc..32c9c73 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -959,7 +959,7 @@ get_user_print_what_frame_info (gdb::optional<enum print_what> *what) /* Print information about frame FRAME. The output is format according to PRINT_LEVEL and PRINT_WHAT and PRINT_ARGS. For the meaning of PRINT_WHAT, see enum print_what comments in frame.h. - Note that PRINT_WHAT is overriden if FP_OPTS.print_frame_info + Note that PRINT_WHAT is overridden if FP_OPTS.print_frame_info != print_frame_info_auto. Used in "where" output, and to emit breakpoint or step diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index f4368bb..f4213bf 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -1747,7 +1747,7 @@ static std::vector<xml_test_tdesc> xml_tdesc; #if GDB_SELF_TEST -/* See target-descritpions.h. */ +/* See target-descriptions.h. */ void record_xml_tdesc (const char *xml_file, const struct target_desc *tdesc) @@ -86,7 +86,7 @@ extern void initialize_all_files (void); #define PREFIX(X) the_prompts.prompt_stack[the_prompts.top + X].prefix #define SUFFIX(X) the_prompts.prompt_stack[the_prompts.top + X].suffix -/* Default command line prompt. This is overriden in some configs. */ +/* Default command line prompt. This is overridden in some configs. */ #ifndef DEFAULT_PROMPT #define DEFAULT_PROMPT "(gdb) " diff --git a/gdb/varobj.c b/gdb/varobj.c index 37a522b..09c42a3 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1831,7 +1831,7 @@ install_variable (struct varobj *var) return true; /* OK */ } -/* Unistall the object VAR. */ +/* Uninstall the object VAR. */ static void uninstall_variable (struct varobj *var) { |