gdb: fix shellcheck warnings SC2154 (referenced but not assigned) in gdbarch.sh
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 76f6cf789611d8685010f127a671189d396f0b1f..eb6841640b9a7dbdb9da36f24c8fb5ca1e68b6d1 100644 (file)
@@ -1,3 +1,116 @@
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Use ${foo:-} where shellcheck would report a
+       "referenced but not assigned" warning.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Remove code that sets fallbackdefault.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Use shell operators && and || instead of
+       -a and -o.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Use $(...) instead of `...`.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Use double quotes around variables.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh: Use %s with printf, instead of variables in the
+       format string.
+
+2020-04-29  Sterling Augustine <saugustine@google.com>
+
+       * dwarf2/read.c (setup_type_unit_groups): Set list_in_scope.
+
+2020-04-29  Tom Tromey  <tromey@adacore.com>
+
+       PR ada/25875:
+       * dwarf2/read.c (update_enumeration_type_from_children): Compute
+       type fields here.
+       (read_enumeration_type): Call
+       update_enumeration_type_from_children later.  Update comments.
+       (process_enumeration_scope): Don't create type fields.
+
+2020-04-29  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-tdep.c: Include "xml-syscall.h".
+       (nbsd_init_abi): Call `set_xml_syscall_file_name'.
+
+2020-04-29  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c: Include "sys/wait.h".
+       (nbsd_resume, nbsd_nat_target::resume, nbsd_wait)
+       (nbsd_nat_target::wait, nbsd_nat_target::insert_exec_catchpoint)
+       (nbsd_nat_target::remove_exec_catchpoint)
+       (nbsd_nat_target::set_syscall_catchpoint): Add.
+       * nbsd-nat.h (nbsd_nat_target::resume, nbsd_nat_target::wait)
+       (nbsd_nat_target::insert_exec_catchpoint)
+       (nbsd_nat_target::remove_exec_catchpoint)
+       (nbsd_nat_target::set_syscall_catchpoint): Add.
+       * nbsd-tdep.c (nbsd_get_syscall_number): Add.
+       (nbsd_init_abi): Call `set_gdbarch_get_syscall_number' and pass
+       `nbsd_get_syscall_number'.
+
+2020-04-29  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (print_block_frame_labels): Remove.
+
+2020-04-29  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/17320
+       * ada-valprint.c (val_print_packed_array_elements): Move array
+       end bracket to new line.
+       (ada_val_print_string): Remove extra spaces before first array
+       element.
+       * c-valprint.c (c_value_print_array): Likewise.
+       * m2-valprint.c (m2_print_array_contents): Likewise.
+       (m2_value_print_inner): Likewise.
+       * p-valprint.c (pascal_value_print_inner): Likewise.
+       * valprint.c (generic_val_print_array): Likewise.
+       (value_print_array_elements): Move first array element and array
+       end bracket to new line.
+
+2020-04-29  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25889
+       * linespec.c (find_method): Fix ix calculation.
+
+2020-04-28  Kamil Rytarowski  <n54@gmx.com>
+
+       * syscalls/update-netbsd.sh: New file.
+       * syscalls/netbsd.xml: Regenerate.
+       * data-directory/Makefile.in: Register `netbsd.xml' in
+       `SYSCALLS_FILES'.
+
+2020-04-28  Simon Marchi  <simon.marchi@efficios.com>
+
+       * syscalls/update-freebsd.sh: Add double quotes.
+
+2020-04-28  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Update.
+       * python/py-cmd.c (gdbpy_initialize_commands): Add COMMAND_TUI.
+       (cmdpy_init): Allow class_tui.
+
+2020-04-28 Mark Williams <mark@myosotissp.com>
+
+       PR gdb/24480
+       * dwarf2read.c: Add missing assingments to list_in_scope when
+       start_symtab was already called.
+
+2020-04-28  Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/25881
+       * dwarf2/read.c (offset_map_type): Use
+       gdb:hash_enum<sect_offset> as hash function.
+
 2020-04-28  Tom de Vries  <tdevries@suse.de>
 
        * dwarf2/read.c (process_structure_scope): Add symbol for struct decl
This page took 0.026913 seconds and 4 git commands to generate.