Make add-symbol-file's address argument optional
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index de9127f70fe1417e9a012756c5da19f298514ebd..f17c1a105aee3da7357161bc34c42e5db1958cdc 100644 (file)
@@ -1,3 +1,177 @@
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (add_symbol_file_command, _initialize_symfile): Do not
+       require the second argument.  If omitted, load sections at the
+       addresses specified in the file.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (symbol_file_command, symbol_file_add_main_1)
+       (_initialize_symfile): Add option "-o" to symbol-file to add an
+       offset to each section of the symbol file.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * MAINTAINERS (Write After Approval): Add Petr Tesarik.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (_initialize_stack): Update "func" help text.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
+       * python/py-unwind.c (unwind_info_object) <saved_regs>: Now a
+       std::vector.
+       (unwind_infopy_str, pyuw_create_unwind_info)
+       (unwind_infopy_add_saved_register, pyuw_sniffer)
+       (unwind_infopy_dealloc, unwind_infopy_add_saved_register):
+       Update.
+       (struct saved_reg): Add constructor.
+       <value>: Now a gdbpy_ref<>.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
+       * machoread.c (macho_symfile_read): Define "symbol_table" earlier.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb-gdb.py.in: Format using autopep8.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb-gdb.py.in (CoreAddrPrettyPrinter): New class.
+       (type_lookup_function): Recognize CORE_ADDR values.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb-gdb.py.in (StructMainTypePrettyPrinter) <to_string>: Don't
+       print tag_name.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb-gdb.py.in (TypeFlag) <__cmp__>: Remove.
+       <__lt__>: Add.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb-gdb.py: Move to...
+       * gdb-gdb.py.in: ... here.
+       * configure.ac (AC_CONFIG_FILES): Add gdb-gdb.py.
+       * Makefile.in (all): Add gdb-gdb.gdb and gdb-gdb.py as
+       dependencies.
+       (distclean): Remove gdb-gdb.py when cleaning.
+       (gdb-gdb.py, gdb-gdb.gdb): New rules.
+       * configure: Re-generate.
+
+2018-06-27  Pedro Alves  <palves@redhat.com>
+
+       * proc-service.c (get_ps_regcache): New.
+       (ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
+       (ps_lsetfpregs): Use it.
+
+2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
+
+       PR gdb/21695
+       * dwarf2read.c (lnp_state_machine::check_line_address): Update declaration.
+       (dwarf_decode_lines_1): Adjust.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * fbsd-nat.h (class fbsd_nat_target) <find_memory_regions>: Add
+       override.
+       <info_proc>: Likewise.
+
+2018-06-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (do_windows_fetch_inferior_registers): Rename
+       to windows_fetch_one_register, and only handle the case of
+       fetching one register.  Move the code that reloads the context
+       and iterates over all registers if R is negative to...
+       (windows_nat_target::fetch_registers): ... here.
+       (do_windows_store_inferior_registers): Rename to
+       windows_store_one_register, and only handle the case of storing
+       one register.  Move the code that handles the case where r is
+       negative to...
+       (windows_nat_target::store_registers) ... here.
+
+2018-06-26  Tom Tromey  <tom@tromey.com>
+
+       PR rust/22574:
+       * typeprint.c (whatis_exp): Allow ptype/o for Rust.
+       * rust-lang.c (rust_print_struct_def): Add podata parameter.
+       Update.
+       (rust_internal_print_type): Add podata parameter.
+       (rust_print_type): Update.
+
+2018-06-26  Tom Tromey  <tom@tromey.com>
+
+       * typeprint.h (struct print_offset_data) <update, finish,
+       maybe_print_hole>: New methods.
+       <indentation>: New constant.
+       * typeprint.c (print_offset_data::indentation): Define.
+       (print_offset_data::maybe_print_hole, print_offset_data::update)
+       (print_offset_data::finish): Move from c-typeprint.c and rename.
+       * c-typeprint.c (OFFSET_SPC_LEN): Remove.
+       (print_spaces_filtered_with_print_options): Update.
+       (c_print_type_union_field_offset, maybe_print_hole)
+       (c_print_type_struct_field_offset): Move to typeprint.c and
+       rename.
+       (c_type_print_base_struct_union): Update.
+
+2018-06-25  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (thread_info_ref, delete_thread)
+       (delete_thread_silent, first_thread_of_inferior)
+       (any_thread_of_inferior, switch_to_thread)
+       (enable_thread_stack_temporaries)
+       (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
+       (get_last_thread_stack_temporary)
+       (value_in_thread_stack_temporaries, can_access_registers_thread):
+       Spell out "struct thread_info" instead of just "thread_info".
+       * inferior.h (notice_new_inferior): Likewise.
+
+2018-06-25  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (windows_delete_thread): Use find_thread_ptid and
+       pass thread_info pointer to delete_thread.
+       (windows_nat_target::detach): Pass inferior pointer to
+       detach_inferior.
+       * aix-thread.c (sync_threadlists): Pass thread_info pointer to
+       delete_thread.
+       * bsd-kvm.c (bsd_kvm_target::close): Use discard_all_inferiors.
+       * darwin-nat.c (darwin_check_new_threads): Use find_thread_ptid
+       and pass a thread_info pointer to delete_thread.
+       * fbsd-nat.c (fbsd_nat_target::wait): Use find_thread_ptid and
+       pass thread_info pointer to delete_thread.
+       * go32-nat.c (go32_nat_target::mourn_inferior): Remove
+       delete_thread_silent call.
+       * procfs.c (procfs_target::detach): Pass inferior pointer to
+       detach_inferior.
+       (procfs_target::wait): Pass thread_info pointer to delete_thread.
+       * remote-sim.c (gdbsim_target::mourn_inferior): Remove
+       delete_thread_silent call.
+       * windows-nat.c (windows_delete_thread): Use find_thread_ptid and
+       pass thread_info pointer to delete_thread.
+       (windows_nat_target::detach): Pass inferior pointer to
+       delete_inferior.
+
+2018-06-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * regcache.c (readable_regcache::read_part): Fix asserts.
+       (reg_buffer::raw_collect_part): New function.
+       (regcache::write_part): Fix asserts.
+       (reg_buffer::raw_supply_part): New function.
+       (regcache::transfer_regset_register): New helper function.
+       (regcache::transfer_regset): Call new functions.
+       (regcache_supply_regset): Use gdb_byte*.
+       (regcache::supply_regset): Likewise.
+       (regcache_collect_regset): Likewise.
+       (regcache::collect_regset): Likewise.
+       * regcache.h (reg_buffer::raw_collect_part): New declaration.
+       (reg_buffer::raw_supply_part): Likewise.
+       (regcache::transfer_regset_register): Likewise.
+       (regcache::transfer_regset): Use gdb_byte*.
+
 2018-06-22  Alan Hayward  <alan.hayward@arm.com>
 
        * nat/aarch64-sve-linux-ptrace.h (HAS_SVE_STATE): Use &.
This page took 0.025033 seconds and 4 git commands to generate.