mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 10:35:12 +08:00
701adfb009
I spotted a few misplaced entries in the ChangeLog-2019 entries, and went on to fix them. Looking around I saw a good number of other entries in other years. Then OCD got the best of me and I fixed them all. Also fixes cases of wrong paths in entries, like "* gdb/foo.c" instead of "* foo.c".
16658 lines
607 KiB
Plaintext
16658 lines
607 KiB
Plaintext
2014-12-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Document removal of "dll-symbols", "add-shared-symbol-files"
|
||
and "assf" commands.
|
||
|
||
2014-12-30 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (safe_symbol_file_add_stub)
|
||
(safe_symbol_file_add_cleanup, safe_symbol_file_add)
|
||
(dll_symbol_command): Delete.
|
||
(_initialize_windows_nat): Delete local variable "c".
|
||
Remove "dll-symbols", "add-shared-symbol-files" and assf"
|
||
commands.
|
||
|
||
2014-12-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||
|
||
* arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args switch
|
||
case statements.
|
||
|
||
2014-12-29 Anthony Green <green@moxielogic.com>
|
||
|
||
* configure.tgt: Add support for moxiebox target.
|
||
|
||
2014-12-27 Anthony Green <green@moxielogic.com>
|
||
|
||
* moxie-tdep.c (moxie_software_single_step): ldo/sto instructions
|
||
are 32 bits, not 48. Update comments for various instructions.
|
||
(moxie_process_record): Update for new shorter ldo/sto
|
||
instructions. Add support for sex, zex, umul.x and mul.x
|
||
instructions. Update comments for various instructions.
|
||
|
||
2014-12-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||
|
||
* arm-tdep.c (arm_gdbarch_init): Explicitly handle value 3 of
|
||
Tag_ABI_VFP_args. Also replace hardcoded values by enum values in the
|
||
switch handling the different values of Tag_ABI_VFP_args.
|
||
|
||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* ada-lang.c (user_select_syms): Only fetch symtab if symbol is
|
||
objfile-owned.
|
||
(cache_symbol): Ignore symbols that are not objfile-owned.
|
||
* block.c (block_objfile): New function.
|
||
(block_gdbarch): New function.
|
||
* block.h (block_objfile): Declare.
|
||
(block_gdbarch): Declare.
|
||
* c-exp.y (classify_name): Remove call to
|
||
language_lookup_primitive_type. No longer necessary.
|
||
* gdbtypes.c (lookup_typename): Call lookup_symbol_in_language.
|
||
Remove call to language_lookup_primitive_type. No longer necessary.
|
||
* guile/scm-symbol.c (syscm_gdbarch_data_key): New static global.
|
||
(syscm_gdbarch_data): New struct.
|
||
(syscm_init_arch_symbols): New function.
|
||
(syscm_get_symbol_map): Renamed from syscm_objfile_symbol_map.
|
||
All callers updated. Handle symbols owned by arches.
|
||
(gdbscm_symbol_symtab): Handle symbols owned by arches.
|
||
(gdbscm_initialize_symbols): Initialize syscm_gdbarch_data_key.
|
||
* language.c (language_lookup_primitive_type_1): New function.
|
||
(language_lookup_primitive_type): Call it.
|
||
(language_alloc_type_symbol): New function.
|
||
(language_init_primitive_type_symbols): New function.
|
||
(language_lookup_primitive_type_as_symbol): New function.
|
||
* language.h (struct language_arch_info) <primitive_type_symbols>:
|
||
New member.
|
||
(language_lookup_primitive_type): Add function comment.
|
||
(language_lookup_primitive_type_as_symbol): Declare.
|
||
* printcmd.c (address_info): Handle arch-owned symbols.
|
||
* python/py-symbol.c (sympy_get_symtab): Ditto.
|
||
(set_symbol): Ditto.
|
||
(sympy_dealloc): Ditto.
|
||
* symmisc.c (print_symbol): Ditto.
|
||
* symtab.c (fixup_symbol_section): Ditto.
|
||
(lookup_symbol_aux): Initialize block_found.
|
||
(basic_lookup_symbol_nonlocal): Try looking up the symbol as a
|
||
primitive type.
|
||
(initialize_objfile_symbol_1): New function.
|
||
(initialize_objfile_symbol): Call it.
|
||
(allocate_symbol): Call it.
|
||
(allocate_template_symbol): Call it.
|
||
(symbol_objfile): Assert symbol is objfile-owned.
|
||
(symbol_arch, symbol_symtab, symbol_set_symtab): Ditto.
|
||
* symtab.h (struct symbol) <owner>: Replaces member "symtab".
|
||
(struct symbol) <is_objfile_owned>: New member.
|
||
(SYMBOL_OBJFILE_OWNED): New macro.
|
||
* cp-namespace.c (cp_lookup_bare_symbol): New arg langdef.
|
||
All callers updated. Try to find the symbol as a primitive type.
|
||
(lookup_namespace_scope): New arg langdef. All callers updated.
|
||
Call cp_lookup_bare_symbol directly for simple bare symbols.
|
||
|
||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMBOL_DOMAIN_BITS): New macro.
|
||
(struct symbol) <domain>: Use it.
|
||
|
||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol.
|
||
All callers updated.
|
||
|
||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
|
||
New arg language_defn. All uses updated.
|
||
|
||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMBOL_SYMTAB): Delete
|
||
(SYMBOL_OBJFILE): Delete.
|
||
(symbol_symtab, symbol_set_symtab): Declare.
|
||
(symbol_objfile, symbol_arch): Declare.
|
||
* symtab.c (symbol_symtab): Replaces SYMBOL_SYMTAB. All uses updated.
|
||
All references to symbol->symtab redirected through here.
|
||
(symbol_set_symtab): New function. All assignments to SYMBOL_SYMTAB
|
||
redirected through here.
|
||
(symbol_arch): New function.
|
||
(symbol_objfile): New function. Replaces SYMBOL_OBJFILE.
|
||
All uses updated.
|
||
* cp-namespace.c (cp_lookup_symbol_imports_or_template): Call
|
||
symbol_arch.
|
||
* findvar.c (default_read_var_value): Call symbol_arch.
|
||
* guile/scm-frame.c (gdbscm_frame_block): Call symbol_objfile.
|
||
* jv-lang.c (add_class_symtab_symbol): Call symbol_arch.
|
||
* printcmd.c (address_info): Call symbol_arch.
|
||
* tracepoint.c (scope_info): Call symbol_arch.
|
||
|
||
2014-12-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_via_all_imports): New function.
|
||
(cp_lookup_symbol_namespace): Call it.
|
||
(cp_lookup_symbol_nonlocal): Ditto.
|
||
|
||
2014-12-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_via_imports): New arg
|
||
"search_scope_first". All callers updated.
|
||
|
||
2014-12-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_nested_symbol_1): New function.
|
||
(cp_basic_lookup_symbol): Renamed from lookup_symbol_file. Delete
|
||
arg "search". All callers updated.
|
||
(cp_lookup_bare_symbol): New function.
|
||
(cp_search_static_and_baseclasses): New function.
|
||
(cp_lookup_symbol_in_namespace): Rewrite, move more logic here.
|
||
(find_symbol_in_baseclass): Simplify, call cp_lookup_nested_symbol_1.
|
||
(cp_lookup_nested_symbol): Ditto.
|
||
|
||
2014-12-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_in_namespace): Simplify.
|
||
|
||
2014-12-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c: Whitespace cleanup.
|
||
|
||
2014-12-20 Keith Seitz <keiths@redhat.com>
|
||
Mihail-Marian Nistor <mihail.nistor@freescale.com>
|
||
|
||
PR gdb/17394
|
||
* linespec.c (struct collect_minsyms): Add new member `symtab'.
|
||
(add_minsym): Handle cases where info.symtab is non-NULL.
|
||
(search_minsyms_for_name): Add new parameter `symtab'.
|
||
Handle limiting searches to a specific symtab.
|
||
(add_matching_symtabs_to_info): Search through minimal symbols
|
||
for language_asm files for which no new symbols are found.
|
||
|
||
2014-12-19 Maciej W. Rozycki <macro@codesourcery.com>
|
||
Nigel Stephens <nigel@mips.com>
|
||
Chris Dearman <chris@mips.com>
|
||
Luis Machado <lgustavo@codesourcery.com>
|
||
|
||
* Makefile.in (ALL_TARGET_OBS): Add mips-sde-tdep.o.
|
||
(ALLDEPFILES): Add mips-sde-tdep.c.
|
||
* mips-sde-tdep.c: New file containg SDE specific code.
|
||
* configure.tgt (mips*-sde*-elf*): Add mips-sde-dep.o to
|
||
gdb_target_obs.
|
||
* defs.h (gdb_osabi): Add GDB_OSABI_SDE.
|
||
* osabi.c (gdb_osabi_names): Add SDE.
|
||
* NEWS: Mention the change.
|
||
|
||
2014-12-18 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* elfread.c (elf_symfile_init): Remove stale comment.
|
||
(elf_symfile_read): Same.
|
||
* symfile.h (struct sym_fns): Same.
|
||
|
||
2014-12-18 Nigel Stephens <nigel@mips.com>
|
||
Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.c (print_fpu_flags): New function.
|
||
(mips_print_float_info): Likewise.
|
||
(mips_gdbarch_init): Install mips_print_float_info as gdbarch
|
||
print_float_info routine.
|
||
|
||
2014-12-18 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbarch.sh (print_float_info): Change its type from 'M' to 'm'.
|
||
* gdbarch.c: Re-generated.
|
||
* gdbarch.h: Likewise.
|
||
* infcmd.c (default_print_float_info): New function.
|
||
(print_float_info): Removed. Move code to
|
||
default_print_float_info.
|
||
(float_info): Adjust to call gdbarch_print_float_info.
|
||
* inferior.h (default_print_float_info): Declare it.
|
||
|
||
2014-12-18 Yao Qi <yao@codesourcery.com>
|
||
|
||
* h8300-tdep.c (h8300_print_float_info): Remove.
|
||
(h8300_gdbarch_init): Remove the call to
|
||
set_gdbarch_print_float_info.
|
||
|
||
2014-12-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infcmd.c (jump_command): Minor simplification.
|
||
|
||
2014-12-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* language.c (language_lookup_primitive_type): Renamed from
|
||
language_lookup_primitive_type_by_name. All callers updated.
|
||
|
||
2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix MinGW compilation.
|
||
* compile/compile.c (get_compile_file_tempdir): Call error if
|
||
!HAVE_MKDTEMP.
|
||
* config.in: Regenerate.
|
||
* configure: Regenerate.
|
||
* configure.ac (AC_CHECK_FUNCS): Add mkdtemp.
|
||
|
||
2014-12-17 Doug Evans <xdje42@gmail.com>
|
||
|
||
* valops.c (value_maybe_namespace_elt): Remove redundant call to
|
||
lookup_static_symbol.
|
||
|
||
2014-12-17 Doug Evans <xdje42@gmail.com>
|
||
|
||
New parameter "debug symbol-lookup".
|
||
* NEWS: Mention it.
|
||
* cp-namespace.c (cp_lookup_symbol_imports_or_template): Add debug
|
||
output.
|
||
(cp_lookup_symbol_namespace, cp_lookup_symbol_nonlocal): Ditto.
|
||
(cp_lookup_nested_symbol): Ditto.
|
||
* language.c (language_lookup_primitive_type_by_name): Add debug
|
||
output.
|
||
* minsyms.c (lookup_minimal_symbol): Add debug output.
|
||
* objfiles.c (objfile_debug_name): Moved here, and renamed ...
|
||
* symfile-debug.c (debug_objfile_name): ... from here. All callers
|
||
updated.
|
||
* objfiles.h (objfile_debug_name): Declare.
|
||
* symtab.h (symbol_lookup_debug): Declare.
|
||
* symtab.c (symbol_lookup_debug): New global.
|
||
(lookup_language_this): Add debug output.
|
||
(lookup_symbol_aux, lookup_symbol_in_block): Ditto.
|
||
(lookup_symbol_in_objfile_symtabs, lookup_symbol_via_quick_fns): Ditto.
|
||
(lookup_symbol_in_static_block, lookup_symbol_in_objfile): Ditto.
|
||
(_initialize_symtab): Add new parameter "debug symbol-lookup".
|
||
|
||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||
|
||
* buildsym.c: Add comments describing how the buildsym machinery
|
||
is used by the various file formats.
|
||
(really_free_pendings): Enhance function comment.
|
||
See pending_macros to NULL. Simplify resetting pending_addrmap.
|
||
Call free_buildsym_compunit.
|
||
(free_buildsym_compunit): Set current_subfile to NULL.
|
||
(prepare_for_building): New function.
|
||
(start_symtab): Call it. Remove call to set_last_source_file.
|
||
(restart_symtab): New arg "cust". All callers updated.
|
||
Simplify, call prepare_for_building. Re-initialize buildsym_compunit.
|
||
(reset_symtab_globals): Enhance function comment.
|
||
Set local_symbols, file_symbols, global_symbols to NULL.
|
||
Set pending_macros to NULL. Simplify resetting pending_addrmap.
|
||
Call free_buildysym_compunit.
|
||
(end_symtab_without_blockvector): Delete. All callers updated.
|
||
(end_symtab_with_blockvector): Remove redundant call to
|
||
free_buildsym_compunit.
|
||
(augment_type_symtab): Remove arg "cust". All callers updated.
|
||
(buildsym_init): Remove resetting of free_pendings, file_symbols,
|
||
global_symbols, pending_blocks, pending_macros. Instead make
|
||
handling consistent with pending_addrmap: Assert value was reset
|
||
at end of previous symtab building. Initialize context_stack here.
|
||
|
||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_via_imports): Renamed from
|
||
cp_lookup_symbol_imports. All callers updated.
|
||
|
||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
|
||
find_type_baseclass_by_name. All callers updated.
|
||
|
||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (struct symbol_search) <symtab>: Delete. All uses updated.
|
||
* symtab.c (compare_search_syms): Use SYMBOL_SYMTAB accessor.
|
||
(print_symbol_info): Delete arg symtab. All callers updated.
|
||
(symtab_symbol_info): Use SYMBOL_SYMTAB accessor.
|
||
|
||
2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
|
||
|
||
* user-regs.c (maintenance_print_user_registers): Swap "Nr" and
|
||
"Name" columns. Assure that the output is always indented.
|
||
|
||
2014-12-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* nat/linux-ptrace.h (PTRACE_O_EXITKILL): Define if not
|
||
already defined.
|
||
(linux_enable_event_reporting): Add parameter "attached".
|
||
* nat/linux-ptrace.c (linux_test_for_exitkill): New forward
|
||
declaration. New function.
|
||
(linux_check_ptrace_features): Add linux_test_for_exitkill call.
|
||
(linux_enable_event_reporting): Add new parameter "attached".
|
||
Do not call ptrace with the PTRACE_O_EXITKILL if ATTACHED is
|
||
nonzero.
|
||
* linux-nat.c (linux_init_ptrace): Add parameter "attached".
|
||
Use it. Update function description.
|
||
(linux_child_post_attach, linux_child_post_startup_inferior):
|
||
Update call to linux_enable_event_reporting.
|
||
|
||
2014-12-16 Yao Qi <yao@codesourcery.com>
|
||
|
||
* NEWS: Move some entries to "Changes since GDB 7.8" section.
|
||
|
||
2014-12-16 Yao Qi <yao@codesourcery.com>
|
||
|
||
* linux-tdep.c (linux_infcall_mmap): Replace ARG_MAX with
|
||
ARG_LAST.
|
||
|
||
2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* inferior.c (find_inferior_ptid): New function.
|
||
* inferior.h (find_inferior_ptid): New declaration.
|
||
* ada-tasks.c (ada_get_task_number): Use find_inferior_ptid.
|
||
* corelow.c (core_pid_to_str): Same.
|
||
* darwin-nat.c (darwin_resume): Same.
|
||
* infrun.c (fetch_inferior_event): Same.
|
||
(get_inferior_stop_soon): Same.
|
||
(handle_inferior_event): Same.
|
||
(handle_signal_stop): Same.
|
||
* linux-nat.c (resume_lwp): Same.
|
||
(stop_wait_callback): Same.
|
||
* mi/mi-interp.c (mi_new_thread): Same.
|
||
(mi_thread_exit): Same.
|
||
* proc-service.c (ps_pglobal_lookup): Same.
|
||
* record-btrace.c (record_btrace_step_thread): Same.
|
||
* remote-sim.c (gdbsim_close_inferior): Same.
|
||
(gdbsim_resume): Same.
|
||
(gdbsim_stop): Same.
|
||
* sol2-tdep.c (sol2_core_pid_to_str): Same.
|
||
* target.c (memory_xfer_partial_1): Same.
|
||
(default_thread_address_space): Same.
|
||
* thread.c (thread_change_ptid): Same.
|
||
(switch_to_thread): Same.
|
||
(do_restore_current_thread_cleanup): Same.
|
||
|
||
2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* defs.h (gdb_readline): Constify argument.
|
||
(gdb_readline_wrapper): Same.
|
||
(command_line_input): Same.
|
||
(deprecated_readline_hook): Same.
|
||
* top.c (deprecated_readline_hook): Same.
|
||
(gdb_readline): Same.
|
||
(gdb_readline_wrapper): Same.
|
||
(command_line_input): Constify argument. Pass prompt_arg to called
|
||
functions instead of local_prompt, overwriting prompt_arg if necessary.
|
||
* event-top.h (display_gdb_prompt): Constify argument.
|
||
* event-top.c (display_gdb_prompt): Same.
|
||
* python/py-gdb-readline.c (gdbpy_readline_wrapper): Constify argument
|
||
if building with Python 3.4 and up.
|
||
|
||
2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* python/lib/gdb/prompt.py (_prompt_pwd): Use os.getcwd() instead of
|
||
os.getcwdu().
|
||
|
||
2014-12-15 Catalin Udma <catalin.udma@freescale.com>
|
||
|
||
PR gdb/15684
|
||
* memattr.c (mem_info_command): Remove "unsigned long" casts.
|
||
|
||
2014-12-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
* utils.c (make_hex_string): Fix off-by-one error.
|
||
|
||
2014-12-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.h (ada_ensure_varsize_limit): Declare.
|
||
* ada-lang.c (check_size): Remove advance declaration.
|
||
(ada_ensure_varsize_limit): Renames check_size.
|
||
Replace calls to check_size by calls to ada_ensure_varsize_limit
|
||
throughout.
|
||
* ada-valprint.c (ada_val_print_ref): Add call to
|
||
ada_ensure_varsize_limit. Add comment explaining why.
|
||
|
||
2014-12-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* utils.c (make_hex_string): Replace use of sprintf by use of
|
||
xsnprintf.
|
||
|
||
2014-12-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* compile/compile-object-load.c (link_callbacks_multiple_definition)
|
||
(link_callbacks_warning, link_callbacks_einfo): Remove trailing
|
||
newline at end of warning message.
|
||
|
||
2014-12-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for
|
||
new "EXTRA-ARGS" parameter.
|
||
* configure.ac: If large-file support is disabled in GDB,
|
||
pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib".
|
||
* configure: Regenerate.
|
||
|
||
2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR symtab/17642
|
||
* gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to
|
||
TYPE if not TYPE_CODE_TYPEDEF.
|
||
|
||
2014-12-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
PR backtrace/16215:
|
||
* dwarf2-frame.c (dwarf2_frame_cfa): Remove the restriction
|
||
the frame unwinder must either be the dwarf2_frame_unwind
|
||
or the dwarf2_tailcall_frame_unwind. Verify that this_frame's
|
||
stack_addr is valid before calling get_frame_base. Throw
|
||
an error if not valid.
|
||
|
||
2014-12-12 Doug Evans <xdje42@gmail.com>
|
||
|
||
* valops.c (value_maybe_namespace_elt): Remove unnecessary test of
|
||
result != NULL.
|
||
|
||
2014-12-12 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous.
|
||
All callers updated. Rename arg "namespace" to "symbol_name".
|
||
|
||
2014-12-12 Doug Evans <xdje42@gmail.com>
|
||
|
||
* psymtab.c (psym_map_symtabs_matching_filename): Renamed from
|
||
partial_map_symtabs_matching_filename. All uses updated.
|
||
(psym_find_pc_sect_compunit_symtab): Renamed from
|
||
find_pc_sect_compunit_symtab_from_partial. All uses updated.
|
||
Add function comment.
|
||
(psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs.
|
||
All uses updated. Add function comment.
|
||
(psym_relocate): Renamed from relocate_psymtabs. All uses updated.
|
||
Add function comment.
|
||
(psym_find_last_source_symtab): Renamed from
|
||
find_last_source_symtab_from_partial. All uses updated.
|
||
Add function comment.
|
||
(psym_forget_cached_source_info): Renamed from
|
||
forget_cached_source_info_partial. All uses updated.
|
||
Add function comment.
|
||
(psym_print_stats): Renamed from print_psymtab_stats_for_objfile.
|
||
All uses updated. Add function comment.
|
||
(psym_dump): Renamed from dump_psymtabs_for_objfile. All uses
|
||
updated. Add function comment.
|
||
(psym_expand_symtabs_for_function): Renamed from
|
||
read_symtabs_for_function. All uses updated. Update function comment.
|
||
(psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables.
|
||
All uses updated. Add function comment.
|
||
(psym_expand_symtabs_with_fullname): Renamed from
|
||
read_psymtabs_with_fullname. All uses updated. Add function comment.
|
||
(psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab.
|
||
All uses updated. Add function comment.
|
||
(psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab.
|
||
All uses updated.
|
||
(psym_expand_symtabs_matching): Renamed from
|
||
expand_symtabs_matching_via_partial. All uses updated.
|
||
Add function comment.
|
||
(psym_has_symbols): Renamed from objfile_has_psyms. All uses updated.
|
||
Add function comment.
|
||
|
||
2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
* NEWS: Update.
|
||
* symtab.h (struct symbol_computed_ops) <generate_c_location>: New
|
||
field.
|
||
* p-lang.c (pascal_language_defn): Update.
|
||
* opencl-lang.c (opencl_language_defn): Update.
|
||
* objc-lang.c (objc_language_defn): Update.
|
||
* m2-lang.c (m2_language_defn): Update.
|
||
* language.h (struct language_defn) <la_get_compile_instance,
|
||
la_compute_program>: New fields.
|
||
* language.c (unknown_language_defn, auto_language_defn)
|
||
(local_language_defn): Update.
|
||
* jv-lang.c (java_language_defn): Update.
|
||
* go-lang.c (go_language_defn): Update.
|
||
* f-lang.c (f_language_defn): Update.
|
||
* dwarf2loc.h (dwarf2_compile_property_to_c): Declare.
|
||
* dwarf2loc.c (dwarf2_compile_property_to_c)
|
||
(locexpr_generate_c_location, loclist_generate_c_location): New
|
||
functions.
|
||
(dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update.
|
||
* defs.h (enum compile_i_scope_types): New.
|
||
(enum command_control_type) <compile_control>: New constant.
|
||
(struct command_line) <control_u>: New field.
|
||
* d-lang.c (d_language_defn): Update.
|
||
* compile/compile.c: New file.
|
||
* compile/compile-c-support.c: New file.
|
||
* compile/compile-c-symbols.c: New file.
|
||
* compile/compile-c-types.c: New file.
|
||
* compile/compile.h: New file.
|
||
* compile/compile-internal.h: New file.
|
||
* compile/compile-loc2c.c: New file.
|
||
* compile/compile-object-load.c: New file.
|
||
* compile/compile-object-load.h: New file.
|
||
* compile/compile-object-run.c: New file.
|
||
* compile/compile-object-run.h: New file.
|
||
* cli/cli-script.c (multi_line_command_p, print_command_lines)
|
||
(execute_control_command, process_next_line)
|
||
(recurse_read_control_structure): Handle compile_control.
|
||
* c-lang.h (c_get_compile_context, c_compute_program): Declare.
|
||
* c-lang.c (c_language_defn, cplus_language_defn)
|
||
(asm_language_defn, minimal_language_defn): Update.
|
||
* ada-lang.c (ada_language_defn): Update.
|
||
* Makefile.in (SUBDIR_GCC_COMPILE_OBS, SUBDIR_GCC_COMPILE_SRCS):
|
||
New variables.
|
||
(SFILES): Add SUBDIR_GCC_COMPILE_SRCS.
|
||
(HFILES_NO_SRCDIR): Add compile.h.
|
||
(COMMON_OBS): Add SUBDIR_GCC_COMPILE_OBS.
|
||
(INIT_FILES): Add SUBDIR_GCC_COMPILE_SRCS.
|
||
(compile.o, compile-c-types.o, compile-c-symbols.o)
|
||
(compile-object-load.o, compile-object-run.o, compile-loc2c.o)
|
||
(compile-c-support.o): New targets.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* s390-linux-tdep.c (s390_gcc_target_options): New function.
|
||
(s390_gdbarch_init): Add it to gdbarch.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* linux-tdep.c: Include objfiles.h and infcall.h.
|
||
(GDB_MMAP_MAP_PRIVATE, GDB_MMAP_MAP_ANONYMOUS, linux_infcall_mmap): New
|
||
function.
|
||
(linux_init_abi): Add linux_infcall_mmap to gdbarch.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare.
|
||
* dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from
|
||
translate_register. Now public.
|
||
(dwarf2_compile_expr_to_ax): Update.
|
||
|
||
2014-12-12 Tom Tromey <tromey@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration.
|
||
(dwarf_expr_frame_base): Update caller.
|
||
(dwarf_expr_frame_base_1): Rename to ...
|
||
(func_get_frame_base_dwarf_block): ... this and make it public.
|
||
(dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update
|
||
callers.
|
||
* dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration.
|
||
|
||
2014-12-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_call_frame_cfa>:
|
||
Update.
|
||
* dwarf2-frame.c (dwarf2_fetch_cfa_info): New function, based on
|
||
dwarf2_compile_cfa_to_ax.
|
||
(dwarf2_compile_cfa_to_ax): Remove.
|
||
* dwarf2-frame.h (dwarf2_fetch_cfa_info): Declare.
|
||
(dwarf2_compile_cfa_to_ax): Remove.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* infcall.h (call_function_by_hand_dummy): Declare.
|
||
* infcall.c (call_function_by_hand): Use
|
||
call_function_by_hand_dummy.
|
||
(call_function_by_hand_dummy): Rename from call_function_by_hand.
|
||
Add arguments. Register a destructor.
|
||
|
||
2014-12-12 Tom Tromey <tromey@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* osabi.h (osabi_triplet_regexp): Declare.
|
||
* osabi.c (struct osabi_names): New.
|
||
(gdb_osabi_names): Change type to struct osabi_names. Update
|
||
values.
|
||
(gdbarch_osabi_name): Update.
|
||
(osabi_triplet_regexp): New function.
|
||
(osabi_from_tdesc_string, _initialize_gdb_osabi): Update.
|
||
* i386-tdep.c (i386_gnu_triplet_regexp): New method.
|
||
(i386_elf_init_abi, i386_go32_init_abi, i386_gdbarch_init): Call
|
||
set_gdbarch_gnu_triplet_regexp.
|
||
* gdbarch.sh (gnu_triplet_regexp): New method.
|
||
* gdbarch.c, gdbarch.h: Rebuild.
|
||
* arch-utils.h (default_gnu_triplet_regexp): Declare.
|
||
* arch-utils.c (default_gnu_triplet_regexp): New function.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* arch-utils.c (default_infcall_mmap)
|
||
(default_gcc_target_options): New functions.
|
||
* arch-utils.h (GDB_MMAP_PROT_READ, GDB_MMAP_PROT_WRITE)
|
||
(GDB_MMAP_PROT_EXEC): Define.
|
||
(default_infcall_mmap, default_gcc_target_options): Declare.
|
||
* gdbarch.h: Rebuild.
|
||
* gdbarch.c: Rebuild.
|
||
* gdbarch.sh (infcall_mmap, gcc_target_options): New methods.
|
||
|
||
2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New
|
||
fields.
|
||
(pop_dummy_frame): Call the destructor if it exists.
|
||
(register_dummy_frame_dtor, find_dummy_frame_dtor): New
|
||
functions.
|
||
* dummy-frame.h (dummy_frame_dtor_ftype): New typedef.
|
||
(register_dummy_frame_dtor, find_dummy_frame_dtor): Declare.
|
||
|
||
2014-12-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gdbtypes.h (make_unqualified_type): Declare.
|
||
* gdbtypes.c (make_unqualified_type): New function.
|
||
|
||
2014-12-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* ui-file.h (ui_file_write_for_put): Declare.
|
||
* ui-file.c (ui_file_write_for_put): New function.
|
||
* mi/mi-out.c (do_write): Remove.
|
||
(mi_out_put): Use ui_file_write_for_put.
|
||
|
||
2014-12-12 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention gdb.lookup_objfile.
|
||
* python/python.c (GdbMethods): Add lookup_objfile.
|
||
* python/python-internal.h (gdbpy_lookup_objfile): Declare.
|
||
* python/py-objfile.c: #include "symtab.h".
|
||
(objfpy_build_id_ok, objfpy_build_id_matches): New functions.
|
||
(objfpy_lookup_objfile_by_name): New function.
|
||
(objfpy_lookup_objfile_by_build_id): New function.
|
||
(gdbpy_lookup_objfile): New function.
|
||
|
||
2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.h (MSYMBOL_TARGET_FLAG_MIPS16): New macro.
|
||
(MSYMBOL_TARGET_FLAG_MICROMIPS): Likewise.
|
||
* mips-tdep.c (mips_elf_make_msymbol_special): Use the new
|
||
macros.
|
||
(msymbol_is_mips, msymbol_is_mips16, msymbol_is_micromips):
|
||
Likewise.
|
||
|
||
2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* completer.c: Include "target.h", "reggroups.h", and
|
||
"user-regs.h".
|
||
(reg_or_group_completer): New.
|
||
* completer.h (reg_or_group_completer): Declare.
|
||
* infcmd.c (_initialize_infcmd): Set reg_or_group_completer for
|
||
the "info registers" and "info all-registers" commands and the
|
||
dbx-mode "lr" command.
|
||
|
||
2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* user-regs.c: Include "arch-utils.h", "command.h", and
|
||
"cli/cli-cmds.h".
|
||
(maintenance_print_user_registers): New.
|
||
(_initialize_user_regs): Register new "maint print user-registers"
|
||
subcommand.
|
||
* NEWS: Mention new GDB command "maint print user-registers".
|
||
|
||
2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
|
||
Maciej W. Rozycki <macro@mips.com>
|
||
Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* gdbarch.sh (elf_make_msymbol_special): Change type to `F',
|
||
remove `predefault' and `invalid_p' initializers.
|
||
(make_symbol_special): New architecture method.
|
||
(adjust_dwarf2_addr, adjust_dwarf2_line): Likewise.
|
||
(objfile, symbol): New declarations.
|
||
* arch-utils.h (default_elf_make_msymbol_special): Remove
|
||
prototype.
|
||
(default_make_symbol_special): New prototype.
|
||
(default_adjust_dwarf2_addr): Likewise.
|
||
(default_adjust_dwarf2_line): Likewise.
|
||
* mips-tdep.h (mips_unmake_compact_addr): New prototype.
|
||
* arch-utils.c (default_elf_make_msymbol_special): Remove
|
||
function.
|
||
(default_make_symbol_special): New function.
|
||
(default_adjust_dwarf2_addr): Likewise.
|
||
(default_adjust_dwarf2_line): Likewise.
|
||
* dwarf2-frame.c (decode_frame_entry_1): Call
|
||
`gdbarch_adjust_dwarf2_addr'.
|
||
* dwarf2loc.c (dwarf2_find_location_expression): Likewise.
|
||
* dwarf2read.c (create_addrmap_from_index): Likewise.
|
||
(process_psymtab_comp_unit_reader): Likewise.
|
||
(add_partial_symbol): Likewise.
|
||
(add_partial_subprogram): Likewise.
|
||
(process_full_comp_unit): Likewise.
|
||
(read_file_scope): Likewise.
|
||
(read_func_scope): Likewise. Call `gdbarch_make_symbol_special'.
|
||
(read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'.
|
||
(read_call_site_scope): Likewise.
|
||
(dwarf2_ranges_read): Likewise.
|
||
(dwarf2_record_block_ranges): Likewise.
|
||
(read_attribute_value): Likewise.
|
||
(dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'.
|
||
(new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'.
|
||
* elfread.c (elf_symtab_read): Don't call
|
||
`gdbarch_elf_make_msymbol_special' if unset.
|
||
* mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip
|
||
the ISA bit from the PC.
|
||
* mips-tdep.c (mips_unmake_compact_addr): New function.
|
||
(mips_elf_make_msymbol_special): Set the ISA bit in the symbol's
|
||
address appropriately.
|
||
(mips_make_symbol_special): New function.
|
||
(mips_pc_is_mips): Set the ISA bit before symbol lookup.
|
||
(mips_pc_is_mips16): Likewise.
|
||
(mips_pc_is_micromips): Likewise.
|
||
(mips_pc_isa): Likewise.
|
||
(mips_adjust_dwarf2_addr): New function.
|
||
(mips_adjust_dwarf2_line): Likewise.
|
||
(mips_read_pc, mips_unwind_pc): Keep the ISA bit.
|
||
(mips_addr_bits_remove): Likewise.
|
||
(mips_skip_trampoline_code): Likewise.
|
||
(mips_write_pc): Don't set the ISA bit.
|
||
(mips_eabi_push_dummy_call): Likewise.
|
||
(mips_o64_push_dummy_call): Likewise.
|
||
(mips_gdbarch_init): Install `mips_make_symbol_special',
|
||
`mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch
|
||
handlers.
|
||
* solib.c (gdb_bfd_lookup_symbol_from_symtab): Get
|
||
target-specific symbol address adjustments.
|
||
* gdbarch.h: Regenerate.
|
||
* gdbarch.c: Regenerate.
|
||
|
||
2014-12-12 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR tdep/14261
|
||
* arm-tdep.c (arm_skip_prologue): Remove unused local variable
|
||
'skip_pc'. Remove code skipping prologue instructions, use
|
||
arm_analyze_prologue instead.
|
||
(arm_analyze_prologue): Stop the scanning for unrecognized
|
||
instruction when skipping prologue.
|
||
|
||
2014-12-12 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_instruction_restores_sp): New function.
|
||
(arm_analyze_prologue): Call arm_instruction_restores_sp.
|
||
(arm_in_function_epilogue_p): Move code to
|
||
arm_instruction_restores_sp.
|
||
|
||
2014-12-11 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
|
||
|
||
2014-12-11 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl.
|
||
(symbol *lookup_symbol_via_quick_fns): Ditto.
|
||
(lookup_symbol_in_objfile): Add forward decl.
|
||
(lookup_global_symbol_from_objfile): Simplify, call
|
||
lookup_symbol_in_objfile.
|
||
|
||
2014-12-11 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case.
|
||
|
||
2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
PR breakpoints/17012
|
||
* breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if
|
||
it is marked as persistent.
|
||
|
||
2014-12-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition,
|
||
closer to its subroutines.
|
||
|
||
2014-12-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (lookup_symbol_file): Move next to only caller.
|
||
|
||
2014-12-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_imports): Make static.
|
||
* cp-support.h (cp_lookup_symbol_imports): Delete.
|
||
|
||
2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
PR gdb/17627
|
||
* target.c (cleanup_restore_target_terminal): New function.
|
||
(make_cleanup_restore_target_terminal): New function.
|
||
* target.h (make_cleanup_restore_target_terminal): New declaration.
|
||
* mi/mi-interp.c (mi_thread_exit): Use the new cleanup.
|
||
|
||
2014-12-08 Doug Evans <dje@google.com>
|
||
|
||
* python/py-objfile.c (objfpy_get_owner): Increment refcount of result.
|
||
|
||
2014-12-08 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention gdb.Objfile.owner.
|
||
* python/py-objfile.c (objfpy_get_owner): New function.
|
||
(objfile_getset): Add "owner".
|
||
|
||
2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* symtab.c (lookup_symbol_in_objfile_symtabs): New declaration.
|
||
(lookup_global_symbol_from_objfile): Call it.
|
||
|
||
2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Remove const from struct objfile *.
|
||
* solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h,
|
||
symtab.c, symtab.h: In these files.
|
||
|
||
2014-12-05 Andreas From <andreas.from@ericsson.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Add "Andreas From"
|
||
|
||
2014-12-05 Doug Evans <xdje42@gmail.com>
|
||
|
||
Revert:
|
||
PR symtab/17602
|
||
* linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
|
||
|
||
2014-12-04 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention gdb.Objfile.add_separate_debug_file.
|
||
* python/py-objfile.c (objfpy_add_separate_debug_file): New function.
|
||
(objfile_getset): Add "add_separate_debug_file".
|
||
|
||
2014-12-04 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention gdb.Objfile.build_id.
|
||
* build-id.c (build_id_bfd_get): Make non-static.
|
||
* build-id.h (build_id_bfd_get): Add declaration.
|
||
* python/py-objfile.c: #include "build-id.h", "elf-bfd.h".
|
||
(OBJFPY_REQUIRE_VALID): New macro.
|
||
(objfpy_get_build_id): New function.
|
||
(objfile_getset): Add "build_id".
|
||
* utils.c (make_hex_string): New function.
|
||
* utils.h (make_hex_string): Add declaration.
|
||
|
||
2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* block.c (block_lookup_symbol_primary): New function.
|
||
* block.h (block_lookup_symbol_primary): New declaration.
|
||
* symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX.
|
||
Call block_lookup_symbol_primary.
|
||
|
||
2014-12-03 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* tramp-frame.h (tramp_frame): Add `validate' member.
|
||
* tramp-frame.c (tramp_frame_start): Validate trampoline before
|
||
scanning.
|
||
* mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro.
|
||
(MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise.
|
||
(mips_linux_o32_sigframe): Initialize `validate' member.
|
||
(mips_linux_o32_rt_sigframe): Likewise.
|
||
(mips_linux_n32_rt_sigframe): Likewise.
|
||
(mips_linux_n64_rt_sigframe): Likewise.
|
||
(micromips_linux_o32_sigframe): New variable.
|
||
(micromips_linux_o32_rt_sigframe): Likewise.
|
||
(micromips_linux_n32_rt_sigframe): Likewise.
|
||
(micromips_linux_n64_rt_sigframe): Likewise.
|
||
(mips_linux_o32_sigframe_init): Handle microMIPS trampolines.
|
||
(mips_linux_n32n64_sigframe_init): Likewise.
|
||
(mips_linux_sigframe_validate): New function.
|
||
(micromips_linux_sigframe_validate): Likewise.
|
||
(mips_linux_init_abi): Install microMIPS trampoline unwinders.
|
||
|
||
2014-12-03 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o.
|
||
* sparc-sol2-tdep.c: Include "regset.h".
|
||
(sparc32_sol2_supply_core_gregset): New function.
|
||
(sparc32_sol2_collect_core_gregset): Likewise.
|
||
(sparc32_sol2_supply_core_fpregset): Likewise.
|
||
(sparc32_sol2_collect_core_fpregset): Likewise.
|
||
(sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables.
|
||
(sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
|
||
tdep->fpregset/sizeof_fpregset.
|
||
* sparc64-sol2-tdep.c: Include "regset.h".
|
||
(sparc64_sol2_supply_core_gregset): New function.
|
||
(sparc64_sol2_collect_core_gregset): Likewise.
|
||
(sparc64_sol2_supply_core_fpregset): Likewise.
|
||
(sparc64_sol2_collect_core_fpregset): Likewise.
|
||
(sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables.
|
||
(sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
|
||
tdep->fpregset/sizeof_fpregset.
|
||
|
||
2014-12-03 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* common/cleanups.c (make_cleanup_dtor): Use typedef for dtor
|
||
type.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
* symtab.c (symbol_init_cplus_specific): Delete.
|
||
(symbol_set_demangled_name): Remove special c++ support.
|
||
(symbol_get_demangled_name, symbol_set_language): Ditto.
|
||
* symtab.h (struct cplus_specific): Delete.
|
||
(struct general_symbol_info) <language_specific>: Remove
|
||
cplus_specific.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
PR symtab/17602
|
||
* linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
PR symtab/17591
|
||
* dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params
|
||
to strip parameters.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (peek_die_abbrev): Improve error message text.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
* valops.c (do_search_struct_field): Remove remnant of Chill support.
|
||
Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
|
||
|
||
2014-12-02 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* common/cleanups.c (make_cleanup_dtor): Fix comment typo.
|
||
|
||
2014-12-02 Nick Bull <nicholaspbull@gmail.com>
|
||
|
||
* NEWS: Mention new Python events.
|
||
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o.
|
||
(SUBDIR_PYTHON_SRCS): Add py-infevents.c.
|
||
(py-infevents.o): New rule.
|
||
* infcall.c (call_function_by_hand): Notify observer before and
|
||
after inferior call.
|
||
* python/py-event.h (inferior_call_kind): New enum.
|
||
(emit_inferior_call_event): New prototype.
|
||
(emit_register_changed_event): New prototype.
|
||
(emit_memory_changed_event): New prototype.
|
||
* python/py-events.h (events_object): New registries
|
||
inferior_call, memory_changed and register_changed.
|
||
* python/py-evts.c (gdbpy_initialize_py_events): Add the
|
||
inferior_call, memory_changed and register_changed registries.
|
||
* python/py-infevents.c: New.
|
||
* python/py-inferior.c (python_on_inferior_call_pre)
|
||
(python_on_inferior_call_post, python_on_register_change)
|
||
(python_on_memory_change): New functions.
|
||
(gdbpy_initialize_inferior): Attach python handler to new
|
||
observers.
|
||
* python/py-infthread.c(gdbpy_create_ptid_object): New.
|
||
(thpy_get_ptid) Use gdbpy_create_ptid_object.
|
||
* python/python-internal.h:
|
||
(gdbpy_create_ptid_object)
|
||
(gdbpy_initialize_inferior_call_pre_event)
|
||
(gdbpy_initialize_inferior_call_post_event)
|
||
(gdbpy_initialize_register_changed_event)
|
||
(gdbpy_initialize_memory_changed_event): New prototypes.
|
||
* python/python.c (_initialize_python): Initialize new events.
|
||
* valops.c (value_assign): Notify register_changed observer.
|
||
|
||
2014-12-02 Doug Evans <dje@google.com>
|
||
|
||
* python/py-infthread.c: Whitespace fixes.
|
||
|
||
2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* features/Makefile (s390-te-linux64-expedite): Replace
|
||
non-existant r14 and r15 by r14l and r15l, respectively.
|
||
* regformats/s390-te-linux64.dat: Regenerate.
|
||
|
||
2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* objfiles.c (allocate_objfile): Remove duplicate comment.
|
||
|
||
2014-12-01 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
|
||
* i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
|
||
(CREG_OFFSET, creg_offset, CREG_ADDR): Remove.
|
||
(supply_gregset, supply_fpregset): Remove.
|
||
* i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable.
|
||
(i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs,
|
||
and sizeof_gregset.
|
||
|
||
2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Add add-auto-load-scripts-directory.
|
||
* NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory.
|
||
* auto-load.c (add_auto_load_dir): New function.
|
||
(_initialize_auto_load): Install it.
|
||
|
||
2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious)
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>.
|
||
* frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID.
|
||
|
||
2014-11-29 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* eval.c (evaluate_subexp): Check that the thread stack temporaries
|
||
are not already enabled before enabling them.
|
||
|
||
2014-11-29 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_analyze_prologue): Move local variables
|
||
'framereg' and 'framesize' to inner block. Move code to
|
||
inner block too.
|
||
|
||
2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* eval.c: Include gdbthread.h.
|
||
(evaluate_subexp): Enable thread stack temporaries before
|
||
evaluating a complete expression and clean them up after the
|
||
evaluation is complete.
|
||
* gdbthread.h: Include common/vec.h.
|
||
(value_ptr): New typedef.
|
||
(VEC (value_ptr)): New vector type.
|
||
(value_vec): New typedef.
|
||
(struct thread_info): Add new fields stack_temporaries_enabled
|
||
and stack_temporaries.
|
||
(enable_thread_stack_temporaries)
|
||
(thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
|
||
(get_last_thread_stack_temporary)
|
||
(value_in_thread_stack_temporaries): Declare.
|
||
* gdbtypes.c (class_or_union_p): New function.
|
||
* gdbtypes.h (class_or_union_p): Declare.
|
||
* infcall.c (call_function_by_hand): Store return values of class
|
||
type as temporaries on stack.
|
||
* thread.c (enable_thread_stack_temporaries): New function.
|
||
(thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
|
||
(get_last_thread_stack_temporary): Likewise.
|
||
(value_in_thread_stack_temporaries): Likewise.
|
||
* value.c (value_force_lval): New function.
|
||
* value.h (value_force_lval): Declare.
|
||
|
||
2014-11-28 Pierre Muller <muller@sourceware.org>
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>.
|
||
* amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX
|
||
registers.
|
||
|
||
2014-11-28 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o.
|
||
* config/sparc/linux.mh (NATDEPFILES): Likewise.
|
||
* config/sparc/linux64.mh (NATDEPFILES): Likewise.
|
||
* m68klinux-nat.c (fetch_core_registers): Remove.
|
||
(linux_elf_core_fns): Remove.
|
||
(_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns.
|
||
|
||
2014-11-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* utils.c (gdb_realpath): Rework comment about handling on
|
||
Windows.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
|
||
rename.
|
||
* gnulib/aclocal.m4: Re-generated.
|
||
* gnulib/config.in: Re-generated.
|
||
* gnulib/configure: Re-generated.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Re-generated.
|
||
* gnulib/import/m4/gnulib-cache.m4: Re-generated.
|
||
* gnulib/import/m4/gnulib-comp.m4: Re-generated.
|
||
* import/basename-lgpl.c: New file.
|
||
* import/dirname-lgpl.c: New file.
|
||
* import/dirname.h: New file.
|
||
* import/m4/dirname.m4: New file.
|
||
* import/m4/malloc.m4: New file.
|
||
* import/m4/rename.m4: New file.
|
||
* import/m4/rmdir.m4: New file.
|
||
* import/m4/stdio_h.m4: New file.
|
||
* import/malloc.c: New file.
|
||
* import/rename.c: New file.
|
||
* import/rmdir.c: New file.
|
||
* import/same-inode.h: New file.
|
||
* import/stdio.c: New file.
|
||
* import/stdio.in.h: New file.
|
||
* import/stripslash.c: New file.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name
|
||
and realpath.
|
||
* config.in: Re-generated.
|
||
* configure: Re-generated.
|
||
* utils.c (gdb_realpath): Remove code calling realpath,
|
||
canonicalize_file_name and pathconf.
|
||
[!_WIN32]: Call canonicalize_file_name.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
|
||
canonicalize-lgpl.
|
||
* aclocal.m4: Re-generated.
|
||
* config.in: Re-generated.
|
||
* configure: Re-generated.
|
||
* import/Makefile.am: Re-generated.
|
||
* import/Makefile.in: Re-generated.
|
||
* import/m4/gnulib-cache.m4: Re-generated.
|
||
* import/m4/gnulib-comp.m4: Re-generated.
|
||
* import/canonicalize-lgpl.c: New file.
|
||
* import/extra/snippet/_Noreturn.h: New file.
|
||
* import/m4/canonicalize.m4: New file.
|
||
* import/m4/double-slash-root.m4: New file.
|
||
* import/m4/eealloc.m4: New file.
|
||
* import/m4/malloca.m4: New file.
|
||
* import/m4/nocrash.m4: New file.
|
||
* import/m4/stdlib_h.m4: New file.
|
||
* import/malloca.c: New file.
|
||
* import/malloca.h: New file.
|
||
* import/malloca.valgrind: New file.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* configure.ac (AC_CHECK_FUNCS): Remove lstat.
|
||
* config.in, configure: Regenerate.
|
||
* symfile.c (find_separate_debug_file_by_debuglink): Remove
|
||
code checking HAVE_LSTAT is defined.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
|
||
lstat.
|
||
* gnulib/aclocal.m4: Re-generated.
|
||
* gnulib/config.in: Re-generated.
|
||
* gnulib/configure: Re-generated.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Re-generated.
|
||
* gnulib/import/m4/gnulib-cache.m4: Re-generated.
|
||
* gnulib/import/m4/gnulib-comp.m4: Re-generated.
|
||
* gnulib/import/lstat.c: New file.
|
||
* gnulib/import/m4/lstat.m4: New file.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* configure.ac (AC_CHECK_FUNCS): Remove readlink.
|
||
* config.in, configure: Re-generate.
|
||
* inf-child.c (inf_child_fileio_readlink): Don't check
|
||
HAVE_READLINK is defined.
|
||
|
||
2014-11-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink.
|
||
* gnulib/aclocal.m4: Re-generated.
|
||
* gnulib/config.in: Likewise.
|
||
* gnulib/configure: Likewise.
|
||
* gnulib/import/Makefile.am: Likewise.
|
||
* gnulib/import/Makefile.in: Likewise.
|
||
* gnulib/import/m4/gnulib-cache.m4: Likewise.
|
||
* gnulib/import/m4/gnulib-comp.m4: Likewise.
|
||
* gnulib/import/dosname.h: New file
|
||
* gnulib/import/m4/largefile.m4: New file.
|
||
* gnulib/import/m4/readlink.m4: New file.
|
||
* gnulib/import/m4/stat.m4: New file.
|
||
* gnulib/import/readlink.c: New file.
|
||
* gnulib/import/stat.c: New file.
|
||
|
||
2014-11-26 Mark Wielaard <mjw@redhat.com>
|
||
|
||
* dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
|
||
DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
|
||
|
||
2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* nios2-tdep.c (nios2_analyze_prologue): Replace restriction
|
||
that there can be only one stack adjustment in the prologue
|
||
with tests to detect specific disallowed stack adjustments.
|
||
|
||
2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack
|
||
adjustments.
|
||
|
||
2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble
|
||
the instruction as well as reading it from memory.
|
||
(nios2_match_add): New.
|
||
(nios2_match_sub): New.
|
||
(nios2_match_addi): New.
|
||
(nios2_match_orhi): New.
|
||
(nios2_match_stw): New.
|
||
(nios2_match_ldw): New.
|
||
(nios2_match_rdctl): New.
|
||
(enum branch_condition): New.
|
||
(nios2_match_branch): New.
|
||
(nios2_match_jmpi): New.
|
||
(nios2_match_calli): New.
|
||
(nios2_match_jmpr): New.
|
||
(nios2_match_callr): New.
|
||
(nios2_match_break): New.
|
||
(nios2_match_trap): New.
|
||
(nios2_in_epilogue_p): Rewrite to use new functions.
|
||
(nios2_analyze_prologue): Likewise.
|
||
(nios2_skip_prologue): Delete unused local limit_pc.
|
||
(nios2_breakpoint_from_pc): Make R1-specific encodings explicit.
|
||
(nios2_get_next_pc): Rewrite to use new functions.
|
||
|
||
2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* gdbtypes.c (resolve_dynamic_type_internal): Reindent the code.
|
||
|
||
2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>
|
||
* gnu-nat.c (inf_validate_procinfo): Multiply the number of
|
||
elements pi_len by the size of the elements before calling
|
||
vm_deallocate.
|
||
(inf_validate_task_sc): Likewise, and properly deallocate the
|
||
noise array.
|
||
|
||
2014-11-23 Doug Evans <xdje42@gmail.com>
|
||
|
||
* gdbtypes.c (print_args): Renamed from print_arg_types. Print arg
|
||
number and name if present. All callers updated.
|
||
(dump_fn_fieldlists): Fix indentation of args.
|
||
|
||
2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
* MAINTAINERS (Write After Approval): Add myself.
|
||
|
||
2014-11-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds
|
||
to a bp_call_dummy breakpoint type.
|
||
|
||
2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
* tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
|
||
registering the signal handler.
|
||
|
||
2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
* event-top.h (call_stdin_event_handler_again_p): Declare.
|
||
* event-top.c (call_stdin_event_handler_again_p): Define.
|
||
(stdin_event_handler): Use it.
|
||
* tui/tui-io.c (tui_getc): Prepare to call the stdin event
|
||
handler again if there is pending input following a
|
||
start sequence.
|
||
|
||
2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>
|
||
* linux-fork.c (checkpoint_command): Print index of new
|
||
checkpoint in response message.
|
||
|
||
2014-11-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* valprint.c (read_string): Move local variables 'found_nul',
|
||
'chunksize' and 'limit' to inner scope. Update comments.
|
||
|
||
2014-11-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve
|
||
function comment.
|
||
(search_symbols): Fix comments and whitespace.
|
||
|
||
2014-11-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
|
||
|
||
2014-11-21 Doug Evans <dje@google.com>
|
||
|
||
* psymtab.c (psymtab_search_name): Fix whitespace.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
|
||
errno.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Likewise.
|
||
* gnulib/import/m4/gnulib-cache.m4: Likewise.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdb_wchar.h: Include wchar.h and wctype.h.
|
||
[HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't
|
||
include wchar.h and wctype.h.
|
||
Don't check HAVE_WCHAR_H.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar
|
||
and wctype-h.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Likewise.
|
||
* gnulib/import/m4/gnulib-cache.m4: Likewise.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
|
||
memchr.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Likewise.
|
||
* gnulib/import/m4/gnulib-cache.m4: Likewise.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* common/common-defs.h: Include alloca.h
|
||
* configure.ac: Don't invoke AC_FUNC_ALLOCA.
|
||
* configure: Re-generated.
|
||
* defs.h: Remove code handling alloca.
|
||
* utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined
|
||
or not.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add
|
||
alloca.
|
||
* gnulib/import/Makefile.am: Re-generated.
|
||
* gnulib/import/Makefile.in: Likewise..
|
||
* gnulib/import/m4/gnulib-cache.m4: Likewise.
|
||
|
||
2014-11-21 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in
|
||
alphabetical order.
|
||
|
||
2014-11-21 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbtypes.c (create_range_type): Unset RESULT_TYPE's
|
||
flag_unsigned if HIGH_BOUND is constant and negative.
|
||
|
||
2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR breakpoints/10737
|
||
* xml-syscall.c (set_xml_syscall_file_name): Remove "const"
|
||
modifier from "struct gdbarch" when compiling without Expat (XML)
|
||
support.
|
||
(get_syscall_by_number): Likewise.
|
||
(get_syscall_by_name): Likewise.
|
||
(get_syscall_names): Likewise.
|
||
|
||
2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR breakpoints/10737
|
||
* amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to
|
||
set_xml_syscall_file_name to provide gdbarch.
|
||
* arm-linux-tdep.c (arm_linux_init_abi): Likewise.
|
||
* bfin-linux-tdep.c (bfin_linux_init_abi): Likewise.
|
||
* breakpoint.c (print_it_catch_syscall): Adjust call to
|
||
get_syscall_by_number to provide gdbarch.
|
||
(print_one_catch_syscall): Likewise.
|
||
(print_mention_catch_syscall): Likewise.
|
||
(print_recreate_catch_syscall): Likewise.
|
||
(catch_syscall_split_args): Adjust calls to get_syscall_by_number
|
||
and get_syscall_by_name to provide gdbarch.
|
||
(catch_syscall_completer): Adjust call to get_syscall_names to
|
||
provide gdbarch.
|
||
* gdbarch.c: Regenerate.
|
||
* gdbarch.h: Likewise.
|
||
* gdbarch.sh: Forward declare "struct syscalls_info".
|
||
(xml_syscall_file): New variable.
|
||
(syscalls_info): Likewise.
|
||
* i386-linux-tdep.c (i386_linux_init_abi): Adjust call to
|
||
set_xml_syscall_file_name to provide gdbarch.
|
||
* mips-linux-tdep.c (mips_linux_init_abi): Likewise.
|
||
* ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
|
||
* s390-linux-tdep.c (s390_gdbarch_init): Likewise.
|
||
* sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
|
||
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise.
|
||
* xml-syscall.c: Include gdbarch.h.
|
||
(set_xml_syscall_file_name): Accept gdbarch parameter.
|
||
(get_syscall_by_number): Likewise.
|
||
(get_syscall_by_name): Likewise.
|
||
(get_syscall_names): Likewise.
|
||
(my_gdb_datadir): Delete global variable.
|
||
(struct syscalls_info) <my_gdb_datadir>: New variable.
|
||
(struct syscalls_info) <sysinfo>: Rename variable to
|
||
"syscalls_info".
|
||
(sysinfo): Delete global variable.
|
||
(have_initialized_sysinfo): Likewise.
|
||
(xml_syscall_file): Likewise.
|
||
(sysinfo_free_syscalls_desc): Rename to...
|
||
(syscalls_info_free_syscalls_desc): ... this.
|
||
(free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust
|
||
code to the new layout of "struct syscalls_info".
|
||
(make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to
|
||
"syscalls_info".
|
||
(syscall_create_syscall_desc): Likewise.
|
||
(syscall_start_syscall): Likewise.
|
||
(syscall_parse_xml): Likewise.
|
||
(xml_init_syscalls_info): Likewise. Drop "const" from return value.
|
||
(init_sysinfo): Rename to...
|
||
(init_syscalls_info): ...this. Add gdbarch as a parameter.
|
||
Adjust function to deal with gdbarch.
|
||
(xml_get_syscall_number): Delete parameter sysinfo. Accept
|
||
gdbarch as a parameter. Adjust code.
|
||
(xml_get_syscall_name): Likewise.
|
||
(xml_list_of_syscalls): Likewise.
|
||
(set_xml_syscall_file_name): Accept gdbarch as parameter.
|
||
(get_syscall_by_number): Likewise.
|
||
(get_syscall_by_name): Likewise.
|
||
(get_syscall_names): Likewise.
|
||
* xml-syscall.h (set_xml_syscall_file_name): Likewise.
|
||
(get_syscall_by_number): Likewise.
|
||
(get_syscall_by_name): Likewise.
|
||
(get_syscall_names): Likewise.
|
||
|
||
2014-11-20 Doug Evans <xdje42@gmail.com>
|
||
|
||
Split struct symtab into two: struct symtab and compunit_symtab.
|
||
* amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit.
|
||
* block.c (blockvector_for_pc_sect): Change "struct symtab *" argument
|
||
to "struct compunit_symtab *". All callers updated.
|
||
(set_block_compunit_symtab): Renamed from set_block_symtab. Change
|
||
"struct symtab *" argument to "struct compunit_symtab *".
|
||
All callers updated.
|
||
(get_block_compunit_symtab): Renamed from get_block_symtab. Change
|
||
result to "struct compunit_symtab *". All callers updated.
|
||
(find_iterator_compunit_symtab): Renamed from find_iterator_symtab.
|
||
Change result to "struct compunit_symtab *". All callers updated.
|
||
* block.h (struct global_block) <compunit_symtab>: Renamed from symtab.
|
||
hange type to "struct compunit_symtab *". All uses updated.
|
||
(struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab".
|
||
Change type to "struct compunit_symtab *". All uses updated.
|
||
* buildsym.c (struct buildsym_compunit): New struct.
|
||
(subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete.
|
||
(buildsym_compunit): New static global.
|
||
(finish_block_internal): Update to fetch objfile from
|
||
buildsym_compunit.
|
||
(make_blockvector): Delete objfile argument.
|
||
(start_subfile): Rewrite to use buildsym_compunit. Don't initialize
|
||
debugformat, producer.
|
||
(start_buildsym_compunit): New function.
|
||
(free_buildsym_compunit): Renamed from free_subfiles_list.
|
||
All callers updated.
|
||
(patch_subfile_names): Rewrite to use buildsym_compunit.
|
||
(get_compunit_symtab): New function.
|
||
(get_macro_table): Delete argument comp_dir. All callers updated.
|
||
(start_symtab): Change result to "struct compunit_symtab *".
|
||
All callers updated. Create the subfile of the main source file.
|
||
(watch_main_source_file_lossage): Rewrite to use buildsym_compunit.
|
||
(reset_symtab_globals): Update.
|
||
(end_symtab_get_static_block): Update to use buildsym_compunit.
|
||
(end_symtab_without_blockvector): Rewrite.
|
||
(end_symtab_with_blockvector): Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
Update to use buildsym_compunit. Don't set symtab->dirname,
|
||
instead set it in the compunit.
|
||
Explicitly make sure main symtab is first in its list.
|
||
Set debugformat, producer, blockvector, block_line_section, and
|
||
macrotable in the compunit.
|
||
(end_symtab_from_static_block): Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(end_symtab, end_expandable_symtab): Ditto.
|
||
(set_missing_symtab): Change symtab argument to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(augment_type_symtab): Ditto.
|
||
(record_debugformat): Update to use buildsym_compunit.
|
||
(record_producer): Update to use buildsym_compunit.
|
||
* buildsym.h (struct subfile) <dirname>: Delete.
|
||
<producer, debugformat>: Delete.
|
||
<buildsym_compunit>: New member.
|
||
(get_compunit_symtab): Declare.
|
||
* dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed
|
||
from primary_symtab. Change type to "struct compunit_symtab *".
|
||
All uses updated.
|
||
(dwarf2_start_symtab): Change result to "struct compunit_symtab *".
|
||
All callers updated.
|
||
(dwarf_decode_macros): Delete comp_dir argument. All callers updated.
|
||
(struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from
|
||
symtab. Change type to "struct compunit_symtab *". All uses updated.
|
||
(dw2_instantiate_symtab): Change result to "struct compunit_symtab *".
|
||
All callers updated.
|
||
(dw2_find_last_source_symtab): Ditto.
|
||
(dw2_lookup_symbol): Ditto.
|
||
(recursively_find_pc_sect_compunit_symtab): Renamed from
|
||
recursively_find_pc_sect_symtab. Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(dw2_find_pc_sect_compunit_symtab): Renamed from
|
||
dw2_find_pc_sect_symtab. Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(get_compunit_symtab): Renamed from get_symtab. Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(recursively_compute_inclusions): Change type of immediate_parent
|
||
argument to "struct compunit_symtab *". All callers updated.
|
||
(compute_compunit_symtab_includes): Renamed from
|
||
compute_symtab_includes. All callers updated. Rewrite to compute
|
||
includes of compunit_symtabs and not symtabs.
|
||
(process_full_comp_unit): Update to work with struct compunit_symtab.
|
||
(process_full_type_unit): Ditto.
|
||
(dwarf_decode_lines_1): Delete argument comp_dir. All callers updated.
|
||
(dwarf_decode_lines): Remove special case handling of main subfile.
|
||
(macro_start_file): Delete argument comp_dir. All callers updated.
|
||
(dwarf_decode_macro_bytes): Ditto.
|
||
* guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to
|
||
use struct compunit_symtab.
|
||
* i386-tdep.c (i386_skip_prologue): Fetch producer from compunit.
|
||
* jit.c (finalize_symtab): Build compunit_symtab.
|
||
* jv-lang.c (get_java_class_symtab): Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
* macroscope.c (sal_macro_scope): Fetch macro table from compunit.
|
||
* macrotab.c (struct macro_table) <compunit_symtab>: Renamed from
|
||
comp_dir. Change type to "struct compunit_symtab *".
|
||
All uses updated.
|
||
(new_macro_table): Change comp_dir argument to cust,
|
||
"struct compunit_symtab *". All callers updated.
|
||
* maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from
|
||
nr_primary_symtabs. All uses updated.
|
||
(count_symtabs_and_blocks): Update to handle compunits.
|
||
(report_command_stats): Update output, "primary symtabs" renamed to
|
||
"compunits".
|
||
* mdebugread.c (new_symtab): Change result to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(parse_procedure): Change type of search_symtab argument to
|
||
"struct compunit_symtab *". All callers updated.
|
||
* objfiles.c (objfile_relocate1): Loop over blockvectors in a
|
||
separate loop.
|
||
* objfiles.h (struct objfile) <compunit_symtabs>: Renamed from
|
||
symtabs. Change type to "struct compunit_symtab *". All uses updated.
|
||
(ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS.
|
||
All uses updated.
|
||
(ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS.
|
||
All uses updated.
|
||
(ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated.
|
||
(ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated.
|
||
* psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from
|
||
symtab. Change type to "struct compunit_symtab *". All uses updated.
|
||
* psymtab.c (psymtab_to_symtab): Change result type to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(find_pc_sect_compunit_symtab_from_partial): Renamed from
|
||
find_pc_sect_symtab_from_partial. Change result type to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(lookup_symbol_aux_psymtabs): Change result type to
|
||
"struct compunit_symtab *". All callers updated.
|
||
(find_last_source_symtab_from_partial): Ditto.
|
||
* python/py-symtab.c (stpy_get_producer): Fetch producer from compunit.
|
||
* source.c (forget_cached_source_info_for_objfile): Fetch debugformat
|
||
and macro_table from compunit.
|
||
* symfile-debug.c (debug_qf_find_last_source_symtab): Change result
|
||
type to "struct compunit_symtab *". All callers updated.
|
||
(debug_qf_lookup_symbol): Ditto.
|
||
(debug_qf_find_pc_sect_compunit_symtab): Renamed from
|
||
debug_qf_find_pc_sect_symtab, change result type to
|
||
"struct compunit_symtab *". All callers updated.
|
||
* symfile.c (allocate_symtab): Delete objfile argument.
|
||
New argument cust.
|
||
(allocate_compunit_symtab): New function.
|
||
(add_compunit_symtab_to_objfile): New function.
|
||
* symfile.h (struct quick_symbol_functions) <lookup_symbol>:
|
||
Change result type to "struct compunit_symtab *". All uses updated.
|
||
<find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab.
|
||
Change result type to "struct compunit_symtab *". All uses updated.
|
||
* symmisc.c (print_objfile_statistics): Compute blockvector count in
|
||
separate loop.
|
||
(dump_symtab_1): Update test for primary source symtab.
|
||
(maintenance_info_symtabs): Update to handle compunit symtabs.
|
||
(maintenance_check_symtabs): Ditto.
|
||
* symtab.c (set_primary_symtab): Delete.
|
||
(compunit_primary_filetab): New function.
|
||
(compunit_language): New function.
|
||
(iterate_over_some_symtabs): Change type of arguments "first",
|
||
"after_last" to "struct compunit_symtab *". All callers updated.
|
||
Update to loop over symtabs in each compunit.
|
||
(error_in_psymtab_expansion): Rename symtab argument to cust,
|
||
and change type to "struct compunit_symtab *". All callers updated.
|
||
(find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab.
|
||
Change result type to "struct compunit_symtab *". All callers updated.
|
||
(find_pc_compunit_symtab): Renamed from find_pc_symtab.
|
||
Change result type to "struct compunit_symtab *". All callers updated.
|
||
(find_pc_sect_line): Only loop over symtabs within selected compunit
|
||
instead of all symtabs in the objfile.
|
||
* symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab.
|
||
<compunit_symtab> New member.
|
||
<block_line_section>: Moved to compunit_symtab.
|
||
<locations_valid>: Ditto.
|
||
<epilogue_unwind_valid>: Ditto.
|
||
<macro_table>: Ditto.
|
||
<dirname>: Ditto.
|
||
<debugformat>: Ditto.
|
||
<producer>: Ditto.
|
||
<objfile>: Ditto.
|
||
<call_site_htab>: Ditto.
|
||
<includes>: Ditto.
|
||
<user>: Ditto.
|
||
<primary>: Delete
|
||
(SYMTAB_COMPUNIT): New macro.
|
||
(SYMTAB_BLOCKVECTOR): Update definition.
|
||
(SYMTAB_OBJFILE): Update definition.
|
||
(SYMTAB_DIRNAME): Update definition.
|
||
(struct compunit_symtab): New type. Common members among all source
|
||
symtabs within a compilation unit moved here. All uses updated.
|
||
(COMPUNIT_OBJFILE): New macro.
|
||
(COMPUNIT_FILETABS): New macro.
|
||
(COMPUNIT_DEBUGFORMAT): New macro.
|
||
(COMPUNIT_PRODUCER): New macro.
|
||
(COMPUNIT_DIRNAME): New macro.
|
||
(COMPUNIT_BLOCKVECTOR): New macro.
|
||
(COMPUNIT_BLOCK_LINE_SECTION): New macro.
|
||
(COMPUNIT_LOCATIONS_VALID): New macro.
|
||
(COMPUNIT_EPILOGUE_UNWIND_VALID): New macro.
|
||
(COMPUNIT_CALL_SITE_HTAB): New macro.
|
||
(COMPUNIT_MACRO_TABLE): New macro.
|
||
(ALL_COMPUNIT_FILETABS): New macro.
|
||
(compunit_symtab_ptr): New typedef.
|
||
(DEF_VEC_P (compunit_symtab_ptr)): New vector type.
|
||
|
||
2014-11-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_is_redundant_range_encoding): Return 0
|
||
if the TYPE_CODE of range_type's base type does not match
|
||
the TYPE_CODE of encoding_type's base type.
|
||
|
||
2014-11-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_unqualified_name): Return DECODED_NAME if
|
||
it starts with '<'.
|
||
|
||
2014-11-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_is_redundant_range_encoding): New function.
|
||
(ada_is_redundant_index_type_desc): New function.
|
||
(to_fixed_array_type): Ignore parallel XA type if redundant.
|
||
|
||
2014-11-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (constrained_packed_array_type): Set the length
|
||
of the return array as if both bounds where zero if that
|
||
returned array's index type is dynamic.
|
||
|
||
2014-11-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* config/i386/go32.mh (CC): Remove.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
|
||
updated.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* buildsym.c (buildsym_objfile): New static global.
|
||
(buildsym_comp_dir): New static global.
|
||
(finish_block_internal): Delete arg objfile. All callers updated.
|
||
(finish_block): Delete arg objfile. All callers updated.
|
||
(start_subfile): Delete arg dirname. All callers updated.
|
||
(patch_subfile_names): Update buildsym_comp_dir.
|
||
(get_macro_table): Delete arg objfile. All callers updated.
|
||
(start_symtab): New arg objfile. All callers updated.
|
||
Rename arg dirname to comp_dir.
|
||
(reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
|
||
(end_symtab_get_static_block): Delete arg objfile. All callers
|
||
updated.
|
||
(end_symtab_without_blockvector): Ditto.
|
||
(end_symtab_with_blockvector): Ditto.
|
||
(end_symtab_from_static_block): Ditto.
|
||
(end_symtab): Ditto.
|
||
(end_expandable_symtab): Ditto.
|
||
(augment_type_symtab): Ditto.
|
||
* coffread.c (coff_start_symtab): New arg objfile. All callers
|
||
updated.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
|
||
updated.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
|
||
symtab.dirname updated to use it.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
|
||
symtab.objfile updated to use it.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* buildsym.c (watch_main_source_file_lossage): Fix memory leak.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
|
||
SYMBOL_OBJFILE.
|
||
* findvar.c (default_read_var_value): Ditto.
|
||
* jv-lang.c (add_class_symtab_symbol): Ditto.
|
||
* parse.c (operator_check_standard): Ditto.
|
||
* printcmd.c (address_info): Ditto.
|
||
* symtab.c (fixup_symbol_section): Ditto.
|
||
(skip_prologue_sal): Ditto.
|
||
* tracepoint.c (scope_info): Ditto.
|
||
* valops.c (find_function_in_inferior): Ditto.
|
||
* guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
|
||
* python/py-symbol.c (set_symbol): Ditto.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* buildsym.c (main_subfile): New static global.
|
||
(free_subfiles_list): New function.
|
||
(start_symtab): Set main_subfile.
|
||
(restart_symtab): Replace init of subfiles, current_subfile with
|
||
call to free_subfiles_list.
|
||
(watch_main_source_file_lossage): Use main_subfile.
|
||
(reset_symtab_globals): Replace init of current_subfile with call
|
||
to free_subfiles_list.
|
||
(end_symtab_without_blockvector, end_symtab_with_blockvector): New
|
||
functions, split out from ...
|
||
(end_symtab_from_static_block): ... here. Rewrite to call them.
|
||
|
||
2014-11-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
The result of symtab expansion is always a primary symtab.
|
||
* dwarf2read.c (dw2_instantiate_symtab): Add assert.
|
||
(dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
|
||
* psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
|
||
(psymtab_to_symtab): Add comment and assert.
|
||
(map_matching_symbols_psymtab): Remove unnecessary test for
|
||
non-primary symtab.
|
||
|
||
2014-11-15 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR symtab/17559
|
||
* symtab.c (find_pc_line_symtab): New function.
|
||
* symtab.h (find_pc_line_symtab): Declare.
|
||
* disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
|
||
find_pc_symtab.
|
||
* tui/tui-disasm.c (tui_set_disassem_content): Ditto.
|
||
* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
|
||
* tui/tui-source.c (tui_vertical_source_scroll): Ditto.
|
||
* tui/tui-win.c (make_visible_with_new_height): Ditto.
|
||
* tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
|
||
(tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
|
||
|
||
2014-11-15 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (expand_symtab_containing_pc): Renamed from
|
||
find_pc_sect_symtab_via_partial. All callers updated.
|
||
|
||
2014-11-15 Yao Qi <yao@codesourcery.com>
|
||
|
||
* go32-nat.c (go32_create_inferior): Add missing parenthesis.
|
||
|
||
2014-11-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* common/common-defs.h: Move <stdarg.h> #include ahead of
|
||
<stdio.h> #include.
|
||
|
||
2014-11-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
|
||
[!PHONY_ICONV] (gdb_iconv): New function.
|
||
[!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
|
||
|
||
2014-11-13 Doug Evans <dje@google.com>
|
||
|
||
PR symtab/17591
|
||
* dwarf2read.c (find_slot_in_mapped_hash): Handle
|
||
"(anonymous namespace)".
|
||
|
||
2014-11-13 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (update_enumeration_type_from_children): Avoid
|
||
infinite loop.
|
||
|
||
2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* NEWS (maint set target-async): Fix typo.
|
||
|
||
2014-11-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (enum infwait_states, infwait_state): Delete.
|
||
|
||
2014-11-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
|
||
Rewrite stepping over a permanent breakpoint.
|
||
(thread_still_needs_step_over, proceed): Don't set
|
||
stepping_over_breakpoint for permanent breakpoints.
|
||
(handle_signal_stop): Don't clear stepped_breakpoint. Also pull
|
||
single-step breakpoints out of the target on hardware step
|
||
targets.
|
||
(process_event_stop_test): If stepping a permanent breakpoint
|
||
doesn't hit the step-resume breakpoint, delete the step-resume
|
||
breakpoint.
|
||
(switch_back_to_stepped_thread): Also check if the stepped thread
|
||
has advanced already on hardware step targets.
|
||
(currently_stepping): Return true if the thread stepped a
|
||
breakpoint.
|
||
|
||
2014-11-12 Pedro Alves <palves@redhat.com>
|
||
|
||
Mark locations as permanent, not the whole breakpoint.
|
||
* breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
|
||
(mark_breakpoints_out): Don't mark permanent breakpoints as
|
||
uninserted.
|
||
(breakpoint_init_inferior): Use mark_breakpoints_out.
|
||
(breakpoint_here_p): Adjust.
|
||
(bpstat_stop_status, describe_other_breakpoints): Remove handling
|
||
of permanent breakpoints.
|
||
(make_breakpoint_permanent): Mark each location as permanent,
|
||
instead of marking the breakpoint.
|
||
(add_location_to_breakpoint): If the location is permanent, mark
|
||
it as such, and as inserted.
|
||
(init_breakpoint_sal): Don't make the breakpoint permanent here.
|
||
(bp_location_compare, update_global_location_list): Adjust.
|
||
(update_breakpoint_locations): Don't make the breakpoint permanent
|
||
here.
|
||
(disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
|
||
breakpoints.
|
||
* breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
|
||
(struct bp_location) <permanent>: New field.
|
||
* guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
|
||
reference to bp_permanent.
|
||
|
||
2014-11-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* arch-utils.c (default_skip_permanent_breakpoint): New function.
|
||
* arch-utils.h (default_skip_permanent_breakpoint): New
|
||
declaration.
|
||
* gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
|
||
Install default_skip_permanent_breakpoint as default method.
|
||
* i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
|
||
(i386_gdbarch_init): Don't install it.
|
||
* infrun.c (resume): Assume there's always a
|
||
gdbarch_skip_permanent_breakpoint implementation.
|
||
* gdbarch.h, gdbarch.c: Regenerate.
|
||
|
||
2014-11-11 Daniel Colascione <dancol@dancol.org>
|
||
|
||
Warn about cross-PID-namespace debugging.
|
||
* nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
|
||
* nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
|
||
* linux-thread-db.c (check_pid_namespace_match): New function.
|
||
(thread_db_inferior_created): Call it.
|
||
|
||
2014-11-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symmisc.c (print_objfile_statistics): Remove trailing whitespace.
|
||
(maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
|
||
|
||
2014-11-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
|
||
|
||
2014-11-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR symtab/17564
|
||
* symtab.c (lookup_symbol_in_all_objfiles): Delete.
|
||
(lookup_static_symbol): Move definition to new location and rewrite.
|
||
(lookup_symbol_in_objfile): New function.
|
||
(lookup_symbol_global_iterator_cb): Call it.
|
||
|
||
2014-11-10 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
|
||
|
||
2014-11-07 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (process_event_stop_test) <subroutine check>: Don't
|
||
check if we did a "nexti" inside a prologue.
|
||
* symtab.c (in_prologue): Delete function.
|
||
* symtab.h (in_prologue): Delete declaration.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (lookup_global_symbol): Improve function comment.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
|
||
All callers updated.
|
||
* symtab.h (lookup_global_symbol): Update decl.
|
||
(lookup_static_symbol): Move decl to better location.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (basic_lookup_symbol_nonlocal): Add comment.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
|
||
All callers updated.
|
||
(lookup_symbol_in_all_objfiles): Renamed from
|
||
lookup_symbol_aux_symtabs. All callers updated.
|
||
(lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
|
||
All callers updated.
|
||
(lookup_symbol_in_objfile_symtabs): Renamed from
|
||
lookup_symbol_aux_objfile. All callers updated.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_symbol_in_block): Renamed from
|
||
lookup_symbol_aux_block. All callers updated.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_static_symbol): Renamed from
|
||
lookup_static_symbol_aux. All callers updated.
|
||
(lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
|
||
All callers updated.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
|
||
* block.c (block_lookup_symbol): Use it.
|
||
* cp-support.c (make_symbol_overload_list_block): Use it.
|
||
* symtab.c (iterate_over_symbols): Use it.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_block_symbol): Moved to ...
|
||
* block.c (block_lookup_symbol): ... here and renamed.
|
||
All callers updated.
|
||
* block.h (block_lookup_symbol): Declare.
|
||
* symtab.h (lookup_block_symbol): Delete.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* ada-lang.c (ada_make_symbol_completion_list): Use
|
||
ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
|
||
* symtab.c (lookup_objfile_from_block): Ditto.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
|
||
TYPE_CODE_STRUCT.
|
||
|
||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* objfiles.c (get_objfile_arch): Constify.
|
||
* objfiles.h (get_objfile_arch): Update prototype.
|
||
* solib.c (solib_global_lookup): Fetch arch from objfile,
|
||
not target_gdbarch.
|
||
|
||
2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* nios2-tdep.c (wild_insn): Delete.
|
||
(profiler_insn, irqentry_insn): Delete.
|
||
(nios2_match_sequence): Delete.
|
||
(nios2_analyze_prologue): Update comments. Remove matching
|
||
of obsolete profiler_insn and irqentry_insn sequences.
|
||
|
||
2014-11-05 Alan Modra <amodra@gmail.com>
|
||
|
||
* charset.c (convert_between_encodings): Shrink obstack using
|
||
obstack_blank_fast.
|
||
* minsyms.c (install_minimal_symbols): Likewise.
|
||
* cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
|
||
to char* before doing pointer arithmetic.
|
||
|
||
2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
|
||
|
||
2014-11-04 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (breakpoint_thread_match): Delete function.
|
||
* breakpoint.h (breakpoint_thread_match): Delete declaration.
|
||
|
||
2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
PR c++/17494
|
||
* eval.c (evaluate_subexp_standard): Evaluate the "object" and
|
||
the method args also under EVAL_SKIP when evaluating method
|
||
calls under EVAL_SKIP.
|
||
|
||
2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
|
||
|
||
* dwarf2loc.c (read_pieced_value): Do big endian
|
||
processing only if gdb_regnum is not -1.
|
||
(write_pieced_value): Ditto.
|
||
|
||
2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
|
||
|
||
* arm-linux-tdep.c (arm_linux_init_abi): Use
|
||
info.byte_order_for_code to choose endianity of breakpoint
|
||
instructions snippets.
|
||
|
||
2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
|
||
|
||
* arm-tdep.c (extract_arm_insn): Use
|
||
gdbarch_byte_order_for_code to read arm instruction.
|
||
|
||
2014-11-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
* mdebugread.c (parse_procedure): Delete unnecessary forward decl.
|
||
|
||
2014-11-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
* xcoffread.c (process_linenos): Delete unnecessary zeroing of
|
||
main_subfile before returning.
|
||
|
||
2014-10-31 Doug Evans <xdje42@gmail.com>
|
||
|
||
* objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
|
||
(ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
|
||
|
||
2014-10-31 Doug Evans <xdje42@gmail.com>
|
||
|
||
* valops.c (value_cast_pointers): Fix whitespace.
|
||
(typecmp, search_struct_method, value_struct_elt, find_oload_champ):
|
||
Ditto.
|
||
|
||
2014-10-30 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention ability add attributes to gdb.Objfile and
|
||
gdb.Progspace objects.
|
||
* python/py-objfile.c (objfile_object): New member dict.
|
||
(objfpy_dealloc): Py_XDECREF dict.
|
||
(objfpy_initialize): Initialize dict.
|
||
(objfile_getset): Add __dict__.
|
||
(objfile_object_type): Set tp_dictoffset member.
|
||
* python/py-progspace.c (progspace_object): New member dict.
|
||
(pspy_dealloc): Py_XDECREF dict.
|
||
(pspy_initialize): Initialize dict.
|
||
(pspace_getset): Add __dict__.
|
||
(pspace_object_type): Set tp_dictoffset member.
|
||
|
||
2014-10-30 Yao Qi <yao@codesourcery.com>
|
||
|
||
* python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
|
||
replace '\\' with '\\\\'.
|
||
|
||
2014-10-29 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.8.1 released.
|
||
|
||
2014-10-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17408
|
||
* infrun.c (switch_back_to_stepped_thread): Use currently_stepping
|
||
instead of assuming a thread with a stepping range is always
|
||
stepping.
|
||
|
||
2014-10-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR python/17372
|
||
* event-top.c (change_line_handler): Call
|
||
gdb_rl_callback_handler_remove instead of
|
||
rl_callback_handler_remove.
|
||
(callback_handler_installed): New global.
|
||
(gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
|
||
(gdb_rl_callback_handler_reinstall): New functions.
|
||
(display_gdb_prompt): Call gdb_rl_callback_handler_remove and
|
||
gdb_rl_callback_handler_install instead of
|
||
rl_callback_handler_remove and rl_callback_handler_install.
|
||
(gdb_disable_readline): Call gdb_rl_callback_handler_remove
|
||
instead of rl_callback_handler_remove.
|
||
* event-top.h (gdb_rl_callback_handler_remove)
|
||
(gdb_rl_callback_handler_install)
|
||
(gdb_rl_callback_handler_reinstall): New declarations.
|
||
* infrun.c (reinstall_readline_callback_handler_cleanup): New
|
||
cleanup function.
|
||
(fetch_inferior_event): Install it.
|
||
* top.c (gdb_readline_wrapper_line) Call
|
||
gdb_rl_callback_handler_remove instead of
|
||
rl_callback_handler_remove.
|
||
(gdb_readline_wrapper_cleanup): Don't call
|
||
rl_callback_handler_install.
|
||
|
||
2014-10-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* event-top.c (command_line_handler): Clear the first byte of
|
||
linebuffer, when it is first allocated.
|
||
|
||
2014-10-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
|
||
TRY_CATCH.
|
||
|
||
2014-10-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR tui/16138
|
||
PR tui/17519
|
||
* tui/tui-interp.c (tui_is_toplevel): Delete global.
|
||
(tui_allowed_p): Delete function.
|
||
* tui/tui.c: Include "interps.h".
|
||
(tui_enable): Don't use tui_allowed_p. Error out here with
|
||
detailed error messages if the TUI is the top level interpreter,
|
||
or if output is not a terminal. Use newterm instead of initscr,
|
||
and error out if initializing the terminal fails. Also error out if
|
||
the terminal doesn't support cursor addressing.
|
||
* tui/tui.h (tui_allowed_p): Delete declaration.
|
||
|
||
2014-10-29 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* arm-tdep.c (arm_skip_stack_protector): Return early if
|
||
address loaded by first "ldr" instruction does not have
|
||
a corresponding minimal symbol. Update comment.
|
||
|
||
2014-10-29 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
|
||
loaded address correctly of ldr instruction.
|
||
|
||
2014-10-28 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/12623
|
||
* gdbthread.h (struct thread_info) <stepped_breakpoint>: New
|
||
field.
|
||
* infrun.c (resume) <stepping breakpoint instruction>: Set the
|
||
thread's stepped_breakpoint field. Skip if reverse debugging.
|
||
Add comment.
|
||
(init_thread_stepping_state, handle_signal_stop): Clear the
|
||
thread's stepped_breakpoint field.
|
||
|
||
2014-10-27 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (remote_thread_alive): New, factored out from ...
|
||
(remote_thread_alive): ... this.
|
||
(remote_update_thread_list): Bail out before deleting threads if
|
||
the target returned an empty list, and, the current thread has a
|
||
magic/fake ptid.
|
||
|
||
2014-10-27 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (handle_signal_stop): Also skip handlers when a random
|
||
signal arrives while handling a "stepi" or a "nexti". Set the
|
||
thread's 'step_after_step_resume_breakpoint' flag.
|
||
|
||
2014-10-27 Luis Machado <lgustavo@codesourcery.com>
|
||
|
||
* arm-tdep.c (INSN_S_L_BIT_NUM): Document.
|
||
(arm_record_ld_st_imm_offset): Reimplement to cover all
|
||
load/store cases for ARM opcode 010.
|
||
(arm_record_ld_st_multiple): Reimplement to cover all
|
||
load/store cases for ARM opcode 100.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_symbol_aux_local): Fix typo in comment.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
|
||
parameter "kind" to "block_index".
|
||
* symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
|
||
"block_index".
|
||
(lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* block.h (ALL_BLOCK_SYMBOLS): Fix comment.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* block.c (allocate_block): Use OBSTACK_ZALLOC instead of
|
||
obstack_alloc.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* parser-defs.h (block_found): Move decl from here ...
|
||
* symtab.h (block_found): ... to here.
|
||
|
||
2014-10-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.h (struct field_of_this_result): Fix typo in comment.
|
||
(lookup_symbol_in_language): Move function comment here.
|
||
(lookup_symbol): Improve function comment.
|
||
(basic_lookup_symbol_nonlocal): Ditto.
|
||
(lookup_symbol_static, lookup_symbol_global): Ditto.
|
||
(lookup_symbol_aux_block): Ditto.
|
||
(lookup_language_this): Add function comment.
|
||
(lookup_static_symbol_aux): Explicitly mark as extern. Improve
|
||
function comment.
|
||
(lookup_block_symbol): Improve function comment.
|
||
(lookup_struct): Fix capitalization in function comment.
|
||
(lookup_transparent_type): Add function comment.
|
||
(lookup_global_symbol_from_objfile): Explicitly mark as extern.
|
||
Improve function comment.
|
||
(lookup_objfile_from_block): Add function comment.
|
||
* symtab.c (lookup_symbol_in_language): Update function comment.
|
||
(lookup_symbol, lookup_language_this): Ditto.
|
||
(lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
|
||
(lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
|
||
(basic_lookup_symbol_nonlocal): Ditto.
|
||
(lookup_symbol_static, lookup_symbol_global): Ditto.
|
||
(lookup_transparent_type, lookup_block_symbol): Ditto.
|
||
|
||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (types_info): Delete forward decl.
|
||
(functions_info, variables_info, sources_info): Ditto.
|
||
(_initialize_symtab): Rewrite forward decl to use
|
||
initialize_file_ftype.
|
||
|
||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||
|
||
* symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
|
||
|
||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||
|
||
* dwarf2read.c (process_structure_scope): Remove second (nested) copy
|
||
of local var child_die.
|
||
|
||
2014-10-24 Don Breazeal <donb@codesourcery.com>
|
||
|
||
* infrun.c (follow_fork_inferior): Update fork message printing
|
||
to use target_terminal_ours_for_output instead of
|
||
target_terminal_ours, to use _() for all format strings, to print
|
||
"vfork" instead of "fork" for vforks, and to add a detach message.
|
||
(handle_vfork_child_exec_or_exit): Update message printing to use
|
||
target_terminal_ours_for_output instead of target_terminal_ours, to
|
||
use _() for all format strings, and to fix some formatting.
|
||
|
||
2014-10-24 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (ALLDEPFILES): Remove vax-nat.c.
|
||
* NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
|
||
* config/vax/vax.mh: Delete.
|
||
* configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
|
||
obsolete configurations section.
|
||
* configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
|
||
* vax-nat.c: Delete file.
|
||
|
||
2014-10-24 Pedro Alves <palves@redhat.com>
|
||
|
||
* NEWS (Removed targets): Add OS/arch column.
|
||
|
||
2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
|
||
on the arg type of a constructor only if it is of reference type.
|
||
|
||
2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
|
||
accessors and constants from nios2 opcodes update.
|
||
(nios2_get_next_pc): Likewise.
|
||
|
||
2014-10-19 Doug Evans <xdje42@gmail.com>
|
||
|
||
* gdbthread.h (set_running): Fix comment.
|
||
(set_executing, finish_thread_state): Fix comment.
|
||
|
||
2014-10-18 Doug Evans <xdje42@gmail.com>
|
||
|
||
* linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
|
||
|
||
2014-10-17 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention new event gdb.clear_objfiles.
|
||
* python/py-event.h (emit_clear_objfiles_event): Clear
|
||
* python/py-events.h (events_object): New member clear_objfiles.
|
||
* python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
|
||
event.
|
||
* python/py-inferior.c (python_new_objfile): If objfile is NULL,
|
||
emit clear_objfiles event.
|
||
* python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
|
||
function.
|
||
(emit_clear_objfiles_event): New function.
|
||
(clear_objfiles): New event.
|
||
* python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
|
||
Declare.
|
||
* python/python.c (_initialize_python): Call
|
||
gdbpy_initialize_clear_objfiles_event.
|
||
|
||
2014-10-17 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention new gdb.Objfile.progspace attribute.
|
||
* python/py-objfile.c (objfpy_get_progspace): New function.
|
||
(objfile_getset): New entry for "progspace".
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17471
|
||
* infcmd.c (strip_bg_char): Change prototype and rewrite. Now
|
||
returns a copy of the input.
|
||
(run_command_1, continue_command, step_1, jump_command)
|
||
(signal_command, until_command, advance_command, finish_command)
|
||
(attach_command): Adjust and install a cleanup to free the
|
||
stripped args.
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17300
|
||
* infcmd.c (continue_1): If continuing all threads in the
|
||
foreground, make sure the inferior's terminal settings are put in
|
||
effect.
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17472
|
||
* annotate.c (annotate_breakpoints_invalid): Use
|
||
target_terminal_our_for_output instead of target_terminal_ours.
|
||
Give back the terminal to the target.
|
||
(annotate_frames_invalid): Likewise.
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
* target.c (enum terminal_state): New enum.
|
||
(terminal_state): New global.
|
||
(target_terminal_init): New function.
|
||
(target_terminal_inferior): Skip if inferior already owns the
|
||
terminal.
|
||
(target_terminal_ours, target_terminal_ours_for_output): New
|
||
functions.
|
||
* target.h (target_terminal_init): Convert to function prototype.
|
||
(target_terminal_ours_for_output): Convert to function prototype
|
||
and tweak comment.
|
||
(target_terminal_ours): Convert to function prototype and tweak
|
||
comment.
|
||
* windows-nat.c (do_initial_windows_stuff): Call
|
||
target_terminal_init instead of child_terminal_init_with_pgrp.
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
|
||
(HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
|
||
(ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
|
||
solib-osf.c.
|
||
* NEWS: Mention that support for alpha*-*-osf* has been removed.
|
||
* ada-lang.h [__alpha__ && __osf__]
|
||
(ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
|
||
* alpha-nat.c, alpha-osf1-tdep.c: Delete files.
|
||
* alpha-tdep.c (alpha_gdbarch_init): Remove reference to
|
||
GDB_OSABI_OSF1.
|
||
* config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
|
||
files.
|
||
* config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
|
||
(config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
|
||
* configure: Regenerate.
|
||
* configure.ac: Remove references to osf.
|
||
* configure.host: Handle alpha*-*-osf* in the obsolete hosts
|
||
section. Remove all other references to osf.
|
||
* configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
|
||
Remove all other references to osf.
|
||
* dec-thread.c: Delete file.
|
||
* defs.h (GDB_OSABI_OSF1): Delete.
|
||
* inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
|
||
defined.
|
||
* osabi.c (gdb_osabi_names): Delete "OSF/1".
|
||
* procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
|
||
Delete code.
|
||
(unconditionally_kill_inferior)
|
||
[PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
|
||
* solib-osf.c: Delete file.
|
||
|
||
2014-10-17 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (clear_threads_listing_context): Move higher up, out of
|
||
the HAVE_LIBEXPAT guard.
|
||
|
||
2014-10-16 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
|
||
(i386_darwin_store_inferior_registers): Sanitize gs and fs values
|
||
on amd64.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* dec-thread.c (dec_thread_count_gdb_threads)
|
||
(dec_thread_add_gdb_thread): Delete.
|
||
(dec_thread_update_thread_list): Delete.
|
||
(dec_thread_find_new_threads): Rename to ...
|
||
(dec_thread_update_thread_list): ... this. Delete GDB-size
|
||
threads that are no longer found in dec_thread_list.
|
||
(resync_thread_list): Delete.
|
||
(dec_thread_wait): Call dec_thread_update_thread_list instead of
|
||
resync_thread_list.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
|
||
* remote.c (remote_update_thread_list): Skip calling prune_threads
|
||
if any thread listing method is supported, and instead walk over
|
||
the set of remote threads listed, deleting those that are not
|
||
found in GDB's thread list.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
|
||
* bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
|
||
(bsd_uthread_update_thread_list): ... this. Call prune_threads.
|
||
(bsd_uthread_target): Adjust.
|
||
* corelow.c (core_open): Adjust.
|
||
* dec-thread.c (dec_thread_find_new_threads): Update comment.
|
||
(dec_thread_update_thread_list): New function.
|
||
(init_dec_thread_ops): Adjust.
|
||
* gdbthread.h (prune_threads): New declaration.
|
||
* linux-thread-db.c (thread_db_find_new_threads): Rename to ...
|
||
(thread_db_update_thread_list): ... this. Call prune_threads.
|
||
(init_thread_db_ops): Adjust.
|
||
* nto-procfs.c (procfs_find_new_threads): Rename to ...
|
||
(procfs_update_thread_list): ... this. Call prune_threads.
|
||
(procfs_attach, procfs_create_inferior, init_procfs_targets):
|
||
Adjust.
|
||
* obsd-nat.c (obsd_find_new_threads): Rename to ...
|
||
(obsd_update_thread_list): ... this. Call prune_threads.
|
||
(obsd_add_target): Adjust.
|
||
* procfs.c (procfs_target): Adjust.
|
||
(procfs_notice_thread): Update comment.
|
||
(procfs_find_new_threads): Rename to ...
|
||
(procfs_update_thread_list): ... this. Call prune_threads.
|
||
* ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
|
||
comment.
|
||
(ravenscar_wait): Adjust.
|
||
(ravenscar_find_new_threads): Rename to ...
|
||
(ravenscar_update_thread_list): ... this. Call prune_threads.
|
||
(init_ravenscar_thread_ops): Adjust.
|
||
* record-btrace.c (record_btrace_find_new_threads): Rename to ...
|
||
(record_btrace_update_thread_list): ... this. Adjust comment.
|
||
(init_record_btrace_ops): Adjust.
|
||
* remote.c (remote_threads_info): Rename to ...
|
||
(remote_update_thread_list): ... this. Call prune_threads.
|
||
(remote_start_remote, extended_remote_attach_1, init_remote_ops):
|
||
Adjust.
|
||
* sol-thread.c (check_for_thread_db): Adjust.
|
||
(sol_find_new_threads_callback): Rename to ...
|
||
(sol_update_thread_list_callback): ... this.
|
||
(sol_find_new_threads): Rename to ...
|
||
(sol_update_thread_list): ... this. Call prune_threads. Adjust.
|
||
(sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
|
||
* target-delegates.c: Regenerate.
|
||
* target.c (target_find_new_threads): Rename to ...
|
||
(target_update_thread_list): ... this.
|
||
* target.h (struct target_ops): Rename to_find_new_threads field
|
||
to to_update_thread_list.
|
||
(target_find_new_threads): Rename to ...
|
||
(target_update_thread_list): ... this.
|
||
* thread.c (prune_threads): Make extern.
|
||
(update_thread_list): Adjust.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (remote_get_threadlist, remote_threadlist_iterator):
|
||
Add describing comment. Return -1 if the qL packet is not
|
||
supported.
|
||
(struct thread_item, thread_item_t): Move higher up in
|
||
the file. Add comments.
|
||
(struct threads_parsing_context): Move higher up in
|
||
the file, add comments, and remote to ...
|
||
(struct threads_listing_context): ... this.
|
||
(remote_newthread_step): Don't add the thread to GDB's thread
|
||
database here. Instead push it to the thread_listing_context
|
||
list.
|
||
(remote_find_new_threads): Rename to ...
|
||
(remote_get_threads_with_ql): ... this. Add target_ops and
|
||
targets_listing_context parameters. Pass down context.
|
||
(start_thread): Adjust.
|
||
(clear_threads_parsing_context): Rename to ...
|
||
(clear_threads_listing_context): ... this.
|
||
(remote_get_threads_with_qxfer): New, with parts salvaged from old
|
||
remote_threads_info.
|
||
(remote_get_threads_with_qthreadinfo): Ditto.
|
||
(remote_threads_info): Reimplement.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (resume): Don't force displaced-stepping for all
|
||
single-steps on software single-stepping archs.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (single_step_breakpoints): Delete global.
|
||
(insert_single_step_breakpoint): Adjust to store the breakpoint
|
||
pointer in the current thread.
|
||
(single_step_breakpoints_inserted, remove_single_step_breakpoints)
|
||
(cancel_single_step_breakpoints): Delete functions.
|
||
(breakpoint_has_location_inserted_here): Make extern.
|
||
(single_step_breakpoint_inserted_here_p): Adjust to walk the
|
||
breakpoint list.
|
||
* breakpoint.h (breakpoint_has_location_inserted_here): New
|
||
declaration.
|
||
(single_step_breakpoints_inserted, remove_single_step_breakpoints)
|
||
(cancel_single_step_breakpoints): Remove declarations.
|
||
* gdbthread.h (struct thread_control_state)
|
||
<single_step_breakpoints>: New field.
|
||
(delete_single_step_breakpoints)
|
||
(thread_has_single_step_breakpoints_set)
|
||
(thread_has_single_step_breakpoint_here): New declarations.
|
||
* infrun.c (follow_exec): Also clear the single-step breakpoints.
|
||
(singlestep_breakpoints_inserted_p, singlestep_ptid)
|
||
(singlestep_pc): Delete globals.
|
||
(infrun_thread_ptid_changed): Remove references to removed
|
||
globals.
|
||
(resume_cleanups): Delete the current thread's single-step
|
||
breakpoints.
|
||
(maybe_software_singlestep): Remove references to removed globals.
|
||
(resume): Adjust to use thread_has_single_step_breakpoints_set and
|
||
delete_single_step_breakpoints.
|
||
(init_wait_for_inferior): Remove references to removed globals.
|
||
(delete_thread_infrun_breakpoints): Delete the thread's
|
||
single-step breakpoints too.
|
||
(delete_just_stopped_threads_infrun_breakpoints): Don't delete
|
||
single-step breakpoints here.
|
||
(delete_stopped_threads_single_step_breakpoints): New function.
|
||
(adjust_pc_after_break): Adjust to use
|
||
thread_has_single_step_breakpoints_set.
|
||
(handle_inferior_event): Remove references to removed globals.
|
||
Use delete_stopped_threads_single_step_breakpoints.
|
||
(handle_signal_stop): Adjust to per-thread single-step
|
||
breakpoints. Swap test order to do cheaper tests first.
|
||
(switch_back_to_stepped_thread): Extend debug output. Remove
|
||
references to removed globals.
|
||
* record-full.c (record_full_wait_1): Adjust to per-thread
|
||
single-step breakpoints.
|
||
* thread.c (delete_single_step_breakpoints)
|
||
(thread_has_single_step_breakpoints_set)
|
||
(thread_has_single_step_breakpoint_here): New functions.
|
||
(clear_thread_inferior_resources): Also delete the thread's
|
||
single-step breakpoints.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* thread.c (delete_thread_breakpoint): New function.
|
||
(delete_step_resume_breakpoint)
|
||
(delete_exception_resume_breakpoint): Use it.
|
||
(delete_at_next_stop): New function.
|
||
(clear_thread_inferior_resources): Use delete_at_next_stop.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
|
||
(breakpoint_inserted_here_p): ... here. Remove special case for
|
||
software single-step breakpoints.
|
||
(find_non_raw_software_breakpoint_inserted_here): Inline ...
|
||
(software_breakpoint_inserted_here_p): ... here. Remove special
|
||
case for software single-step breakpoints.
|
||
(bp_target_info_copy_insertion_state)
|
||
(deprecated_insert_raw_breakpoint)
|
||
(deprecated_remove_raw_breakpoint): Delete functions.
|
||
* breakpoint.h (deprecated_insert_raw_breakpoint)
|
||
(deprecated_remove_raw_breakpoint): Remove declarations.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
PR breakpoints/9649
|
||
* breakpoint.c (single_step_breakpoints, single_step_gdbarch):
|
||
Delete array globals.
|
||
(single_step_breakpoints): New global.
|
||
(breakpoint_xfer_memory): Remove special handling for single-step
|
||
breakpoints.
|
||
(update_breakpoints_after_exec): Delete bp_single_step
|
||
breakpoints.
|
||
(detach_breakpoints): Remove special handling for single-step
|
||
breakpoints.
|
||
(breakpoint_init_inferior): Delete bp_single_step breakpoints.
|
||
(bpstat_stop_status): Add comment.
|
||
(bpstat_what, bptype_string, print_one_breakpoint_location)
|
||
(adjust_breakpoint_address, init_bp_location): Handle
|
||
bp_single_step.
|
||
(new_single_step_breakpoint): New function.
|
||
(set_momentary_breakpoint, bkpt_remove_location): Remove special
|
||
handling for single-step breakpoints.
|
||
(insert_single_step_breakpoint, single_step_breakpoints_inserted)
|
||
(remove_single_step_breakpoints, cancel_single_step_breakpoints):
|
||
Rewrite.
|
||
(detach_single_step_breakpoints, find_single_step_breakpoint):
|
||
Delete functions.
|
||
(breakpoint_has_location_inserted_here): New function.
|
||
(single_step_breakpoint_inserted_here_p): Rewrite.
|
||
* breakpoint.h: Remove FIXME.
|
||
(enum bptype) <bp_single_step>: New enum value.
|
||
(insert_single_step_breakpoint): Update comment.
|
||
* infrun.c (resume_cleanups)
|
||
(delete_step_thread_step_resume_breakpoint): Remove single-step
|
||
breakpoints.
|
||
(fetch_inferior_event): Install a cleanup that removes infrun
|
||
breakpoints.
|
||
(switch_back_to_stepped_thread) <expect thread advanced also>:
|
||
Clear step-over info.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (delete_step_resume_breakpoint_callback): Delete.
|
||
(delete_thread_infrun_breakpoints): New function, with parts
|
||
salvaged from delete_step_resume_breakpoint_callback.
|
||
(delete_step_thread_step_resume_breakpoint): Delete.
|
||
(for_each_just_stopped_thread_callback_func): New typedef.
|
||
(for_each_just_stopped_thread): New function.
|
||
(delete_just_stopped_threads_infrun_breakpoints): New function.
|
||
(delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
|
||
(delete_just_stopped_threads_infrun_breakpoints_cleanup):
|
||
... this. Adjust.
|
||
(wait_for_inferior, fetch_inferior_event): Adjust to renames.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (should_be_inserted): Don't insert watchpoints if
|
||
trying to step past a non-steppable watchpoint.
|
||
* gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
|
||
field.
|
||
* infrun.c (struct step_over_info): Add new field
|
||
'nonsteppable_watchpoint_p' and adjust comments.
|
||
(set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
|
||
Adjust.
|
||
(clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
|
||
(stepping_past_nonsteppable_watchpoint): New function.
|
||
(step_over_info_valid_p): Also return true if stepping past a
|
||
nonsteppable watchpoint.
|
||
(proceed): Adjust call to set_step_over_info. Remove reference to
|
||
init_infwait_state.
|
||
(init_wait_for_inferior): Remove reference to init_infwait_state.
|
||
(waiton_ptid): Delete global.
|
||
(struct execution_control_state)
|
||
<stepped_after_stopped_by_watchpoint>: Delete field.
|
||
(wait_for_inferior, fetch_inferior_event): Always pass
|
||
minus_one_ptid to target_wait.
|
||
(init_thread_stepping_state): Clear 'stepping_over_watchpoint'
|
||
field.
|
||
(init_infwait_state): Delete function.
|
||
(handle_inferior_event): Remove infwait_state handling.
|
||
(handle_signal_stop) <watchpoints handling>: Adjust after
|
||
stepped_after_stopped_by_watchpoint removal. Don't remove
|
||
breakpoints here nor set infwait_state. Set the thread's
|
||
stepping_over_watchpoint flag, and call keep_going instead.
|
||
(keep_going): Handle stepping_over_watchpoint. Adjust
|
||
set_step_over_info calls.
|
||
* infrun.h (stepping_past_nonsteppable_watchpoint): Declare
|
||
function.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (step_over_info_valid_p): New function.
|
||
(resume): Use step_over_info_valid_p instead of checking the
|
||
threads's trap_expected flag.
|
||
|
||
2014-10-15 Doug Evans <dje@google.com>
|
||
Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||
|
||
PR python/17364
|
||
* python/lib/gdb/__init__.py (packages): Add "printer".
|
||
* python/lib/gdb/command/bound_registers.py: Moved to ...
|
||
* python/lib/gdb/printer/bound_registers.py: ... here.
|
||
Add printer to global set of builtin printers. Rename printer from
|
||
"bound" to "mpx_bound128".
|
||
* python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
|
||
registered as global "builtin" printer.
|
||
(add_builtin_pretty_printer): New function.
|
||
* data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
|
||
gdb/printer/__init__.py.
|
||
|
||
2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* Makefile.in (SFILES): Remove d-support.c.
|
||
(COMMON_OBS): Remove d-support.o.
|
||
* d-lang.h (d_parse_symbol): Remove declaration.
|
||
* d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
|
||
* d-support.c: Remove file.
|
||
|
||
2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* infrun.c (process_event_stop_test): Apply
|
||
gdbarch_addr_bits_remove to longjmp resume address.
|
||
|
||
2014-10-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* regformats/microblaze.dat: Delete file.
|
||
|
||
2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
|
||
|
||
* features/Makefile (microblaze-expedite): Replace pc with rpc.
|
||
* regformats/microblaze-with-stack-protect.dat: Regenerate.
|
||
|
||
2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
|
||
as non-trivial.
|
||
|
||
2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
PR c++/13403
|
||
PR c++/15154
|
||
* gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
|
||
with qualified args.
|
||
|
||
2014-10-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
|
||
of the case where the second operand is a pointer.
|
||
<BINOP_SUB>: Likewise.
|
||
|
||
2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
|
||
only if it is not NULL.
|
||
(bkpt_probe_remove_location): Likewise, for clear_semaphore.
|
||
* probe.h (struct probe_ops) <set_semaphore>: Update comment.
|
||
(struct probe_ops) <clear_semaphore>: Likewise.
|
||
* tracepoint.c (start_tracing): Call set_semaphore only if it is
|
||
not NULL.
|
||
(stop_tracing): Likewise, for clear_semaphore.
|
||
|
||
2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* stap-probe.c (stap_parse_argument): Initialize expout explicitly
|
||
using language_c, instead of current_language.
|
||
|
||
2014-10-13 Doug Evans <dje@google.com>
|
||
|
||
* python/py-objfile.c (objfpy_initialize): New function.
|
||
(objfpy_new, objfile_to_objfile_object): Call it.
|
||
* python/py-progspace.c (pspy_initialize): New function.
|
||
(pspy_new, pspace_to_pspace_object): Call it.
|
||
|
||
2014-10-13 Miroslav Franc <mfranc@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix "save breakpoints" for "catch" command.
|
||
* break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
|
||
newline.
|
||
|
||
2014-10-12 Miroslav Franc <mfranc@redhat.com>
|
||
|
||
Fix "save breakpoints" for "disable $bpnum" command.
|
||
* breakpoint.c (save_breakpoints): Add $bpnum for disable.
|
||
|
||
2014-10-10 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
|
||
(ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
|
||
(HFILES_NO_SRCDIR): Remove solib-irix.h.
|
||
* NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
|
||
and been removed.
|
||
* config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
|
||
* configure.ac: Remove references to IRIX.
|
||
* configure.host: Add *-*-irix* to the obsolete hosts section.
|
||
Remove all other references to irix.
|
||
* irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
|
||
Delete files.
|
||
|
||
2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
|
||
|
||
* microblaze-tdep.c (microblaze_gdbarch_init): If the description
|
||
isn't valid, release the tdesc arch data and return NULL.
|
||
|
||
2014-10-10 Pedro Alves <palves@redhat.com>
|
||
|
||
* linux-tdep.c: Include observer.h.
|
||
(linux_inferior_data): New global.
|
||
(struct linux_info): New structure.
|
||
(invalidate_linux_cache_inf, linux_inferior_data_cleanup)
|
||
(get_linux_inferior_data): New functions.
|
||
(linux_vsyscall_range): Rename to ...
|
||
(linux_vsyscall_range_raw): ... this.
|
||
(linux_vsyscall_range): New function; handles caching.
|
||
(_initialize_linux_tdep): Register linux_inferior_data. Install
|
||
inferior_exit and inferior_appeared observers.
|
||
|
||
2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
Pedro Alves <palves@redhat.com>
|
||
|
||
PR symtab/14466
|
||
* solib-svr4.c (svr4_read_so_list): Rename to ...
|
||
(svr4_current_sos_1): ... this and change the function comment.
|
||
(svr4_current_sos): New function.
|
||
|
||
2014-10-10 Pedro Alves <palves@redhat.com>
|
||
|
||
* arch-utils.c (default_vsyscall_range): New function.
|
||
* arch-utils.h (default_vsyscall_range): New declaration.
|
||
* gdbarch.sh (vsyscall_range): New hook.
|
||
* gdbarch.h, gdbarch.c: Regenerate.
|
||
* linux-tdep.c (linux_vsyscall_range): New function.
|
||
(linux_init_abi): Install linux_vsyscall_range as
|
||
vsyscall_range gdbarch hook.
|
||
* memrange.c (address_in_mem_range): New function.
|
||
* memrange.h (address_in_mem_range): New declaration.
|
||
* symfile-mem.c (find_vdso_size): Delete function.
|
||
(add_vsyscall_page): Use gdbarch_vsyscall_range.
|
||
|
||
2014-10-10 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (normal_stop): Fix typo in comment.
|
||
|
||
2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR tdep/9390
|
||
* xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
|
||
typo when using logical AND to determine instruction type.
|
||
|
||
2014-10-09 Yao Qi <yao@codesourcery.com>
|
||
|
||
* infrun.c (handle_signal_stop): Remove local variable
|
||
'printed'.
|
||
|
||
2014-10-08 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
|
||
|
||
2014-10-08 Gary Benson <gbenson@redhat.com>
|
||
|
||
* fbsd-tdep.c: Do not include string.h or gdb_assert.h.
|
||
|
||
2014-10-08 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include common-exceptions.h.
|
||
* exceptions.h: Do not include common-exceptions.h.
|
||
|
||
2014-10-08 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include cleanups.h.
|
||
* common/common-exceptions.c: Do not include cleanups.h.
|
||
* utils.h: Likewise.
|
||
|
||
2014-10-08 Gary Benson <gbenson@redhat.com>
|
||
|
||
* ada-lang.c: Do not include exceptions.h.
|
||
* ada-valprint.c: Likewise.
|
||
* amd64-tdep.c: Likewise.
|
||
* auto-load.c: Likewise.
|
||
* block.c: Likewise.
|
||
* break-catch-throw.c: Likewise.
|
||
* breakpoint.c: Likewise.
|
||
* btrace.c: Likewise.
|
||
* c-lang.c: Likewise.
|
||
* cli/cli-cmds.c: Likewise.
|
||
* cli/cli-interp.c: Likewise.
|
||
* cli/cli-script.c: Likewise.
|
||
* completer.c: Likewise.
|
||
* corefile.c: Likewise.
|
||
* corelow.c: Likewise.
|
||
* cp-abi.c: Likewise.
|
||
* cp-support.c: Likewise.
|
||
* cp-valprint.c: Likewise.
|
||
* darwin-nat.c: Likewise.
|
||
* dwarf2-frame-tailcall.c: Likewise.
|
||
* dwarf2-frame.c: Likewise.
|
||
* dwarf2loc.c: Likewise.
|
||
* dwarf2read.c: Likewise.
|
||
* eval.c: Likewise.
|
||
* event-loop.c: Likewise.
|
||
* event-top.c: Likewise.
|
||
* f-valprint.c: Likewise.
|
||
* frame-unwind.c: Likewise.
|
||
* frame.c: Likewise.
|
||
* gdbtypes.c: Likewise.
|
||
* gnu-v2-abi.c: Likewise.
|
||
* gnu-v3-abi.c: Likewise.
|
||
* guile/scm-auto-load.c: Likewise.
|
||
* guile/scm-breakpoint.c: Likewise.
|
||
* guile/scm-cmd.c: Likewise.
|
||
* guile/scm-frame.c: Likewise.
|
||
* guile/scm-lazy-string.c: Likewise.
|
||
* guile/scm-param.c: Likewise.
|
||
* guile/scm-symbol.c: Likewise.
|
||
* guile/scm-type.c: Likewise.
|
||
* hppa-hpux-tdep.c: Likewise.
|
||
* i386-tdep.c: Likewise.
|
||
* inf-loop.c: Likewise.
|
||
* infcall.c: Likewise.
|
||
* infcmd.c: Likewise.
|
||
* infrun.c: Likewise.
|
||
* interps.c: Likewise.
|
||
* interps.h: Likewise.
|
||
* jit.c: Likewise.
|
||
* linespec.c: Likewise.
|
||
* linux-nat.c: Likewise.
|
||
* linux-thread-db.c: Likewise.
|
||
* m32r-rom.c: Likewise.
|
||
* main.c: Likewise.
|
||
* memory-map.c: Likewise.
|
||
* mi/mi-cmd-break.c: Likewise.
|
||
* mi/mi-cmd-stack.c: Likewise.
|
||
* mi/mi-interp.c: Likewise.
|
||
* mi/mi-main.c: Likewise.
|
||
* monitor.c: Likewise.
|
||
* nto-procfs.c: Likewise.
|
||
* objc-lang.c: Likewise.
|
||
* p-valprint.c: Likewise.
|
||
* parse.c: Likewise.
|
||
* ppc-linux-tdep.c: Likewise.
|
||
* printcmd.c: Likewise.
|
||
* probe.c: Likewise.
|
||
* python/py-auto-load.c: Likewise.
|
||
* python/py-breakpoint.c: Likewise.
|
||
* python/py-cmd.c: Likewise.
|
||
* python/py-finishbreakpoint.c: Likewise.
|
||
* python/py-frame.c: Likewise.
|
||
* python/py-framefilter.c: Likewise.
|
||
* python/py-function.c: Likewise.
|
||
* python/py-gdb-readline.c: Likewise.
|
||
* python/py-inferior.c: Likewise.
|
||
* python/py-infthread.c: Likewise.
|
||
* python/py-lazy-string.c: Likewise.
|
||
* python/py-linetable.c: Likewise.
|
||
* python/py-param.c: Likewise.
|
||
* python/py-prettyprint.c: Likewise.
|
||
* python/py-symbol.c: Likewise.
|
||
* python/py-type.c: Likewise.
|
||
* python/py-value.c: Likewise.
|
||
* python/python-internal.h: Likewise.
|
||
* python/python.c: Likewise.
|
||
* record-btrace.c: Likewise.
|
||
* record-full.c: Likewise.
|
||
* regcache.c: Likewise.
|
||
* remote-fileio.c: Likewise.
|
||
* remote-mips.c: Likewise.
|
||
* remote.c: Likewise.
|
||
* rs6000-aix-tdep.c: Likewise.
|
||
* rs6000-nat.c: Likewise.
|
||
* skip.c: Likewise.
|
||
* solib-darwin.c: Likewise.
|
||
* solib-dsbt.c: Likewise.
|
||
* solib-frv.c: Likewise.
|
||
* solib-ia64-hpux.c: Likewise.
|
||
* solib-spu.c: Likewise.
|
||
* solib-svr4.c: Likewise.
|
||
* solib.c: Likewise.
|
||
* spu-tdep.c: Likewise.
|
||
* stack.c: Likewise.
|
||
* stap-probe.c: Likewise.
|
||
* symfile-mem.c: Likewise.
|
||
* symmisc.c: Likewise.
|
||
* target.c: Likewise.
|
||
* thread.c: Likewise.
|
||
* top.c: Likewise.
|
||
* tracepoint.c: Likewise.
|
||
* tui/tui-interp.c: Likewise.
|
||
* typeprint.c: Likewise.
|
||
* utils.c: Likewise.
|
||
* valarith.c: Likewise.
|
||
* valops.c: Likewise.
|
||
* valprint.c: Likewise.
|
||
* value.c: Likewise.
|
||
* varobj.c: Likewise.
|
||
* windows-nat.c: Likewise.
|
||
* xml-support.c: Likewise.
|
||
|
||
2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.c (add_offset_16): Rewrite to implement what the
|
||
name implies.
|
||
(extended_mips16_next_pc): Update accordingly.
|
||
|
||
2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.c (mips16_instruction_is_compact_branch): New
|
||
function.
|
||
(micromips_instruction_is_compact_branch): Likewise.
|
||
(mips16_scan_prologue): Terminate scanning upon seeing a branch
|
||
or a compact jump, reaching a jump delay slot, or seeing a
|
||
second non-prologue instruction.
|
||
(micromips_scan_prologue): Also terminate scanning upon seeing a
|
||
compact branch or jump, or reaching a branch or jump delay slot.
|
||
(mips32_scan_prologue): Terminate scanning upon reaching a branch
|
||
or jump delay slot, or seeing a second non-prologue instruction.
|
||
(mips32_instruction_has_delay_slot): Retain instruction
|
||
examination code only, update arguments accordingly and move
|
||
instruction fetch pieces to...
|
||
(mips32_insn_at_pc_has_delay_slot): ... this new function.
|
||
(micromips_instruction_has_delay_slot): Likewise and to...
|
||
(micromips_insn_at_pc_has_delay_slot): ... this new function.
|
||
(mips16_instruction_has_delay_slot): Likewise and to...
|
||
(mips16_insn_at_pc_has_delay_slot): ... this new function.
|
||
(mips_single_step_through_delay): Update accordingly.
|
||
(mips_adjust_breakpoint_address): Likewise.
|
||
|
||
2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.c (micromips_instruction_has_delay_slot): When
|
||
!mustbe32 also return 1 for 32-bit instructions.
|
||
(mips16_instruction_has_delay_slot): Likewise. Add an
|
||
explanatory comment.
|
||
|
||
2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* elfread.c (elf_symtab_read): Also mark solib trampoline minimal
|
||
symbols special.
|
||
|
||
2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* breakpoint.h (bp_target_info): Add `reqstd_address' member,
|
||
update comments.
|
||
* breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
|
||
for the breakpoint's address. Don't preinitialize `placed_size'.
|
||
(insert_bp_location): Set `reqstd_address' rather than
|
||
`placed_address'.
|
||
(bp_target_info_copy_insertion_state): Also copy `placed_address'.
|
||
(bkpt_insert_location): Use `reqstd_address' for the breakpoint's
|
||
address.
|
||
(bkpt_remove_location): Likewise.
|
||
(deprecated_insert_raw_breakpoint): Likewise.
|
||
(deprecated_remove_raw_breakpoint): Likewise.
|
||
(find_single_step_breakpoint): Likewise.
|
||
* mem-break.c (default_memory_insert_breakpoint): Use
|
||
`reqstd_address' for the breakpoint's address. Don't set
|
||
`placed_address' or `placed_size' if breakpoint contents couldn't
|
||
have been determined.
|
||
* remote.c (remote_insert_breakpoint): Use `reqstd_address' for
|
||
the breakpoint's address.
|
||
(remote_insert_hw_breakpoint): Likewise. Don't set
|
||
`placed_address' or `placed_size' if breakpoint couldn't have been
|
||
set.
|
||
* aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
|
||
`reqstd_address' for the breakpoint's address.
|
||
* arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
|
||
* ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
|
||
* m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
|
||
* microblaze-linux-tdep.c
|
||
(microblaze_linux_memory_remove_breakpoint): Likewise.
|
||
* monitor.c (monitor_insert_breakpoint): Likewise.
|
||
* nto-procfs.c (procfs_insert_breakpoint): Likewise.
|
||
(procfs_insert_hw_breakpoint): Likewise.
|
||
* ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
|
||
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
|
||
* remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
|
||
* remote-mips.c (mips_insert_breakpoint): Likewise.
|
||
* x86-nat.c (x86_insert_hw_breakpoint): Likewise.
|
||
|
||
2014-10-03 Luis Machado <lgustavo@codesourcery.com>
|
||
|
||
* valops.c (value_assign): Check for bit field assignments
|
||
before calling architecture-specific register value
|
||
conversion functions.
|
||
|
||
2014-10-03 Pierre Muller <muller@sourceware.org>
|
||
|
||
* dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
|
||
|
||
2014-10-02 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (breakpoints_should_be_inserted_now): Use
|
||
threads_are_executing.
|
||
* breakpoint.h (breakpoints_should_be_inserted_now): Add
|
||
describing comment.
|
||
* gdbthread.h (threads_are_executing): Declare.
|
||
(handle_signal_stop) <random signals>: Don't print about the
|
||
signal here if stopping.
|
||
(end_stepping_range): Don't notify observers here.
|
||
(normal_stop): Update the thread list. If stopped by a random
|
||
signal or a stepping range ended, notify observers.
|
||
* thread.c (threads_executing): New global.
|
||
(init_thread_list): Clear 'threads_executing'.
|
||
(set_executing): Set or clear 'threads_executing'.
|
||
(threads_are_executing): New function.
|
||
(update_threads_executing): New function.
|
||
(update_thread_list): Use it.
|
||
|
||
2014-10-02 Pedro Alves <palves@redhat.com>
|
||
|
||
PR breakpoints/17431
|
||
* breakpoint.c (update_breakpoints_after_exec): Don't create
|
||
overlay, longjmp, std terminate nor exception breakpoints here.
|
||
|
||
2014-10-02 Pedro Alves <palves@redhat.com>
|
||
|
||
* gdbthread.h (any_thread_of_process, any_live_thread_of_process):
|
||
Adjust comments.
|
||
* inferior.c (find_inferior_for_program_space): Give preference to
|
||
the current inferior.
|
||
* inferior.h (find_inferior_for_program_space): Update comment.
|
||
* progspace.c (switch_to_program_space_and_thread): Prefer the
|
||
current inferior if it's bound to the program space requested. If
|
||
the inferior found doesn't have a PID yet, don't bother looking up
|
||
a thread.
|
||
* progspace.h (switch_to_program_space_and_thread): Adjust
|
||
comment.
|
||
* thread.c (any_thread_of_process, any_live_thread_of_process):
|
||
Give preference to the current thread.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (insert_bp_location): Error out if inserting a
|
||
software breakpoint at a read-only address.
|
||
* target.c (memory_xfer_check_region): New function, factored out
|
||
from ...
|
||
(memory_xfer_partial_1): ... this. Make the 'reg_len' local a
|
||
ULONGEST.
|
||
(target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
|
||
against the memory region attributes.
|
||
|
||
2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* NEWS: Announce new exit-code field in -list-thread-groups
|
||
output.
|
||
* inferior.c (exit_inferior_1): Don't clear exit code.
|
||
(inferior_appeared): Clear exit code.
|
||
* mi/mi-main.c (print_one_inferior): Add printing of the exit
|
||
code.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
|
||
GENERATED" along with emacs/vi read-only markers.
|
||
* regformats/aarch64.dat: Regenerate.
|
||
* regformats/arm-with-iwmmxt.dat: Regenerate.
|
||
* regformats/arm-with-neon.dat: Regenerate.
|
||
* regformats/arm-with-vfpv2.dat: Regenerate.
|
||
* regformats/arm-with-vfpv3.dat: Regenerate.
|
||
* regformats/i386/amd64-avx-linux.dat: Regenerate.
|
||
* regformats/i386/amd64-avx.dat: Regenerate.
|
||
* regformats/i386/amd64-avx512-linux.dat: Regenerate.
|
||
* regformats/i386/amd64-avx512.dat: Regenerate.
|
||
* regformats/i386/amd64-linux.dat: Regenerate.
|
||
* regformats/i386/amd64-mpx-linux.dat: Regenerate.
|
||
* regformats/i386/amd64-mpx.dat: Regenerate.
|
||
* regformats/i386/amd64.dat: Regenerate.
|
||
* regformats/i386/i386-avx-linux.dat: Regenerate.
|
||
* regformats/i386/i386-avx.dat: Regenerate.
|
||
* regformats/i386/i386-avx512-linux.dat: Regenerate.
|
||
* regformats/i386/i386-avx512.dat: Regenerate.
|
||
* regformats/i386/i386-linux.dat: Regenerate.
|
||
* regformats/i386/i386-mmx-linux.dat: Regenerate.
|
||
* regformats/i386/i386-mmx.dat: Regenerate.
|
||
* regformats/i386/i386-mpx-linux.dat: Regenerate.
|
||
* regformats/i386/i386-mpx.dat: Regenerate.
|
||
* regformats/i386/i386.dat: Regenerate.
|
||
* regformats/i386/x32-avx-linux.dat: Regenerate.
|
||
* regformats/i386/x32-avx.dat: Regenerate.
|
||
* regformats/i386/x32-avx512-linux.dat: Regenerate.
|
||
* regformats/i386/x32-avx512.dat: Regenerate.
|
||
* regformats/i386/x32-linux.dat: Regenerate.
|
||
* regformats/i386/x32.dat: Regenerate.
|
||
* regformats/microblaze-with-stack-protect.dat: Regenerate.
|
||
* regformats/mips-dsp-linux.dat: Regenerate.
|
||
* regformats/mips-linux.dat: Regenerate.
|
||
* regformats/mips64-dsp-linux.dat: Regenerate.
|
||
* regformats/mips64-linux.dat: Regenerate.
|
||
* regformats/nios2-linux.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-32.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-32l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-64l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-cell32l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-cell64l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-e500l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
|
||
* regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
|
||
* regformats/s390-linux32.dat: Regenerate.
|
||
* regformats/s390-linux32v1.dat: Regenerate.
|
||
* regformats/s390-linux32v2.dat: Regenerate.
|
||
* regformats/s390-linux64.dat: Regenerate.
|
||
* regformats/s390-linux64v1.dat: Regenerate.
|
||
* regformats/s390-linux64v2.dat: Regenerate.
|
||
* regformats/s390-te-linux64.dat: Regenerate.
|
||
* regformats/s390x-linux64.dat: Regenerate.
|
||
* regformats/s390x-linux64v1.dat: Regenerate.
|
||
* regformats/s390x-linux64v2.dat: Regenerate.
|
||
* regformats/s390x-te-linux64.dat: Regenerate.
|
||
* regformats/tic6x-c62x-linux.dat: Regenerate.
|
||
* regformats/tic6x-c62x.dat: Regenerate.
|
||
* regformats/tic6x-c64x-linux.dat: Regenerate.
|
||
* regformats/tic6x-c64x.dat: Regenerate.
|
||
* regformats/tic6x-c64xp-linux.dat: Regenerate.
|
||
* regformats/tic6x-c64xp.dat: Regenerate.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/Makefile: Update comments.
|
||
(XMLTOC): List all xml files we build C files from.
|
||
(clean-cfiles): New rule.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/i386/amd64-avx512-linux.c: Regenerate.
|
||
* features/i386/amd64-avx512.c: Regenerate.
|
||
* features/i386/x32-avx512-linux.c: Regenerate.
|
||
* features/i386/x32-avx512.c: Regenerate.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/Makefile (WHICH): Remove arm-with-m,
|
||
arm-with-m-fpa-layout and arm-with-m-vfp-d16.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/Makefile (clean): New rule.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
|
||
(zmm14h): Add missing end quotes.
|
||
|
||
2014-10-01 Pedro Alves <palves@redhat.com>
|
||
|
||
* features/aarch64-core.xml (cpsr): Change back to 32-bit.
|
||
* features/aarch64.c: Regenerate.
|
||
|
||
2014-09-30 Don Breazeal <donb@codesourcery.com>
|
||
|
||
* inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
|
||
code so as to work with follow_fork_inferior.
|
||
* inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
|
||
(inf_ttrace_create_inferior): Remove reference to
|
||
inf_ttrace_vfork_ppid.
|
||
(inf_ttrace_attach): Ditto.
|
||
(inf_ttrace_detach): Ditto.
|
||
(inf_ttrace_kill): Use current_inferior instead of
|
||
inf_ttrace_vfork_ppid.
|
||
(inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
|
||
TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
|
||
inferior away from the parent.
|
||
* infrun.c (follow_fork): Call follow_fork_inferior instead of
|
||
target_follow_fork.
|
||
(follow_fork_inferior): New function.
|
||
(follow_inferior_reset_breakpoints): Make function static.
|
||
* infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
|
||
* linux-nat.c (linux_child_follow_fork): Move target-independent
|
||
code to infrun.c:follow_fork_inferior.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* gdbarch.sh (regset_from_core_section): Remove gdbarch method.
|
||
* gdbarch.c: Regenerate.
|
||
* gdbarch.h: Likewise.
|
||
* corelow.c (sniff_core_bfd): Drop presence check for deleted
|
||
gdbarch method 'regset_from_core_section'.
|
||
(get_core_register_section): Remove handling for the case that
|
||
regset == NULL and regset_from_core_section is defined.
|
||
(get_core_registers): Drop check for deleted method.
|
||
* procfs.c (procfs_do_thread_registers): Adjust comment.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* linux-nat.c (linux_nat_collect_thread_registers): Remove.
|
||
(linux_nat_make_corefile_notes): Remove.
|
||
(linux_target_install_ops): Do not set target method
|
||
'make_corefile_notes'.
|
||
* linux-tdep.c (struct linux_corefile_thread_data)<collect>:
|
||
Remove field.
|
||
(linux_corefile_thread_callback): Instead of args->collect, call
|
||
linux_collect_thread_registers.
|
||
(linux_make_corefile_notes): Remove 'collect' parameter. Return
|
||
NULL unless there is a regset iterator.
|
||
(linux_make_corefile_notes_1): Remove.
|
||
(linux_init_abi): Replace reference to linux_make_corefile_notes_1
|
||
by linux_make_corefile_notes.
|
||
* linux-tdep.h (linux_make_corefile_notes): Remove prototype.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* fbsd-nat.c (find_signalled_thread, find_stop_signal)
|
||
(fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
|
||
Remove.
|
||
* fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
|
||
(xtensa_iterate_over_regset_sections): New.
|
||
(xtensa_gdbarch_init): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* vax-tdep.c (vax_regset_from_core_section): Remove.
|
||
(vax_iterate_over_regset_sections): New.
|
||
(vax_gdbarch_init): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
|
||
(tilegx_regset_from_core_section): Remove.
|
||
(tilegx_iterate_over_regset_sections): New.
|
||
(tilegx_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* sparc-tdep.c (sparc_regset_from_core_section): Remove.
|
||
(sparc_iterate_over_regset_sections): New.
|
||
(sparc32_gdbarch_init): Adjust gdbarch initialization.
|
||
* configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
|
||
targets.
|
||
* sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
|
||
(sparc64fbsd_init_abi): Call fbsd_init_abi.
|
||
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
|
||
target method 'make_corefile_notes'.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
|
||
'sizeof_gregset' and 'sizeof_fpregset'.
|
||
* sh-tdep.c (sh_regset_from_core_section): Remove.
|
||
(sh_iterate_over_regset_sections): New.
|
||
(sh_gdbarch_init): Adjust gdbarch initialization.
|
||
* sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
|
||
sizeof_fpregset.
|
||
* shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
|
||
'sizeof_gregset'.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* score-tdep.c (score7_linux_regset_from_core_section): Remove.
|
||
(score7_linux_iterate_over_regset_sections): New.
|
||
(score_gdbarch_init): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
|
||
FreeBSD targets.
|
||
* ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
|
||
method 'make_corefile_notes'.
|
||
* ppcfbsd-tdep.c (fbsd-tdep.h): Include.
|
||
(ppcfbsd_regset_from_core_section): Remove.
|
||
(ppcfbsd_iterate_over_regset_sections): New.
|
||
(ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
|
||
initialization.
|
||
* ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
|
||
(ppcnbsd_iterate_over_regset_sections): New.
|
||
(ppcnbsd_init_abi): Adjust.
|
||
* ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
|
||
(ppcobsd_iterate_over_regset_sections): New.
|
||
(ppcobsd_init_abi): Adjust.
|
||
* rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
|
||
(rs6000_aix_iterate_over_regset_sections): New.
|
||
(rs6000_aix_init_osabi): Adjust.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
|
||
(nios2_regset_from_core_section): Remove.
|
||
(nios2_iterate_over_regset_sections): New.
|
||
(nios2_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
|
||
(am33_iterate_over_regset_sections): New.
|
||
(am33_linux_init_osabi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
|
||
(mips_linux_iterate_over_regset_sections): New.
|
||
(mips_linux_init_abi): Adjust gdbarch initialization.
|
||
* mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
|
||
(mips64obsd_iterate_over_regset_sections): New.
|
||
(mips64obsd_init_abi): Adjust.
|
||
* mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
|
||
(mipsnbsd_iterate_over_regset_sections): New.
|
||
(mipsnbsd_init_abi): Adjust.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* m88k-tdep.c (m88k_regset_from_core_section): Remove.
|
||
(m88k_iterate_over_regset_sections): New.
|
||
(m88k_gdbarch_init): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
|
||
(ia64_linux_iterate_over_regset_sections): New.
|
||
(ia64_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
|
||
(m68kbsd_iterate_over_regset_sections): New.
|
||
(m68kbsd_init_abi): Adjust gdbarch initialization.
|
||
* m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
|
||
(m68k_linux_iterate_over_regset_sections): New.
|
||
(m68k_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
|
||
(m32r_linux_regset_from_core_section): Remove.
|
||
(m32r_linux_iterate_over_regset_sections): New.
|
||
(m32r_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
|
||
(amd64obsd_iterate_over_regset_sections): New.
|
||
(amd64obsd_core_init_abi): Adjust gdbarch initialization.
|
||
* i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
|
||
Remove.
|
||
(i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
|
||
regset_from_core_section initialization.
|
||
* i386-tdep.c (i386_regset_from_core_section): Remove.
|
||
(i386_iterate_over_regset_sections): New.
|
||
(i386_gdbarch_init): Adjust gdbarch initialization.
|
||
* i386-tdep.h (i386_regset_from_core_section): Remove prototype.
|
||
(i386_iterate_over_regset_sections): New prototype.
|
||
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
|
||
Remove.
|
||
(i386obsd_aout_iterate_over_regset_sections): New.
|
||
(i386obsd_aout_init_abi): Adjust gdbarch initialization.
|
||
* configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
|
||
targets.
|
||
* amd64fbsd-tdep.c (fbsd-tdep.h): Include.
|
||
(amd64fbsd_init_abi): Call fbsd_init_abi.
|
||
* i386fbsd-tdep.c (fbsd-tdep.h): Include.
|
||
(i386fbsd4_init_abi): Call fbsd_init_abi.
|
||
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
|
||
target method 'make_corefile_notes'.
|
||
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
|
||
(hppa_hpux_iterate_over_regset_sections): New.
|
||
(hppa_hpux_init_abi): Adjust gdbarch initialization.
|
||
* hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
|
||
(hppa_linux_iterate_over_regset_sections): New.
|
||
(hppa_linux_init_abi): Adjust.
|
||
* hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
|
||
(hppanbsd_iterate_over_regset_sections): New.
|
||
(hppanbsd_init_abi): Adjust.
|
||
* hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
|
||
(hppaobsd_iterate_over_regset_sections): New.
|
||
(hppaobsd_init_abi): Adjust.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
|
||
(frv_linux_iterate_over_regset_sections): New.
|
||
(frv_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
|
||
(armbsd_iterate_over_regset_sections): New prototype.
|
||
* armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
|
||
(armbsd_iterate_over_regset_sections): New.
|
||
* armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
|
||
initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
|
||
(alpha_linux_iterate_over_regset_sections): New.
|
||
(alpha_linux_init_abi): Adjust gdbarch initialization.
|
||
* alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
|
||
prototype.
|
||
(alphanbsd_iterate_over_regset_sections): New prototype.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
|
||
Remove.
|
||
(aarch64_linux_iterate_over_regset_sections): New.
|
||
(aarch64_linux_init_abi): Adjust gdbarch initialization.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* fbsd-tdep.c: New file.
|
||
* fbsd-tdep.h: New file.
|
||
* Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
|
||
(HFILES_NO_SRCDIR): Add fbsd-tdep.h.
|
||
(ALLDEPFILES): Add fbsd-tdep.c.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* gdbarch.sh (iterate_over_regset_sections_cb): Add regset
|
||
parameter.
|
||
* gdbarch.h: Regenerate.
|
||
* corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
|
||
iterator.
|
||
(get_core_register_section): Add parameter 'regset' and use it, if
|
||
set. Add parameter 'min_size' and verify the bfd section size
|
||
against it.
|
||
(get_core_registers_cb): Add parameter 'regset' and pass it to
|
||
get_core_register section. For the "standard" register sections
|
||
".reg" and ".reg2", set an appropriate default for human_name.
|
||
(get_core_registers): Don't abort when the gdbarch has an iterator
|
||
but no regset_from_core_section. Add NULL/0 for parameters
|
||
'regset'/'min_size' in calls to get_core_register_section.
|
||
* linux-tdep.c (linux_collect_regset_section_cb): Add parameter
|
||
'regset' and use it instead of calling the
|
||
regset_from_core_section gdbarch method.
|
||
* i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
|
||
* i386-tdep.c (i386_supply_xstateregset)
|
||
(i386_collect_xstateregset, i386_xstateregset): Moved to
|
||
i386-linux-tdep.c.
|
||
(i386_regset_from_core_section): Drop handling for .reg-xfp and
|
||
.reg-xstate.
|
||
(i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
|
||
core file support only if the regset iterator hasn't been set.
|
||
* i386-linux-tdep.c (i386_linux_supply_xstateregset)
|
||
(i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
|
||
Moved from i386-tdep.c and renamed to *_linux*.
|
||
(i386_linux_iterate_over_regset_sections): Add regset parameter to
|
||
each callback invocation. Allow any .reg-xstate size when reading
|
||
from a core file.
|
||
* amd64-tdep.c (amd64_supply_xstateregset)
|
||
(amd64_collect_xstateregset, amd64_xstateregset): Moved to
|
||
amd64-linux-tdep.c.
|
||
(amd64_regset_from_core_section): Remove.
|
||
(amd64_init_abi): Set new tdep field 'fpregset'. No longer
|
||
install an amd64-specific regset_from_core_section gdbarch method.
|
||
* amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
|
||
(amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
|
||
Moved from amd64-tdep.c and renamed to *_linux*.
|
||
(amd64_linux_iterate_over_regset_sections): Add regset parameter
|
||
to each callback invocation. Allow any .reg-xstate size when
|
||
reading from a core file.
|
||
* arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
|
||
(arm_linux_iterate_over_regset_sections): Add regset parameter to
|
||
each callback invocation.
|
||
(arm_linux_init_abi): No longer set the regset_from_core_section
|
||
gdbarch method.
|
||
* ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
|
||
(ppc_linux_iterate_over_regset_sections): Add regset parameter to
|
||
each callback invocation.
|
||
(ppc_linux_init_abi): No longer set the regset_from_core_section
|
||
gdbarch method.
|
||
* s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
|
||
gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
|
||
(s390_regset_from_core_section): Remove.
|
||
(s390_iterate_over_regset_sections): Add regset parameter to each
|
||
callback invocation.
|
||
(s390_gdbarch_init): No longer set the regset_from_core_section
|
||
gdbarch method. Drop initialization of deleted tdep fields.
|
||
|
||
2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
|
||
(amd64_linux_iterate_over_regset_sections): New.
|
||
(amd64_linux_init_abi_common): Don't install the regset section
|
||
list, but the new iterator in gdbarch.
|
||
* arm-linux-tdep.c (arm_linux_fpa_regset_sections)
|
||
(arm_linux_vfp_regset_sections): Remove. Move combined logic...
|
||
(arm_linux_iterate_over_regset_sections): ...here. New function.
|
||
(arm_linux_init_abi): Set iterator instead of section list.
|
||
* corelow.c (get_core_registers_cb): New function, logic moved
|
||
from...
|
||
(get_core_registers): ...loop body here. Use new iterator method
|
||
instead of walking through the regset section list.
|
||
* gdbarch.sh: Remove 'core_regset_sections'. New method
|
||
'iterate_over_regset_sections'. New typedef
|
||
'iterate_over_regset_sections_cb'.
|
||
* gdbarch.c: Regenerate.
|
||
* gdbarch.h: Likewise.
|
||
* i386-linux-tdep.c (i386_linux_regset_sections)
|
||
(i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
|
||
Remove.
|
||
(i386_linux_iterate_over_regset_sections): New.
|
||
(i386_linux_init_abi): Don't choose a regset section list, but
|
||
install new iterator in gdbarch.
|
||
* linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
|
||
(linux_collect_regset_section_cb): New function, logic moved
|
||
from...
|
||
(linux_collect_thread_registers): ...loop body here. Use iterator
|
||
method instead of walking through list.
|
||
(linux_make_corefile_notes_1): Check for presence of iterator
|
||
method instead of regset section list.
|
||
* ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
|
||
(ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
|
||
(ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
|
||
(ppc64_linux_fp_regset_sections): Remove. Move combined logic...
|
||
(ppc_linux_iterate_over_regset_sections): ...here. New function.
|
||
(ppc_linux_init_abi): Don't choose from above regset section
|
||
lists, but install new iterator in gdbarch.
|
||
* regset.h (struct core_regset_section): Remove.
|
||
* s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
|
||
have_linux_v1, have_linux_v2, and have_tdb.
|
||
(s390_linux32_regset_sections, s390_linux32v1_regset_sections)
|
||
(s390_linux32v2_regset_sections, s390_linux64_regset_sections)
|
||
(s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
|
||
(s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
|
||
(s390x_linux64v2_regset_sections): Remove. Move combined logic...
|
||
(s390_iterate_over_regset_sections): ...here. New function. Use
|
||
new tdep fields.
|
||
(s390_gdbarch_init): Set new tdep fields. Don't choose from above
|
||
regset section lists, but install new iterator.
|
||
|
||
2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
|
||
|
||
2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* progspace.c (print_program_space): Don't prune program spaces
|
||
before printing them.
|
||
|
||
2014-09-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (user_visible_resume_ptid): Don't check
|
||
singlestep_breakpoints_inserted_p.
|
||
|
||
2014-09-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (should_be_inserted): Add debug output.
|
||
|
||
2014-09-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (stepping_past_instruction_at)
|
||
(clear_exit_convenience_vars): Point at infrun.h instead of
|
||
inferior.h.
|
||
(handle_signal_stop): Fix typo.
|
||
|
||
2014-09-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
|
||
bitmask.
|
||
|
||
2014-09-22 Gary Benson <gbenson@redhat.com>
|
||
|
||
* target.c (target_stop): Updated comment.
|
||
|
||
2014-09-22 Gary Benson <gbenson@redhat.com>
|
||
|
||
* target/target.h (target_stop_ptid): Renamed as...
|
||
(target_stop_and_wait): New function. Updated comment.
|
||
All uses updated.
|
||
(target_continue_ptid): Renamed as...
|
||
(target_continue_no_signal): New function. Updated comment.
|
||
All uses updated.
|
||
|
||
2014-09-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* NEWS: Mention merge of "breakpoint always-inserted" modes "off"
|
||
and "auto" merged.
|
||
* breakpoint.c (enum ugll_insert_mode): New enum.
|
||
(always_inserted_mode): Now a plain boolean.
|
||
(show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
|
||
(breakpoints_always_inserted_mode): Delete.
|
||
(breakpoints_should_be_inserted_now): New function.
|
||
(insert_breakpoints): Pass UGLL_INSERT to
|
||
update_global_location_list instead of calling
|
||
insert_breakpoint_locations manually.
|
||
(create_solib_event_breakpoint_1): New, factored out from ...
|
||
(create_solib_event_breakpoint): ... this.
|
||
(create_and_insert_solib_event_breakpoint): Use
|
||
create_solib_event_breakpoint_1 instead of calling
|
||
insert_breakpoint_locations manually.
|
||
(update_global_location_list): Change parameter type from boolean
|
||
to enum ugll_insert_mode. All callers adjusted. Adjust to use
|
||
breakpoints_should_be_inserted_now and handle UGLL_INSERT.
|
||
(update_global_location_list_nothrow): Change parameter type from
|
||
boolean to enum ugll_insert_mode.
|
||
(_initialize_breakpoint): "breakpoint always-inserted" option is
|
||
now a boolean command. Update help text.
|
||
* breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
|
||
(breakpoints_should_be_inserted_now): New declaration.
|
||
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
|
||
Remove breakpoints_always_inserted_mode check.
|
||
(normal_stop): Adjust to use breakpoints_should_be_inserted_now.
|
||
* remote.c (remote_start_remote): Likewise.
|
||
|
||
2014-09-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
|
||
(insert_breakpoints): Don't call insert_breakpoint_locations here.
|
||
Instead, pass UGLL_INSERT to update_global_location_list.
|
||
(update_global_location_list): Change parameter type from boolean
|
||
to enum ugll_insert_mode. All callers adjusted. Adjust to use
|
||
breakpoints_should_be_inserted_now and handle UGLL_INSERT.
|
||
(create_solib_event_breakpoint_1): New, factored out from ...
|
||
(create_solib_event_breakpoint): ... this.
|
||
(create_and_insert_solib_event_breakpoint): Use
|
||
create_solib_event_breakpoint_1 instead of calling
|
||
insert_breakpoint_locations manually.
|
||
(update_global_location_list): Handle UGLL_INSERT.
|
||
|
||
2014-09-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (enum ugll_insert_mode): New enum.
|
||
(update_global_location_list)
|
||
(update_global_location_list_nothrow): Change parameter type from
|
||
boolean to enum ugll_insert_mode. All callers adjusted.
|
||
|
||
2014-09-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* MAINTAINERS: Add Sergio Durigan Junior as maintainer of
|
||
SystemTap support in GDB.
|
||
|
||
2014-09-19 Don Breazeal <donb@codesourcery.com>
|
||
|
||
* linux-nat.c (linux_handle_extended_wait): Call
|
||
linux_ptrace_get_extended_event.
|
||
(wait_lwp): Call linux_is_extended_waitstatus.
|
||
(linux_nat_filter_event): Call linux_ptrace_get_extended_event
|
||
and linux_is_extended_waitstatus.
|
||
* nat/linux-ptrace.c (linux_test_for_tracefork): Call
|
||
linux_ptrace_get_extended_event.
|
||
(linux_ptrace_get_extended_event): New function.
|
||
(linux_is_extended_waitstatus): New function.
|
||
* nat/linux-ptrace.h (linux_ptrace_get_extended_event)
|
||
(linux_is_extended_waitstatus): New declarations.
|
||
|
||
2014-09-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines): Update declaration.
|
||
(handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
|
||
comments. Callers update.
|
||
(dwarf_decode_lines): Likewise.
|
||
(dwarf_decode_lines_1): Add argument 'lowpc'. Update
|
||
comments. Skip the line table if 'lowpc' is greater than
|
||
'address'. Don't check
|
||
dwarf2_per_objfile->has_section_at_zero.
|
||
|
||
2014-09-18 Doug Evans <dje@google.com>
|
||
|
||
* NEWS: Mention new "producer" attribute of gdb.Symtab.
|
||
* python/py-symtab.c (stpy_get_producer): New function.
|
||
(symtab_object_getset): Add "producer" attribute.
|
||
|
||
2014-09-17 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
PR gdb/17384
|
||
* corefile.c (struct captured_read_memory_integer_arguments): Remove.
|
||
(do_captured_read_memory_integer): Remove.
|
||
(safe_read_memory_integer): Use target_read_memory directly instead
|
||
of catching errors in do_captured_read_memory_integer.
|
||
|
||
2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* CONTRIBUTE (Coding Standards): For internals refer to wiki,
|
||
not gdb/doc.
|
||
|
||
2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* objc-lang.c (find_implementation_from_class): Remove dead code.
|
||
|
||
2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR cli/7233
|
||
* linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
|
||
"fprintf_unfiltered (gdb_stdlog...)".
|
||
|
||
2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
PR breakpoints/12526
|
||
* breakpoint.h (struct watchpoint): New fields val_bitpos and
|
||
val_bitsize.
|
||
* breakpoint.c (watch_command_1): Use these fields to retain
|
||
bitfield information.
|
||
(extract_bitfield_from_watchpoint_value): New function.
|
||
(watchpoint_check): Use it.
|
||
(update_watchpoint): Use it. Optimize the address and length of a
|
||
HW watchpoint pointing to a bitfield.
|
||
* value.h (unpack_value_bitfield): New prototype.
|
||
* value.c (unpack_value_bitfield): Make extern.
|
||
|
||
2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||
|
||
* config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
|
||
x86-dregs.o.
|
||
* gnu-nat.c (inf_threads): New function.
|
||
* gnu-nat.h (inf_threads_ftype): New typedef.
|
||
(inf_threads): New declaration.
|
||
* i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
|
||
[i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
|
||
(i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
|
||
(i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
|
||
(i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
|
||
(i386_gnu_dr_get_control): New functions.
|
||
(reg_addr): New structure.
|
||
(_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
|
||
i386 debugging register hooks.
|
||
* NEWS: Mention this.
|
||
|
||
2014-08-13 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
|
||
vector data transfer instructions.
|
||
(arm_record_coproc_data_proc): Updated.
|
||
|
||
2014-08-13 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
|
||
arm_record_exreg_ld_st_insn.
|
||
(arm_record_exreg_ld_st_insn): Add record handler for ex-register
|
||
load/store insns.
|
||
|
||
2014-08-13 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (arm_record_coproc_data_proc): Updated.
|
||
(arm_record_vfp_data_proc_insn): Added record handler for VFP data
|
||
processing instructions.
|
||
|
||
2014-08-13 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
|
||
for advance SIMD struct ld/st insn.
|
||
(thumb2_record_decode_insn_handler): Replace stub handler with
|
||
thumb2_record_asimd_struct_ld_st.
|
||
|
||
2014-08-13 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
|
||
for asimd, vfp and coprocessor insns.
|
||
(arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
|
||
and coprocessor insns.
|
||
(thumb2_record_coproc_insn): New function.
|
||
(thumb2_record_decode_insn_handler): Update coprocessor insns record
|
||
handlers.
|
||
(decode_insn): Install arm_record_asimd_vfp_coproc as handler for
|
||
opcode 110 insns.
|
||
|
||
2014-09-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
* NEWS: Mention new "queue-signal" command.
|
||
* infcmd.c (queue_signal_command): New function.
|
||
(_initialize_infcmd): Add new queue-signal command.
|
||
|
||
2014-09-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
* linux-nat.c (wait_lwp): Add debugging printf.
|
||
(linux_nat_wait_1): Ditto.
|
||
|
||
2014-09-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
|
||
(create_and_insert_solib_event_breakpoint): New functions.
|
||
* breakpoint.h (create_and_insert_solib_event_breakpoint)
|
||
(remove_solib_event_breakpoints_at_next_stop): New declarations.
|
||
* procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
|
||
(remove_dbx_link_breakpoint): Delete function.
|
||
(insert_dbx_link_bpt_in_file): Use
|
||
create_and_insert_solib_event_breakpoint instead of
|
||
deprecated_insert_raw_breakpoint.
|
||
(procfs_wait): Don't check whether we hit __dbx_link here.
|
||
(procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
|
||
here.
|
||
* solib-irix.c (base_breakpoint): Delete global.
|
||
(disable_break): Delete function.
|
||
(enable_break): Use create_solib_event_breakpoint
|
||
instead of deprecated_insert_raw_breakpoint.
|
||
(irix_solib_handle_event): New function.
|
||
(irix_solib_create_inferior_hook): Don't run the target or disable
|
||
the mapping-complete breakpoint here.
|
||
(_initialize_irix_solib): Install irix_solib_handle_event as
|
||
so_ops->handle_event hook.
|
||
|
||
2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
||
Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
PR tdep/17379
|
||
* rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
|
||
instead of read_memory_unsigned_integer.
|
||
|
||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/linux-waitpid.c: Include common-defs.h.
|
||
[GDBSERVER]: Add FIXME comment.
|
||
[!GDBSERVER]: Don't include defs.h or signal.h.
|
||
(linux_debug) [!GDBSERVER]: Remove empty block.
|
||
|
||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/x86-dregs.c: Include common-defs.h and break-common.h.
|
||
Don't include defs.h or server.h.
|
||
|
||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/linux-btrace.c: Include common-defs.h.
|
||
Don't include defs.h, server.h or gdbthread.h.
|
||
* nat/linux-btrace.h (struct target_ops): New forward declaration.
|
||
|
||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/agent.c: Include common-defs.h.
|
||
Don't include defs.h or server.h.
|
||
* common/buffer.c: Likewise.
|
||
* common/common-debug.c: Likewise.
|
||
* common/common-utils.c: Likewise.
|
||
* common/errors.c: Likewise.
|
||
* common/filestuff.c: Likewise.
|
||
* common/format.c: Likewise.
|
||
* common/gdb_vecs.c: Likewise.
|
||
* common/print-utils.c: Likewise.
|
||
* common/ptid.c: Likewise.
|
||
* common/rsp-low.c: Likewise.
|
||
* common/signals.c: Likewise.
|
||
* common/vec.c: Likewise.
|
||
* common/xml-utils.c: Likewise.
|
||
* nat/linux-osdata.c: Likewise.
|
||
* nat/linux-procfs.c: Likewise.
|
||
* nat/linux-ptrace.c: Likewise.
|
||
* nat/mips-linux-watch.c: Likewise.
|
||
* target/waitstatus.c: Likewise.
|
||
|
||
2014-09-12 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-regcache.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
|
||
* regcache.h: Include common-regcache.h.
|
||
(regcache_read_pc): Don't declare.
|
||
* regcache.c (get_thread_regcache_for_ptid): New function.
|
||
* nat/linux-btrace.c: Don't include regcache.h.
|
||
Include common-regcache.h.
|
||
(perf_event_read_bts): Use get_thread_regcache_for_ptid.
|
||
|
||
2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
|
||
|
||
* regcache.h (struct regset): Declare.
|
||
|
||
2014-09-11 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17347
|
||
* main.c: Include "infrun.h".
|
||
(catch_command_errors, catch_command_errors_const): Wait for the
|
||
foreground command to complete.
|
||
* top.c (maybe_wait_sync_command_done): New function, factored out
|
||
from ...
|
||
(maybe_wait_sync_command_done): ... here.
|
||
* top.h (maybe_wait_sync_command_done): New declaration.
|
||
|
||
2014-09-11 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/symbol.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
|
||
* minsyms.c (find_minimal_symbol_address): New function.
|
||
* common/agent.c: Include common/symbol.h.
|
||
[!GDBSERVER]: Don't include objfiles.h.
|
||
(agent_look_up_symbols): Use find_minimal_symbol_address.
|
||
|
||
2014-09-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* target/target.h (target_stop_ptid, target_continue_ptid):
|
||
Declare.
|
||
* target.c (target_stop_ptid, target_continue_ptid): New
|
||
functions.
|
||
* common/agent.c [!GDBSERVER]: Don't include infrun.h.
|
||
(agent_run_command): Always use target_stop_ptid and
|
||
target_continue_ptid.
|
||
|
||
2014-09-11 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* target/target.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
|
||
* target.h: Include target/target.h.
|
||
(target_read_memory, target_write_memory): Don't declare.
|
||
* target.c (target_read_uint32): New function.
|
||
* common/agent.c: Include target/target.h.
|
||
[!GDBSERVER]: Don't include target.h.
|
||
(helper_thread_id): Type changed to uint32_t.
|
||
(agent_get_helper_thread_id): Use target_read_uint32.
|
||
(agent_run_command): Always use target_read_memory and
|
||
target_write_memory.
|
||
(agent_capability): Type changed to uint32_t.
|
||
(agent_capability_check): Use target_read_uint32.
|
||
|
||
2014-09-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-debug.h (show_debug_regs): Declare.
|
||
* common/common-debug.c (show_debug_regs): Define.
|
||
* aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
|
||
all uses with show_debug_regs. Replace all uses that considered
|
||
debug_hw_points as a multi-value integer with straight boolean
|
||
uses.
|
||
* x86-nat.c (debug_hw_points): Don't define. Replace all uses
|
||
with show_debug_regs.
|
||
* nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
|
||
all uses with show_debug_regs.
|
||
* mips-linux-nat.c (maint_show_dr): Don't define. Replace all
|
||
uses with show_debug_regs.
|
||
|
||
2014-09-10 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* findvar.c (address_from_register): Handle targets requiring
|
||
a special conversion routine even for plain pointer types.
|
||
|
||
2014-09-10 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* rs6000-nat.c (exec_one_dummy_insn): Remove.
|
||
(store_register): Do not call exec_one_dummy_insn.
|
||
|
||
2014-09-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
|
||
dereference it first. Use value_enclosing_type instead of
|
||
value_type.
|
||
(ada_array_length): Likewise.
|
||
|
||
2014-09-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
|
||
Adjust function implementation and documentation accordingly.
|
||
(ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
|
||
NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
|
||
Update call to ada_value_ptr_subscript.
|
||
|
||
2014-09-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_value_print): Use VAL's enclosing type
|
||
instead of VAL's type.
|
||
|
||
2014-09-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* amd64-linux-nat.c: Add <sys/uio.h> #include.
|
||
|
||
2014-09-09 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/17367
|
||
* acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
|
||
last parameter to pkg-config, not first.
|
||
* configure.ac: Pass --with-guile provided pkg-config path to
|
||
GDB_GUILE_PROGRAM_NAMES.
|
||
* configure: Regenerate.
|
||
|
||
2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
|
||
|
||
* MAINTAINERS (Write After Approval): Add "Gabriel Krisman
|
||
Bertazi".
|
||
|
||
2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
|
||
Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
|
||
the list of sections determining GDB_OSABI_IRIX.
|
||
|
||
2014-09-09 James Hogan <james.hogan@imgtec.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Add "James Hogan".
|
||
|
||
2014-09-09 James Hogan <james.hogan@imgtec.com>
|
||
|
||
* trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
|
||
|
||
2014-09-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
|
||
|
||
2014-09-08 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR 17247
|
||
* guile.c: #include <signal.h>.
|
||
(_initialize_guile): Block SIGCHLD while initializing Guile.
|
||
|
||
Replaces the following, which is reverted.
|
||
|
||
2014-07-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR 17185
|
||
* configure.ac: Add check for header gc/gc.h.
|
||
Add check for function setenv.
|
||
* configure: Regenerate.
|
||
* config.in: Regenerate.
|
||
* guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
|
||
|
||
2014-09-08 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
|
||
with named constant. Fix style of pointer comparison.
|
||
* python/py-cmd.c (gdbpy_parse_command_name): Ditto.
|
||
|
||
2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
|
||
|
||
PR gdb/17035
|
||
* cli/cli-cmds.c (show_user): Use cli_user_command_p to
|
||
decide whether we display the command on "show user".
|
||
* cli/cli-script.c (show_user_1): Only verify cmdlines after
|
||
printing command name.
|
||
* cli/cli-decode.h (cli_user_command_p): Declare new function.
|
||
* cli/cli-decode.c (cli_user_command_p): Create helper function
|
||
to verify whether cmd_list_element is a user-defined command.
|
||
|
||
2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR python/17355
|
||
* python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
|
||
Fix goto out of TRY_CATCH.
|
||
|
||
2014-09-06 Doug Evans <xdje42@gmail.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
PR 15276
|
||
* NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
|
||
$_any_caller_matches.
|
||
* data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
|
||
* python/lib/gdb/function/caller_is.py: New file.
|
||
|
||
2014-09-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infcmd.c (program_info): Fix typo.
|
||
|
||
2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR gdb/17235
|
||
* stap-probe.c (stap_parse_single_operand): Delete unused variable
|
||
'number'. New variable 'has_digit'. Rewrite code to deal with
|
||
subexpressions on SDT probes.
|
||
|
||
2014-09-04 Pedro Alves <palves@redhat.com>
|
||
|
||
* c-exp.y (parse_number): Skip handling base-switching prefixes if
|
||
the input is only one character long.
|
||
|
||
2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR fortran/17237
|
||
* f-valprint.c (f_val_print): Specify the correct print option to
|
||
use when printing integer values.
|
||
|
||
2014-09-04 Gary Benson <gbenson@redhat.com>
|
||
|
||
* x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
|
||
Remove code to cope with LWPs wrapped as PIDs.
|
||
Add assertions to ensure no wrapped LWPs are passed.
|
||
|
||
2014-09-04 Pedro Alves <palves@redhat.com>
|
||
|
||
* value.c (value_ranges_copy_adjusted): New function, factored out
|
||
from ...
|
||
(value_contents_copy_raw): ... here.
|
||
(unpack_value_bits_as_long_1): Rename back to ...
|
||
(unpack_bits_as_long): ... this. Remove 'original_value' and
|
||
'result' parameters. Change return type to LONGEST.
|
||
(unpack_value_bits_as_long): Delete.
|
||
(unpack_value_field_as_long_1): Delete.
|
||
(unpack_value_field_as_long, unpack_field_as_long): Reimplement.
|
||
(unpack_value_bitfield): New function.
|
||
(value_field_bitfield): Reimplement using unpack_value_bitfield.
|
||
(value_fetch_lazy): Use unpack_value_bitfield.
|
||
* value.h (unpack_value_bits_as_long): Delete declaration.
|
||
|
||
2014-09-03 Sasha Smundak <asmundak@google.com>
|
||
|
||
* python/py-frame.c (frapy_read_register): New function.
|
||
|
||
2014-09-03 James Hogan <james.hogan@imgtec.com>
|
||
|
||
* mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
|
||
prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
|
||
|
||
2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR python/16699
|
||
* cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
|
||
function.
|
||
(add_cmd): Set "completer_handle_brkchars" to NULL.
|
||
* cli/cli-decode.h (struct cmd_list_element)
|
||
<completer_handle_brkchars>: New field.
|
||
* command.h (completer_ftype_void): New typedef.
|
||
(set_cmd_completer_handle_brkchars): New prototype.
|
||
* completer.c (set_gdb_completion_word_break_characters): New
|
||
function.
|
||
(complete_line_internal): Call "completer_handle_brkchars"
|
||
callback from command.
|
||
* completer.h: Include "command.h".
|
||
(set_gdb_completion_word_break_characters): New prototype.
|
||
* python/py-cmd.c (cmdpy_completer_helper): New function.
|
||
(cmdpy_completer_handle_brkchars): New function.
|
||
(cmdpy_completer): Adjust to use cmdpy_completer_helper.
|
||
(cmdpy_init): Set completer_handle_brkchars to
|
||
cmdpy_completer_handle_brkchars.
|
||
|
||
2014-09-03 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
|
||
(ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
|
||
Loop conditions changed to equivalent form.
|
||
(struct x86_debug_reg_state): Updated dr_ref_count comment.
|
||
* x86-linux-nat.c (x86_linux_prepare_to_resume): Use
|
||
ALL_DEBUG_ADDRESS_REGISTERS.
|
||
|
||
2014-09-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2loc.h (dwarf2_evaluate_property): Minor function
|
||
description fix.
|
||
|
||
2014-09-02 Doug Evans <dje@google.com>
|
||
|
||
* typeprint.c (find_global_typedef): Fix comment.
|
||
|
||
2014-09-02 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.h: Renamed as...
|
||
* x86-nat.h: New file. All type, function and variable name
|
||
prefixes changed from "i386_" to "x86_". All references updated.
|
||
* i386-nat.c: Renamed as...
|
||
* x86-nat.c: New file. All type, function and variable name
|
||
prefixes changed from "i386_" to "x86_". All references updated.
|
||
* common/i386-xstate.h: Renamed as...
|
||
* common/x86-xstate.h: New file. All type, function and variable
|
||
name prefixes changed from "i386_" to "x86_". All references
|
||
updated.
|
||
* nat/i386-cpuid.h: Renamed as...
|
||
* nat/x86-cpuid.h: New file. All type, function and variable name
|
||
prefixes changed from "i386_" to "x86_". All references updated.
|
||
* nat/i386-gcc-cpuid.h: Renamed as...
|
||
* nat/x86-gcc-cpuid.h: New file. All type, function and variable
|
||
name prefixes changed from "i386_" to "x86_". All references
|
||
updated.
|
||
* nat/i386-dregs.h: Renamed as...
|
||
* nat/x86-dregs.h: New file. All type, function and variable name
|
||
prefixes changed from "i386_" to "x86_". All references updated.
|
||
* nat/i386-dregs.c: Renamed as...
|
||
* nat/x86-dregs.c: New file. All type, function and variable name
|
||
prefixes changed from "i386_" to "x86_". All references updated.
|
||
|
||
2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* varobj.c (_initialize_varobj): Move to the end of file.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-exceptions.h: New file.
|
||
* common/common-exceptions.c: Likewise.
|
||
* Makefile.in (SFILES): Add common/common-exceptions.c.
|
||
(HFILES_NO_SRCDIR): Add common/common-exceptions.h.
|
||
(COMMON_OBS): Add common-exceptions.o.
|
||
(common-exceptions.o): New rule.
|
||
* exceptions.h (common-exceptions.h): Include.
|
||
(gdb_setjmp.h): Do not include.
|
||
(return_reason): Moved to common-exceptions.h.
|
||
(enum return_reason): Likewise.
|
||
(RETURN_MASK): Likewise.
|
||
(typedef return_mask): Likewise.
|
||
(enum errors): Likewise.
|
||
(struct gdb_exception): Likewise.
|
||
(exceptions_state_mc_init): Likewise.
|
||
(exceptions_state_mc_action_iter): Likewise.
|
||
(exceptions_state_mc_action_iter_1): Likewise.
|
||
(TRY_CATCH): Likewise.
|
||
(throw_exception): Likewise.
|
||
(throw_verror): Likewise.
|
||
(throw_vquit): Likewise.
|
||
(throw_error): Likewise.
|
||
(throw_quit): Likewise.
|
||
* exceptions.c (enum catcher_state): Moved to common-exceptions.c.
|
||
(enum catcher_action): Likewise.
|
||
(struct catcher): Likewise.
|
||
(current_catcher): Likewise.
|
||
(catcher_list_size): Likewise.
|
||
(exceptions_state_mc_init): Likewise.
|
||
(catcher_pop): Likewise.
|
||
(exceptions_state_mc): Likewise.
|
||
(exceptions_state_mc_action_iter): Likewise.
|
||
(exceptions_state_mc_action_iter_1): Likewise.
|
||
(throw_exception): Likewise.
|
||
(exception_messages): Likewise.
|
||
(exception_messages_size): Likewise.
|
||
(throw_it): Likewise.
|
||
(throw_verror): Likewise.
|
||
(throw_vquit): Likewise.
|
||
(throw_error): Likewise.
|
||
(throw_quit): Likewise.
|
||
(prepare_to_throw_exception): New function.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/gdb_setjmp.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
|
||
* configure.ac: Move sigsetjmp check...
|
||
* common/common.m4: ...here.
|
||
* configure: Regenerate.
|
||
* cp-support.c (SIGJMP_BUF): Delete.
|
||
(SIGSETJMP): Likewise.
|
||
(SIGLONGJMP): Likewise.
|
||
* exceptions.h (gdb_setjmp.h): Include.
|
||
(setjmp.h): Do not include.
|
||
(EXCEPTIONS_SIGJMP_BUF): Delete.
|
||
(EXCEPTIONS_SIGSETJMP): Likewise.
|
||
(EXCEPTIONS_SIGLONGJMP): Likewise.
|
||
Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
|
||
from gdb_setjmp.h.
|
||
* exceptions.c: Likewise.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* cleanups.h: Moved to...
|
||
* common/cleanups.h: New file.
|
||
* cleanups.c: Moved to...
|
||
* common/cleanups.c: New file. Include common-defs.h and
|
||
cleanups.h. Do not include defs.h.
|
||
* Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
|
||
(HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
|
||
(cleanups.o): New rule.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/errors.h (internal_warning): New declaration.
|
||
(internal_vwarning): Likewise.
|
||
* common/errors.c (internal_warning): New function.
|
||
* utils.h (internal_warning): Don't declare.
|
||
(internal_vwarning): Likewise.
|
||
* utils.c (internal_warning): Removed.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* main.c (captured_main): Use warning during startup.
|
||
Prefix startup warning messages with command name.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* main.c (captured_main): Handle usage errors with error.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* go32-nat.c (go32_create_inferior): Replace a fprintf/
|
||
exit pair with a call to error. Wrap the message with _().
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* main.c (captured_main): Replace a fprintf/exit
|
||
pair with a call to error. Wrap the message with _().
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
|
||
pairs with calls to error. Wrap the message with _().
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.c (vwarning): Protect calls to target_terminal_ours
|
||
and wrap_here.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* exceptions.c (print_flush): Protect calls to
|
||
target_terminal_ours and wrap_here.
|
||
|
||
2014-08-29 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.h (filtered_printing_initialized): New declaration.
|
||
* utils.c (abort_with_message): New function.
|
||
(internal_vproblem): Use abort_with_message for first level
|
||
recursive internal problems, and if gdb_stderr is not set up.
|
||
Protect calls to target_terminal_ours, begin_line and query.
|
||
|
||
2014-08-28 Doug Evans <dje@google.com>
|
||
|
||
* symtab.c (in_prologue): Move definition to better spot.
|
||
(skip_prologue_using_sal): Ditto.
|
||
|
||
2014-08-28 Doug Evans <dje@google.com>
|
||
|
||
* symtab.c (find_function_start_sal): Move definition to better spot.
|
||
|
||
2014-08-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_in_function_epilogue_p): Don't set
|
||
found_stack_adjust in forward scan. Remove condition check
|
||
on found_stack_adjust which is always true. Indent the code.
|
||
|
||
2014-08-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines): Update declaration.
|
||
(handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
|
||
(dwarf_decode_lines): Remove argument
|
||
want_line_info. Remove condition check on want_line_info.
|
||
Callers update.
|
||
|
||
2014-08-27 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (dwarf_record_line): Fix typo.
|
||
|
||
2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
* target.h (struct target_ops::to_terminal_save_ours): Remove
|
||
declaration.
|
||
(target_terminal_save_ours): Remove macro.
|
||
* target-delegates.c: Regenerate.
|
||
* inf-child.c (inf_child_target): Don't set the nonexistent
|
||
field to_terminal_save_ours.
|
||
* inferior.h (child_terminal_save_ours): Remove declaration.
|
||
* terminal.h (gdb_save_tty_state): New declaration.
|
||
* inflow.c (child_terminal_save_ours): Rename to ...
|
||
(gdb_save_tty_state): ... this.
|
||
* tui/tui.c: Include terminal.h.
|
||
(tui_enable): Use gdb_save_tty_state instead of
|
||
target_terminal_save_ours.
|
||
(tui_disable): Likewise.
|
||
|
||
2014-08-25 Doug Evans <dje@google.com>
|
||
|
||
* linux-nat.c (linux_nat_close): Don't pass NULL for "this".
|
||
Pass NULL instead of 0 for context pointer.
|
||
|
||
2014-08-25 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c: Fix grammatical error.
|
||
|
||
2014-08-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (scan_partial_symbols): Update comments.
|
||
Rename argument 'need_pc' with 'set_addrmap'.
|
||
(add_partial_namespace): Rename argument 'need_pc' with
|
||
'set_addrmap'.
|
||
(add_partial_module): Likewise.
|
||
(add_partial_subprogram): Likewise. Update comments.
|
||
(dwarf2_name): Fix typo.
|
||
|
||
2014-08-22 Doug Evans <dje@google.com>
|
||
|
||
PR 17276
|
||
* dwarf2read.c (dwarf_record_line_p): New function.
|
||
(dwarf_decode_lines_1): Ignore subsequent line number entries
|
||
for the same line if any entry had a non-zero discriminator.
|
||
|
||
2014-08-22 Doug Evans <dje@google.com>
|
||
|
||
* buildsym.h (record_line_ftype): New typedef.
|
||
(record_line): Use it.
|
||
* dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
|
||
(dwarf_decode_lines_1): Call them.
|
||
|
||
2014-08-22 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (CTF_FILE_MIN_SIZE): Remove.
|
||
(ctf_end): Remove code.
|
||
|
||
2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
|
||
(linux_make_corefile_notes): call update_thread_list, protected against
|
||
exceptions.
|
||
|
||
2014-08-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* infcmd.c (attach_command): Remove comment.
|
||
|
||
2014-08-21 Bin Cheng <bin.cheng@arm.com>
|
||
|
||
* aarch64-linux-nat.c (dr_changed_t): Change the type from
|
||
unsigned LONGEST to ULONGEST.
|
||
|
||
2014-08-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (check-read1): New rule.
|
||
|
||
2014-08-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* value.c (value_from_contents_and_address): Strip resolved_type's
|
||
typedef layers before checking its TYPE_DATA_LOCATION.
|
||
|
||
2014-08-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
|
||
|
||
2014-08-20 Yao Qi <yao@codesourcery.com>
|
||
|
||
* amd64-tdep.c (amd64_classify): Add a blank line after the
|
||
example. Move "*/" to a new line.
|
||
* arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
|
||
* arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
|
||
* dwarf2read.c (psymtab_include_file_name): Likewise.
|
||
|
||
2014-08-19 Andrew Burgess <aburgess@broadcom.com>
|
||
Pedro Alves <palves@redhat.com>
|
||
|
||
PR symtab/14604
|
||
PR symtab/14605
|
||
* ada-lang.c (coerce_unspec_val_to_type): Use
|
||
value_contents_copy_raw.
|
||
* ada-valprint.c (val_print_packed_array_elements): Adjust.
|
||
* c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
|
||
* cp-valprint.c (cp_print_value_fields): Let the common printing
|
||
code handle optimized out values.
|
||
(cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
|
||
* d-valprint.c (dynamic_array_type): Use
|
||
value_bits_any_optimized_out.
|
||
* dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
|
||
check_any_valid fields.
|
||
(check_pieced_value_bits): Delete and inline ...
|
||
(check_pieced_synthetic_pointer): ... here.
|
||
(check_pieced_value_validity): Delete.
|
||
(check_pieced_value_invalid): Delete.
|
||
(pieced_value_funcs): Remove check_validity and check_any_valid
|
||
fields.
|
||
(read_pieced_value): Use mark_value_bits_optimized_out.
|
||
(write_pieced_value): Switch to use
|
||
mark_value_bytes_optimized_out.
|
||
(dwarf2_evaluate_loc_desc_full): Copy the value contents instead
|
||
of assuming the whole value is optimized out.
|
||
* findvar.c (read_frame_register_value): Remove special handling
|
||
of optimized out registers.
|
||
(value_from_register): Use mark_value_bytes_optimized_out.
|
||
* frame-unwind.c (frame_unwind_got_optimized): Use
|
||
mark_value_bytes_optimized_out.
|
||
* jv-valprint.c (java_value_print): Adjust.
|
||
(java_print_value_fields): Let the common printing code handle
|
||
optimized out values.
|
||
* mips-tdep.c (mips_print_register): Remove special handling of
|
||
optimized out registers.
|
||
* opencl-lang.c (lval_func_check_validity): Delete.
|
||
(lval_func_check_any_valid): Delete.
|
||
(opencl_value_funcs): Remove check_validity and check_any_valid
|
||
fields.
|
||
* p-valprint.c (pascal_object_print_value_fields): Let the common
|
||
printing code handle optimized out values.
|
||
* stack.c (read_frame_arg): Remove special handling of optimized
|
||
out values. Fetch both VAL and ENTRYVAL before comparing
|
||
contents. Adjust to value_available_contents_eq rename.
|
||
* valprint.c (valprint_check_validity)
|
||
(val_print_scalar_formatted): Use value_bits_any_optimized_out.
|
||
(val_print_array_elements): Adjust.
|
||
* value.c (struct value) <optimized_out>: Now a VEC(range_s).
|
||
(value_bits_any_optimized_out): New function.
|
||
(value_entirely_covered_by_range_vector): New function, factored
|
||
out from value_entirely_unavailable.
|
||
(value_entirely_unavailable): Reimplement.
|
||
(value_entirely_optimized_out): New function.
|
||
(insert_into_bit_range_vector): New function, factored out from
|
||
mark_value_bits_unavailable.
|
||
(mark_value_bits_unavailable): Reimplement.
|
||
(struct ranges_and_idx): New struct.
|
||
(find_first_range_overlap_and_match): New function, factored out
|
||
from value_available_contents_bits_eq.
|
||
(value_available_contents_bits_eq): Rename to ...
|
||
(value_contents_bits_eq): ... this. Check both unavailable
|
||
contents and optimized out contents.
|
||
(value_available_contents_eq): Rename to ...
|
||
(value_contents_eq): ... this.
|
||
(allocate_value_lazy): Remove reference to the old optimized_out
|
||
boolean.
|
||
(allocate_optimized_out_value): Use
|
||
mark_value_bytes_optimized_out.
|
||
(require_not_optimized_out): Adjust to check whether the
|
||
optimized_out vec is empty.
|
||
(ranges_copy_adjusted): New function, factored out from
|
||
value_contents_copy_raw.
|
||
(value_contents_copy_raw): Also copy the optimized out ranges.
|
||
Assert the destination ranges aren't optimized out.
|
||
(value_contents_copy): Update comment, remove call to
|
||
require_not_optimized_out.
|
||
(value_contents_equal): Adjust to check whether the optimized_out
|
||
vec is empty.
|
||
(set_value_optimized_out, value_optimized_out_const): Delete.
|
||
(mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
|
||
New functions.
|
||
(value_entirely_optimized_out, value_bits_valid): Delete.
|
||
(value_copy): Take a VEC copy of the 'optimized_out' field.
|
||
(value_primitive_field): Remove special handling of optimized out.
|
||
(value_fetch_lazy): Assert that lazy values have no unavailable
|
||
regions. Use value_bits_any_optimized_out. Remove some special
|
||
handling for optimized out values.
|
||
* value.h: Add intro comment about <optimized out> and
|
||
<unavailable>.
|
||
(struct lval_funcs): Remove check_validity and check_any_valid
|
||
fields.
|
||
(set_value_optimized_out, value_optimized_out_const): Remove.
|
||
(mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
|
||
New declarations.
|
||
(value_bits_any_optimized_out): New declaration.
|
||
(value_bits_valid): Delete declaration.
|
||
(value_available_contents_eq): Rename to ...
|
||
(value_contents_eq): ... this, and extend comments.
|
||
|
||
2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix -fsanitize=address on unreadable inferior strings.
|
||
* valprint.c (val_print_string): Fix access before BUFFER.
|
||
|
||
2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* target.c (target_struct_size): Remove.
|
||
(target_struct_allocsize): Remove.
|
||
(DEFAULT_ALLOCSIZE): Remove.
|
||
(target_ops_p): New typedef.
|
||
(DEF_VEC_P (target_ops_p)): New vector type.
|
||
(target_structs): Change type to VEC (target_ops_p).
|
||
(add_target_with_completer): Replace "push" code by VEC_safe_push.
|
||
(find_default_run_target): Rewrite for loop following changes to
|
||
target_structs.
|
||
|
||
2014-08-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* value.c (value_from_pointer): Remove use of resolve_dynamic_type.
|
||
Adjust code accordingly. Adjust function description comment.
|
||
|
||
2014-08-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
|
||
types.
|
||
|
||
2014-08-19 Alan Modra <amodra@gmail.com>
|
||
|
||
* acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
|
||
* config.in: Regenerate.
|
||
* configure: Regenerate.
|
||
|
||
2014-08-19 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-debug.h: New file.
|
||
* common/common-debug.c: Likewise.
|
||
* debug.c: Likewise.
|
||
* Makefile.in (SFILES): Add common/common-debug.c.
|
||
(HFILES_NO_SRCDIR): Add common/common-debug.h.
|
||
(COMMON_OBS): Add common-debug.o and debug.o.
|
||
(common-debug.o): New rule.
|
||
* common/common-defs.h: Include common-debug.h.
|
||
* common/agent.c (debug_agent_printf): New function.
|
||
(DEBUG_AGENT): Redefine.
|
||
* nat/i386-dregs.c (debug_printf): Undefine.
|
||
|
||
2014-08-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include print-utils.h.
|
||
* utils.h: Do not include print-utils.h.
|
||
|
||
2014-08-19 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-types.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
|
||
* common/common-defs.h: Include common-types.h.
|
||
* defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
|
||
(ULONGEST): Remove.
|
||
|
||
2014-08-19 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/errors.h: New file.
|
||
* common/errors.c: Likewise.
|
||
* Makefile.in (SFILES): Add common/errors.c.
|
||
(HFILES_NO_SRCDIR): Add common/errors.h.
|
||
(COMMON_OBS): Add errors.o.
|
||
(errors.o): New rule.
|
||
* common/common-defs.h: Include errors.h.
|
||
* utils.h (perror_with_name, error, verror, warning, vwarning):
|
||
Don't declare.
|
||
* common/common-utils.h: (malloc_failure, internal_error):
|
||
Likewise.
|
||
|
||
2014-08-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.c (internal_vproblem): Always print the message.
|
||
|
||
2014-08-18 Doug Evans <dje@google.com>
|
||
|
||
* ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
|
||
|
||
2014-08-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-typeprint.c (type_is_full_subrange_of_target_type):
|
||
Return 0 if TYPE is dynamic.
|
||
(print_range): Add handling of dynamic ranges.
|
||
|
||
2014-08-18 Keven Boell <keven.boell@intel.com>
|
||
Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbtypes.h (struct main_type): Add field "data_location".
|
||
(TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
|
||
(TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
|
||
* gdbtypes.c (is_dynamic_type): Return 1 if the type has
|
||
a dynamic data location.
|
||
(resolve_dynamic_type): Add DW_AT_data_location handling.
|
||
(copy_recursive, copy_type): Copy the data_location information
|
||
when present.
|
||
* dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
|
||
* value.c (value_from_contents_and_address): Add
|
||
DW_AT_data_location handling.
|
||
|
||
2014-08-18 Keven Boell <keven.boell@intel.com>
|
||
Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
|
||
field "get_object_address".
|
||
* dwarf2expr.c (execute_stack_op): Add handling for
|
||
DW_OP_push_object_address.
|
||
* dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
|
||
* dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
|
||
(dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
|
||
(dwarf_expr_get_obj_addr): New function.
|
||
(dwarf_expr_ctx_funcs): Add get_object_address field.
|
||
(dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
|
||
(dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
|
||
(dwarf2_evaluate_property): Add parameter "address". Use it.
|
||
(needs_get_obj_addr): New function.
|
||
(needs_frame_ctx_funcs): Add get_object_address field.
|
||
(dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
|
||
* gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
|
||
(resolve_dynamic_array): Likewise.
|
||
|
||
2014-08-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
|
||
When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
|
||
fixed value for records and unions for which some GNAT encodings
|
||
are present.
|
||
|
||
2014-08-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
|
||
rewrite to avoid "else if" and "else" constructs. Should be
|
||
a no-op in practice.
|
||
|
||
2014-08-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
|
||
of lexical block.
|
||
|
||
2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
PR c++/17132
|
||
* eval.c: Update all calls to find_overload_match.
|
||
* valarith.c: Likewise.
|
||
(value_user_defined_cpp_op, value_user_defined_op): New
|
||
argument NOSIDE. Update all callers.
|
||
* valops.c (find_overload_match): New argument NOSIDE.
|
||
* value.h (find_overload_match): Update signature.
|
||
|
||
2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
|
||
'items' methods instead of 'iteritems' method on dictionaries.
|
||
|
||
2014-08-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
|
||
closer to use.
|
||
|
||
2014-08-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Add comment.
|
||
|
||
2014-08-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
|
||
|
||
2014-08-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
|
||
unused.
|
||
|
||
2014-08-15 Eli Zaretskii <eliz@gnu.org>
|
||
|
||
* dcache.h: Include target.h, to avoid compile time warnings.
|
||
|
||
2014-08-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
|
||
frame_info" partial declaration.
|
||
* gdbarch.h: Regenerate.
|
||
|
||
2014-08-15 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
|
||
Add parameter 'decode_for_pst_p'. Callers update.
|
||
|
||
2014-08-13 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR build/17104
|
||
* configure.ac: Use local variable 'pos'.
|
||
* configure: Regenerated.
|
||
|
||
2014-08-11 Doug Evans <dje@google.com>
|
||
|
||
* solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
|
||
message, it is redundant with "Reading symbols from ..." message.
|
||
|
||
2014-08-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* linux-nat.c (linux_nat_thread_address_space): Delete dead code.
|
||
|
||
2014-08-09 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR remote/9053
|
||
* remote.c (remote_xfer_partial): Remove dead code.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* ia64-linux-tdep.c: Include "regset.h".
|
||
(ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
|
||
(IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
|
||
(ia64_linux_supply_fpregset): New function.
|
||
(ia64_linux_gregset, ia64_linux_fpregset): New regsets.
|
||
(ia64_linux_regset_from_core_section): New function.
|
||
(ia64_linux_init_abi): Set regset_from_core_section gdbarch
|
||
method.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* m68klinux-tdep.c: Include "regset.h".
|
||
(m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
|
||
(M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
|
||
(m68k_linux_gregset, m68k_linux_fpregset): New regsets.
|
||
(m68k_linux_regset_from_core_section): New function.
|
||
(m68k_linux_init_abi): Set regset_from_core_section gdbarch
|
||
method.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
|
||
function. Move logic to...
|
||
(tilegx_linux_regmap): ... this new register map.
|
||
(tilegx_linux_regset): Refer to register map, replace supply
|
||
method by regcache_supply_regset, and add collect method.
|
||
* tilegx-tdep.h (enum tilegx_regnum): New enum value
|
||
TILEGX_FIRST_EASY_REGNUM.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
|
||
that calls regcache_supply_regset and handles the EPC register
|
||
separately. Move main logic to...
|
||
(score7_linux_gregmap): ... this new register map.
|
||
(SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
|
||
(score7_linux_gregset): Refer to register map. Add collect method.
|
||
(score7_linux_regset_from_core_section): Replace
|
||
sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
|
||
* score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
|
||
(struct regset): Delete unused forward declaraction.
|
||
(struct pt_regs): Delete structure definition.
|
||
(elf_gregset_t): Delete typedef.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* nios2-linux-tdep.c (nios2_collect_gregset): New function.
|
||
(nios2_core_regset): Add collect method.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
|
||
platform-independent and don't write to read-only input buffer.
|
||
(m32r_linux_collect_gregset): New function.
|
||
(m32r_linux_gregset): Add collect method.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* hppa-linux-tdep.c (greg_map): Rename to...
|
||
(hppa_linux_gregmap): ... this. Also convert to
|
||
regcache_map_entry format.
|
||
(hppa_linux_supply_regset): Delete function.
|
||
(hppa_linux_supply_fpregset): Delete function. Move logic to...
|
||
(hppa_linux_fpregmap): ... this new register map.
|
||
(hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
|
||
register map, replace supply method by regcache_supply_regset, and
|
||
add collect method regcache_collect_regset.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
|
||
(FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
|
||
(FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
|
||
(FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
|
||
(FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
|
||
(frv_linux_gregmap, frv_linux_fpregmap): New register maps.
|
||
(frv_linux_supply_gregset): Replace main logic by call to
|
||
regcache_supply_regset, but keep clearing gr32-gr63.
|
||
(frv_linux_supply_fpregset): Delete function.
|
||
(frv_linux_gregset): Refer to appropriate register map and add
|
||
regcache_collect_regset as the collect method.
|
||
(frv_linux_fpregset): Likewise. Also exchange the supply method
|
||
by regcache_supply_regset.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
|
||
by call to alpha_supply_int_regs.
|
||
(alpha_linux_collect_gregset): New function.
|
||
(alpha_linux_supply_fpregset): Replace logic by call to
|
||
alpha_supply_fp_regs.
|
||
(alpha_linux_collect_fpregset): New function.
|
||
(alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
|
||
by call to regcache_collect_regset.
|
||
(supply_gregset, supply_fpregset): Call regcache_supply_regset
|
||
instead of aarch64_linux_supply_gregset/_fpregset.
|
||
* aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
|
||
(AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
|
||
header file instead.
|
||
(aarch64_linux_supply_gregset, supply_gregset_from_core)
|
||
(aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
|
||
functions. Move logic to ...
|
||
(aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
|
||
register maps.
|
||
(aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
|
||
refer to new register maps, replace *_regset_from_core by
|
||
regcache_supply_regset, and also use regcache_collect_regset.
|
||
* aarch64-linux-tdep.h: Include "regset.h".
|
||
(aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
|
||
Delete prototypes.
|
||
(AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
|
||
macros, moved from C source file.
|
||
(aarch64_linux_gregset, aarch64_linux_fpregset): New global
|
||
variable declarations.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* s390-linux-nat.c: Include "regset.h".
|
||
(regmap_gregset): Delete macro.
|
||
(s390_64_regmap_gregset): New register map for
|
||
regcache_supply/_collect_regset.
|
||
(s390_64_gregset): New regset.
|
||
(S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
|
||
(regmap_fpregset): Delete macro.
|
||
(s390_native_supply, s390_native_collect): Delete functions.
|
||
(supply_gregset, fill_gregset): Replace s390-specific regmap
|
||
handling by a call to regcache_supply/_collect_regset.
|
||
(supply_fpregset, fill_fpregset): Call regcache_supply/
|
||
_collect_regset instead of s390_native_supply/_collect.
|
||
(fetch_regset, store_regset): Likewise. Also change the last
|
||
parameter to a regset instead of a regmap.
|
||
(s390_linux_fetch_inferior_registers)
|
||
(390_linux_store_inferior_registers): Adjust last parameter in
|
||
calls to fetch_regset and store_regset.
|
||
* s390-linux-tdep.c (s390_regmap_gregset): Rename to...
|
||
(s390_gregmap): ... this. Also make static const and convert to
|
||
regcache_map_entry format.
|
||
(s390x_regmap_gregset): Delete.
|
||
(s390_regmap_fpregset): Rename to...
|
||
(s390_fpregmap): ... this. Make static const and convert to
|
||
regcache_map_entry format.
|
||
(s390_regmap_upper, s390_regmap_last_break)
|
||
(s390x_regmap_last_break, s390_regmap_system_call)
|
||
(s390_regmap_tdb): Likewise.
|
||
(s390_supply_regset, s390_collect_regset): Remove functions.
|
||
(s390_supply_tdb_regset): Call regcache_supply_regset instead of
|
||
s390_supply_regset.
|
||
(s390_gregset, s390_fpregset, s390_upper_regset)
|
||
(s390_last_break_regset, s390x_last_break_regset)
|
||
(s390_system_call_regset, s390_tdb_regset): Make global and
|
||
replace s390_supply/_collect_regset by regcache_supply/
|
||
_collect_regset.
|
||
(s390x_gregset): Delete.
|
||
(s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
|
||
* s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
|
||
(s390_regmap_fpregset, s390_regmap_last_break)
|
||
(s390x_regmap_last_break, s390_regmap_system_call)
|
||
(s390_regmap_tdb): Delete global variable declarations.
|
||
(s390_gregset, s390_fpregset, s390_last_break_regset)
|
||
(s390x_last_break_regset, s390_system_call_regset)
|
||
(s390_tdb_regset): New global variable declarations.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* regcache.c: Include "regset.h".
|
||
(regcache_transfer_regset): New local function.
|
||
(regcache_supply_regset, regcache_collect_regset): New functions.
|
||
* regcache.h (struct regcache_map_entry): New structure.
|
||
(REGCACHE_MAP_SKIP): New enum value.
|
||
(regcache_supply_regset, regcache_collect_regset): New prototypes.
|
||
|
||
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* regset.h (struct regset): Rename 'descr' field to 'regmap'.
|
||
* ppc-linux-tdep.c (ppc_linux_supply_gregset)
|
||
(ppc_linux_collect_gregset ): Likewise.
|
||
* rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
|
||
(ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
|
||
(ppc_collect_vrregset): Likewise.
|
||
* s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
|
||
Likewise.
|
||
|
||
2014-08-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
|
||
* remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
|
||
* remote.c (remote_read_bytes): Likewise.
|
||
|
||
2014-08-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
|
||
|
||
2014-08-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR remote/17230
|
||
* remote-mips.c (mips_xfer_memory): Set *xfered_len and return
|
||
TARGET_XFER_OK instead of 0.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include errno.h.
|
||
* defs.h: Do not include errno.h.
|
||
* ada-typeprint.c: Likewise.
|
||
* c-typeprint.c: Likewise.
|
||
* core-regset.c: Likewise.
|
||
* corefile.c: Likewise.
|
||
* corelow.c: Likewise.
|
||
* event-loop.c: Likewise.
|
||
* f-typeprint.c: Likewise.
|
||
* gnu-nat.c: Likewise.
|
||
* go32-nat.c: Likewise.
|
||
* i386gnu-nat.c: Likewise.
|
||
* m2-typeprint.c: Likewise.
|
||
* nat/linux-btrace.c: Likewise.
|
||
* p-typeprint.c: Likewise.
|
||
* procfs.c: Likewise.
|
||
* remote-sim.c: Likewise.
|
||
* rs6000-nat.c: Likewise.
|
||
* target.c: Likewise.
|
||
* typeprint.c: Likewise.
|
||
* ui-file.c: Likewise.
|
||
* valops.c: Likewise.
|
||
* valprint.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include string.h.
|
||
* aarch64-tdep.c: Do not include string.h.
|
||
* ada-exp.y: Likewise.
|
||
* ada-lang.c: Likewise.
|
||
* ada-lex.l: Likewise.
|
||
* ada-typeprint.c: Likewise.
|
||
* ada-valprint.c: Likewise.
|
||
* aix-thread.c: Likewise.
|
||
* alpha-linux-tdep.c: Likewise.
|
||
* alpha-mdebug-tdep.c: Likewise.
|
||
* alpha-nat.c: Likewise.
|
||
* alpha-osf1-tdep.c: Likewise.
|
||
* alpha-tdep.c: Likewise.
|
||
* alphanbsd-tdep.c: Likewise.
|
||
* amd64-dicos-tdep.c: Likewise.
|
||
* amd64-linux-tdep.c: Likewise.
|
||
* amd64-nat.c: Likewise.
|
||
* amd64-sol2-tdep.c: Likewise.
|
||
* amd64fbsd-tdep.c: Likewise.
|
||
* amd64obsd-tdep.c: Likewise.
|
||
* arch-utils.c: Likewise.
|
||
* arm-linux-nat.c: Likewise.
|
||
* arm-linux-tdep.c: Likewise.
|
||
* arm-tdep.c: Likewise.
|
||
* arm-wince-tdep.c: Likewise.
|
||
* armbsd-tdep.c: Likewise.
|
||
* armnbsd-nat.c: Likewise.
|
||
* armnbsd-tdep.c: Likewise.
|
||
* armobsd-tdep.c: Likewise.
|
||
* avr-tdep.c: Likewise.
|
||
* ax-gdb.c: Likewise.
|
||
* ax-general.c: Likewise.
|
||
* bcache.c: Likewise.
|
||
* bfin-tdep.c: Likewise.
|
||
* breakpoint.c: Likewise.
|
||
* build-id.c: Likewise.
|
||
* buildsym.c: Likewise.
|
||
* c-exp.y: Likewise.
|
||
* c-lang.c: Likewise.
|
||
* c-typeprint.c: Likewise.
|
||
* c-valprint.c: Likewise.
|
||
* charset.c: Likewise.
|
||
* cli-out.c: Likewise.
|
||
* cli/cli-cmds.c: Likewise.
|
||
* cli/cli-decode.c: Likewise.
|
||
* cli/cli-dump.c: Likewise.
|
||
* cli/cli-interp.c: Likewise.
|
||
* cli/cli-logging.c: Likewise.
|
||
* cli/cli-script.c: Likewise.
|
||
* cli/cli-setshow.c: Likewise.
|
||
* cli/cli-utils.c: Likewise.
|
||
* coffread.c: Likewise.
|
||
* common/agent.c: Likewise.
|
||
* common/buffer.c: Likewise.
|
||
* common/buffer.h: Likewise.
|
||
* common/common-utils.c: Likewise.
|
||
* common/filestuff.c: Likewise.
|
||
* common/filestuff.c: Likewise.
|
||
* common/format.c: Likewise.
|
||
* common/print-utils.c: Likewise.
|
||
* common/rsp-low.c: Likewise.
|
||
* common/signals.c: Likewise.
|
||
* common/vec.h: Likewise.
|
||
* common/xml-utils.c: Likewise.
|
||
* core-regset.c: Likewise.
|
||
* corefile.c: Likewise.
|
||
* corelow.c: Likewise.
|
||
* cp-abi.c: Likewise.
|
||
* cp-name-parser.y: Likewise.
|
||
* cp-support.c: Likewise.
|
||
* cp-valprint.c: Likewise.
|
||
* cris-tdep.c: Likewise.
|
||
* d-exp.y: Likewise.
|
||
* darwin-nat.c: Likewise.
|
||
* dbxread.c: Likewise.
|
||
* dcache.c: Likewise.
|
||
* demangle.c: Likewise.
|
||
* dicos-tdep.c: Likewise.
|
||
* disasm.c: Likewise.
|
||
* doublest.c: Likewise.
|
||
* dsrec.c: Likewise.
|
||
* dummy-frame.c: Likewise.
|
||
* dwarf2-frame.c: Likewise.
|
||
* dwarf2loc.c: Likewise.
|
||
* dwarf2read.c: Likewise.
|
||
* elfread.c: Likewise.
|
||
* environ.c: Likewise.
|
||
* eval.c: Likewise.
|
||
* event-loop.c: Likewise.
|
||
* exceptions.c: Likewise.
|
||
* exec.c: Likewise.
|
||
* expprint.c: Likewise.
|
||
* f-exp.y: Likewise.
|
||
* f-lang.c: Likewise.
|
||
* f-typeprint.c: Likewise.
|
||
* f-valprint.c: Likewise.
|
||
* fbsd-nat.c: Likewise.
|
||
* findcmd.c: Likewise.
|
||
* findvar.c: Likewise.
|
||
* fork-child.c: Likewise.
|
||
* frame.c: Likewise.
|
||
* frv-linux-tdep.c: Likewise.
|
||
* frv-tdep.c: Likewise.
|
||
* gdb.c: Likewise.
|
||
* gdb_bfd.c: Likewise.
|
||
* gdbarch.c: Likewise.
|
||
* gdbarch.sh: Likewise.
|
||
* gdbtypes.c: Likewise.
|
||
* gnu-nat.c: Likewise.
|
||
* gnu-v2-abi.c: Likewise.
|
||
* gnu-v3-abi.c: Likewise.
|
||
* go-exp.y: Likewise.
|
||
* go-lang.c: Likewise.
|
||
* go32-nat.c: Likewise.
|
||
* guile/guile.c: Likewise.
|
||
* guile/scm-auto-load.c: Likewise.
|
||
* hppa-hpux-tdep.c: Likewise.
|
||
* hppa-linux-nat.c: Likewise.
|
||
* hppanbsd-tdep.c: Likewise.
|
||
* hppaobsd-tdep.c: Likewise.
|
||
* i386-cygwin-tdep.c: Likewise.
|
||
* i386-dicos-tdep.c: Likewise.
|
||
* i386-linux-tdep.c: Likewise.
|
||
* i386-nto-tdep.c: Likewise.
|
||
* i386-sol2-tdep.c: Likewise.
|
||
* i386-tdep.c: Likewise.
|
||
* i386bsd-tdep.c: Likewise.
|
||
* i386gnu-nat.c: Likewise.
|
||
* i386nbsd-tdep.c: Likewise.
|
||
* i386obsd-tdep.c: Likewise.
|
||
* i387-tdep.c: Likewise.
|
||
* ia64-libunwind-tdep.c: Likewise.
|
||
* ia64-linux-nat.c: Likewise.
|
||
* inf-child.c: Likewise.
|
||
* inf-ptrace.c: Likewise.
|
||
* inf-ttrace.c: Likewise.
|
||
* infcall.c: Likewise.
|
||
* infcmd.c: Likewise.
|
||
* inflow.c: Likewise.
|
||
* infrun.c: Likewise.
|
||
* interps.c: Likewise.
|
||
* iq2000-tdep.c: Likewise.
|
||
* irix5-nat.c: Likewise.
|
||
* jv-exp.y: Likewise.
|
||
* jv-lang.c: Likewise.
|
||
* jv-typeprint.c: Likewise.
|
||
* jv-valprint.c: Likewise.
|
||
* language.c: Likewise.
|
||
* linux-fork.c: Likewise.
|
||
* linux-nat.c: Likewise.
|
||
* lm32-tdep.c: Likewise.
|
||
* m2-exp.y: Likewise.
|
||
* m2-typeprint.c: Likewise.
|
||
* m32c-tdep.c: Likewise.
|
||
* m32r-linux-nat.c: Likewise.
|
||
* m32r-linux-tdep.c: Likewise.
|
||
* m32r-rom.c: Likewise.
|
||
* m32r-tdep.c: Likewise.
|
||
* m68hc11-tdep.c: Likewise.
|
||
* m68k-tdep.c: Likewise.
|
||
* m68kbsd-tdep.c: Likewise.
|
||
* m68klinux-nat.c: Likewise.
|
||
* m68klinux-tdep.c: Likewise.
|
||
* m88k-tdep.c: Likewise.
|
||
* machoread.c: Likewise.
|
||
* macrocmd.c: Likewise.
|
||
* main.c: Likewise.
|
||
* mdebugread.c: Likewise.
|
||
* mem-break.c: Likewise.
|
||
* memattr.c: Likewise.
|
||
* memory-map.c: Likewise.
|
||
* mep-tdep.c: Likewise.
|
||
* mi/mi-cmd-break.c: Likewise.
|
||
* mi/mi-cmd-disas.c: Likewise.
|
||
* mi/mi-cmd-env.c: Likewise.
|
||
* mi/mi-cmd-stack.c: Likewise.
|
||
* mi/mi-cmd-var.c: Likewise.
|
||
* mi/mi-cmds.c: Likewise.
|
||
* mi/mi-console.c: Likewise.
|
||
* mi/mi-getopt.c: Likewise.
|
||
* mi/mi-interp.c: Likewise.
|
||
* mi/mi-main.c: Likewise.
|
||
* mi/mi-parse.c: Likewise.
|
||
* microblaze-rom.c: Likewise.
|
||
* microblaze-tdep.c: Likewise.
|
||
* mingw-hdep.c: Likewise.
|
||
* minidebug.c: Likewise.
|
||
* minsyms.c: Likewise.
|
||
* mips-irix-tdep.c: Likewise.
|
||
* mips-linux-tdep.c: Likewise.
|
||
* mips-tdep.c: Likewise.
|
||
* mips64obsd-tdep.c: Likewise.
|
||
* mipsnbsd-tdep.c: Likewise.
|
||
* mipsread.c: Likewise.
|
||
* mn10300-linux-tdep.c: Likewise.
|
||
* mn10300-tdep.c: Likewise.
|
||
* monitor.c: Likewise.
|
||
* moxie-tdep.c: Likewise.
|
||
* mt-tdep.c: Likewise.
|
||
* nat/linux-btrace.c: Likewise.
|
||
* nat/linux-osdata.c: Likewise.
|
||
* nat/linux-procfs.c: Likewise.
|
||
* nat/linux-ptrace.c: Likewise.
|
||
* nat/linux-waitpid.c: Likewise.
|
||
* nbsd-tdep.c: Likewise.
|
||
* nios2-linux-tdep.c: Likewise.
|
||
* nto-procfs.c: Likewise.
|
||
* nto-tdep.c: Likewise.
|
||
* objc-lang.c: Likewise.
|
||
* objfiles.c: Likewise.
|
||
* opencl-lang.c: Likewise.
|
||
* osabi.c: Likewise.
|
||
* osdata.c: Likewise.
|
||
* p-exp.y: Likewise.
|
||
* p-lang.c: Likewise.
|
||
* p-typeprint.c: Likewise.
|
||
* parse.c: Likewise.
|
||
* posix-hdep.c: Likewise.
|
||
* ppc-linux-nat.c: Likewise.
|
||
* ppc-sysv-tdep.c: Likewise.
|
||
* ppcfbsd-tdep.c: Likewise.
|
||
* ppcnbsd-tdep.c: Likewise.
|
||
* ppcobsd-tdep.c: Likewise.
|
||
* printcmd.c: Likewise.
|
||
* procfs.c: Likewise.
|
||
* prologue-value.c: Likewise.
|
||
* python/py-auto-load.c: Likewise.
|
||
* python/py-gdb-readline.c: Likewise.
|
||
* ravenscar-thread.c: Likewise.
|
||
* regcache.c: Likewise.
|
||
* registry.c: Likewise.
|
||
* remote-fileio.c: Likewise.
|
||
* remote-m32r-sdi.c: Likewise.
|
||
* remote-mips.c: Likewise.
|
||
* remote-notif.c: Likewise.
|
||
* remote-sim.c: Likewise.
|
||
* remote.c: Likewise.
|
||
* reverse.c: Likewise.
|
||
* rs6000-aix-tdep.c: Likewise.
|
||
* ser-base.c: Likewise.
|
||
* ser-go32.c: Likewise.
|
||
* ser-mingw.c: Likewise.
|
||
* ser-pipe.c: Likewise.
|
||
* ser-tcp.c: Likewise.
|
||
* ser-unix.c: Likewise.
|
||
* serial.c: Likewise.
|
||
* sh-tdep.c: Likewise.
|
||
* sh64-tdep.c: Likewise.
|
||
* shnbsd-tdep.c: Likewise.
|
||
* skip.c: Likewise.
|
||
* sol-thread.c: Likewise.
|
||
* solib-dsbt.c: Likewise.
|
||
* solib-frv.c: Likewise.
|
||
* solib-osf.c: Likewise.
|
||
* solib-som.c: Likewise.
|
||
* solib-spu.c: Likewise.
|
||
* solib-target.c: Likewise.
|
||
* solib.c: Likewise.
|
||
* somread.c: Likewise.
|
||
* source.c: Likewise.
|
||
* sparc-nat.c: Likewise.
|
||
* sparc-sol2-tdep.c: Likewise.
|
||
* sparc-tdep.c: Likewise.
|
||
* sparc64-tdep.c: Likewise.
|
||
* sparc64fbsd-tdep.c: Likewise.
|
||
* sparc64nbsd-tdep.c: Likewise.
|
||
* sparcnbsd-tdep.c: Likewise.
|
||
* spu-linux-nat.c: Likewise.
|
||
* spu-multiarch.c: Likewise.
|
||
* spu-tdep.c: Likewise.
|
||
* stabsread.c: Likewise.
|
||
* stack.c: Likewise.
|
||
* std-regs.c: Likewise.
|
||
* symfile.c: Likewise.
|
||
* symmisc.c: Likewise.
|
||
* symtab.c: Likewise.
|
||
* target.c: Likewise.
|
||
* thread.c: Likewise.
|
||
* tilegx-linux-nat.c: Likewise.
|
||
* tilegx-tdep.c: Likewise.
|
||
* top.c: Likewise.
|
||
* tracepoint.c: Likewise.
|
||
* tui/tui-command.c: Likewise.
|
||
* tui/tui-data.c: Likewise.
|
||
* tui/tui-disasm.c: Likewise.
|
||
* tui/tui-file.c: Likewise.
|
||
* tui/tui-layout.c: Likewise.
|
||
* tui/tui-out.c: Likewise.
|
||
* tui/tui-regs.c: Likewise.
|
||
* tui/tui-source.c: Likewise.
|
||
* tui/tui-stack.c: Likewise.
|
||
* tui/tui-win.c: Likewise.
|
||
* tui/tui-windata.c: Likewise.
|
||
* tui/tui-winsource.c: Likewise.
|
||
* typeprint.c: Likewise.
|
||
* ui-file.c: Likewise.
|
||
* ui-out.c: Likewise.
|
||
* user-regs.c: Likewise.
|
||
* utils.c: Likewise.
|
||
* v850-tdep.c: Likewise.
|
||
* valarith.c: Likewise.
|
||
* valops.c: Likewise.
|
||
* valprint.c: Likewise.
|
||
* value.c: Likewise.
|
||
* varobj.c: Likewise.
|
||
* vax-tdep.c: Likewise.
|
||
* vaxnbsd-tdep.c: Likewise.
|
||
* vaxobsd-tdep.c: Likewise.
|
||
* windows-nat.c: Likewise.
|
||
* xcoffread.c: Likewise.
|
||
* xml-support.c: Likewise.
|
||
* xstormy16-tdep.c: Likewise.
|
||
* xtensa-linux-nat.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include gdb_assert.h.
|
||
* aarch64-tdep.c: Do not include gdb_assert.h.
|
||
* addrmap.c: Likewise.
|
||
* aix-thread.c: Likewise.
|
||
* alpha-linux-tdep.c: Likewise.
|
||
* alpha-mdebug-tdep.c: Likewise.
|
||
* alphanbsd-tdep.c: Likewise.
|
||
* amd64-nat.c: Likewise.
|
||
* amd64-tdep.c: Likewise.
|
||
* amd64bsd-nat.c: Likewise.
|
||
* amd64fbsd-nat.c: Likewise.
|
||
* amd64fbsd-tdep.c: Likewise.
|
||
* amd64nbsd-nat.c: Likewise.
|
||
* amd64nbsd-tdep.c: Likewise.
|
||
* amd64obsd-nat.c: Likewise.
|
||
* amd64obsd-tdep.c: Likewise.
|
||
* arch-utils.c: Likewise.
|
||
* arm-tdep.c: Likewise.
|
||
* armbsd-tdep.c: Likewise.
|
||
* auxv.c: Likewise.
|
||
* bcache.c: Likewise.
|
||
* bfin-tdep.c: Likewise.
|
||
* blockframe.c: Likewise.
|
||
* breakpoint.c: Likewise.
|
||
* bsd-kvm.c: Likewise.
|
||
* bsd-uthread.c: Likewise.
|
||
* buildsym.c: Likewise.
|
||
* c-exp.y: Likewise.
|
||
* c-lang.c: Likewise.
|
||
* charset.c: Likewise.
|
||
* cleanups.c: Likewise.
|
||
* cli-out.c: Likewise.
|
||
* cli/cli-decode.c: Likewise.
|
||
* cli/cli-dump.c: Likewise.
|
||
* cli/cli-logging.c: Likewise.
|
||
* cli/cli-script.c: Likewise.
|
||
* cli/cli-utils.c: Likewise.
|
||
* coffread.c: Likewise.
|
||
* common/common-utils.c: Likewise.
|
||
* common/queue.h: Likewise.
|
||
* common/signals.c: Likewise.
|
||
* common/vec.h: Likewise.
|
||
* complaints.c: Likewise.
|
||
* completer.c: Likewise.
|
||
* corelow.c: Likewise.
|
||
* cp-abi.c: Likewise.
|
||
* cp-name-parser.y: Likewise.
|
||
* cp-namespace.c: Likewise.
|
||
* cp-support.c: Likewise.
|
||
* cris-tdep.c: Likewise.
|
||
* dbxread.c: Likewise.
|
||
* dictionary.c: Likewise.
|
||
* doublest.c: Likewise.
|
||
* dsrec.c: Likewise.
|
||
* dummy-frame.c: Likewise.
|
||
* dwarf2-frame-tailcall.c: Likewise.
|
||
* dwarf2-frame.c: Likewise.
|
||
* dwarf2expr.c: Likewise.
|
||
* dwarf2loc.c: Likewise.
|
||
* dwarf2read.c: Likewise.
|
||
* eval.c: Likewise.
|
||
* event-loop.c: Likewise.
|
||
* exceptions.c: Likewise.
|
||
* expprint.c: Likewise.
|
||
* f-valprint.c: Likewise.
|
||
* fbsd-nat.c: Likewise.
|
||
* findvar.c: Likewise.
|
||
* frame-unwind.c: Likewise.
|
||
* frame.c: Likewise.
|
||
* frv-tdep.c: Likewise.
|
||
* gcore.c: Likewise.
|
||
* gdb-dlfcn.c: Likewise.
|
||
* gdb_bfd.c: Likewise.
|
||
* gdbarch.c: Likewise.
|
||
* gdbarch.sh: Likewise.
|
||
* gdbtypes.c: Likewise.
|
||
* gnu-nat.c: Likewise.
|
||
* gnu-v3-abi.c: Likewise.
|
||
* go-lang.c: Likewise.
|
||
* guile/scm-exception.c: Likewise.
|
||
* guile/scm-gsmob.c: Likewise.
|
||
* guile/scm-lazy-string.c: Likewise.
|
||
* guile/scm-math.c: Likewise.
|
||
* guile/scm-pretty-print.c: Likewise.
|
||
* guile/scm-safe-call.c: Likewise.
|
||
* guile/scm-utils.c: Likewise.
|
||
* guile/scm-value.c: Likewise.
|
||
* h8300-tdep.c: Likewise.
|
||
* hppa-hpux-nat.c: Likewise.
|
||
* hppa-tdep.c: Likewise.
|
||
* hppanbsd-tdep.c: Likewise.
|
||
* hppaobsd-tdep.c: Likewise.
|
||
* i386-darwin-nat.c: Likewise.
|
||
* i386-darwin-tdep.c: Likewise.
|
||
* i386-nto-tdep.c: Likewise.
|
||
* i386-tdep.c: Likewise.
|
||
* i386bsd-nat.c: Likewise.
|
||
* i386fbsd-tdep.c: Likewise.
|
||
* i386gnu-nat.c: Likewise.
|
||
* i386nbsd-tdep.c: Likewise.
|
||
* i386obsd-tdep.c: Likewise.
|
||
* i387-tdep.c: Likewise.
|
||
* ia64-libunwind-tdep.c: Likewise.
|
||
* ia64-tdep.c: Likewise.
|
||
* inf-ptrace.c: Likewise.
|
||
* inf-ttrace.c: Likewise.
|
||
* infcall.c: Likewise.
|
||
* infcmd.c: Likewise.
|
||
* infrun.c: Likewise.
|
||
* inline-frame.c: Likewise.
|
||
* interps.c: Likewise.
|
||
* jv-lang.c: Likewise.
|
||
* jv-typeprint.c: Likewise.
|
||
* linux-fork.c: Likewise.
|
||
* linux-nat.c: Likewise.
|
||
* linux-thread-db.c: Likewise.
|
||
* m32c-tdep.c: Likewise.
|
||
* m32r-linux-nat.c: Likewise.
|
||
* m32r-tdep.c: Likewise.
|
||
* m68k-tdep.c: Likewise.
|
||
* m68kbsd-nat.c: Likewise.
|
||
* m68kbsd-tdep.c: Likewise.
|
||
* m88k-tdep.c: Likewise.
|
||
* machoread.c: Likewise.
|
||
* macroexp.c: Likewise.
|
||
* macrotab.c: Likewise.
|
||
* maint.c: Likewise.
|
||
* mdebugread.c: Likewise.
|
||
* memory-map.c: Likewise.
|
||
* mep-tdep.c: Likewise.
|
||
* mi/mi-common.c: Likewise.
|
||
* microblaze-tdep.c: Likewise.
|
||
* mingw-hdep.c: Likewise.
|
||
* mips-linux-nat.c: Likewise.
|
||
* mips-linux-tdep.c: Likewise.
|
||
* mips-tdep.c: Likewise.
|
||
* mips64obsd-tdep.c: Likewise.
|
||
* mipsnbsd-tdep.c: Likewise.
|
||
* mn10300-linux-tdep.c: Likewise.
|
||
* mn10300-tdep.c: Likewise.
|
||
* moxie-tdep.c: Likewise.
|
||
* mt-tdep.c: Likewise.
|
||
* nat/linux-btrace.c: Likewise.
|
||
* nat/linux-osdata.c: Likewise.
|
||
* nat/linux-ptrace.c: Likewise.
|
||
* nat/mips-linux-watch.c: Likewise.
|
||
* nios2-linux-tdep.c: Likewise.
|
||
* nios2-tdep.c: Likewise.
|
||
* objc-lang.c: Likewise.
|
||
* objfiles.c: Likewise.
|
||
* obsd-nat.c: Likewise.
|
||
* opencl-lang.c: Likewise.
|
||
* osabi.c: Likewise.
|
||
* parse.c: Likewise.
|
||
* ppc-linux-nat.c: Likewise.
|
||
* ppc-sysv-tdep.c: Likewise.
|
||
* ppcfbsd-nat.c: Likewise.
|
||
* ppcfbsd-tdep.c: Likewise.
|
||
* ppcnbsd-nat.c: Likewise.
|
||
* ppcnbsd-tdep.c: Likewise.
|
||
* ppcobsd-nat.c: Likewise.
|
||
* ppcobsd-tdep.c: Likewise.
|
||
* printcmd.c: Likewise.
|
||
* procfs.c: Likewise.
|
||
* prologue-value.c: Likewise.
|
||
* psymtab.c: Likewise.
|
||
* python/py-lazy-string.c: Likewise.
|
||
* python/py-value.c: Likewise.
|
||
* regcache.c: Likewise.
|
||
* reggroups.c: Likewise.
|
||
* registry.c: Likewise.
|
||
* remote-sim.c: Likewise.
|
||
* remote.c: Likewise.
|
||
* rs6000-aix-tdep.c: Likewise.
|
||
* rs6000-tdep.c: Likewise.
|
||
* s390-linux-tdep.c: Likewise.
|
||
* score-tdep.c: Likewise.
|
||
* ser-base.c: Likewise.
|
||
* ser-mingw.c: Likewise.
|
||
* sh-tdep.c: Likewise.
|
||
* sh64-tdep.c: Likewise.
|
||
* solib-darwin.c: Likewise.
|
||
* solib-spu.c: Likewise.
|
||
* solib-svr4.c: Likewise.
|
||
* source.c: Likewise.
|
||
* sparc-nat.c: Likewise.
|
||
* sparc-sol2-tdep.c: Likewise.
|
||
* sparc-tdep.c: Likewise.
|
||
* sparc64-sol2-tdep.c: Likewise.
|
||
* sparc64-tdep.c: Likewise.
|
||
* sparc64fbsd-tdep.c: Likewise.
|
||
* sparc64nbsd-tdep.c: Likewise.
|
||
* sparc64obsd-tdep.c: Likewise.
|
||
* sparcnbsd-tdep.c: Likewise.
|
||
* sparcobsd-tdep.c: Likewise.
|
||
* spu-multiarch.c: Likewise.
|
||
* spu-tdep.c: Likewise.
|
||
* stabsread.c: Likewise.
|
||
* stack.c: Likewise.
|
||
* symfile.c: Likewise.
|
||
* symtab.c: Likewise.
|
||
* target-descriptions.c: Likewise.
|
||
* target-memory.c: Likewise.
|
||
* target.c: Likewise.
|
||
* tic6x-linux-tdep.c: Likewise.
|
||
* tic6x-tdep.c: Likewise.
|
||
* tilegx-linux-nat.c: Likewise.
|
||
* tilegx-tdep.c: Likewise.
|
||
* top.c: Likewise.
|
||
* tramp-frame.c: Likewise.
|
||
* tui/tui-out.c: Likewise.
|
||
* tui/tui-winsource.c: Likewise.
|
||
* ui-out.c: Likewise.
|
||
* user-regs.c: Likewise.
|
||
* utils.c: Likewise.
|
||
* v850-tdep.c: Likewise.
|
||
* valops.c: Likewise.
|
||
* value.c: Likewise.
|
||
* varobj.c: Likewise.
|
||
* vax-nat.c: Likewise.
|
||
* xml-syscall.c: Likewise.
|
||
* xml-tdesc.c: Likewise.
|
||
* xstormy16-tdep.c: Likewise.
|
||
* xtensa-linux-nat.c: Likewise.
|
||
* xtensa-tdep.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include common-utils.h.
|
||
* defs.h: Do not include common-utils.h.
|
||
* common/gdb_assert.h: Likewise.
|
||
* darwin-nat.h: Likewise.
|
||
* nat/linux-btrace.c: Likewise.
|
||
* target/waitstatus.h: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include ptid.h.
|
||
* defs.h: Do not include ptid.h.
|
||
* inferior.h: Likewise.
|
||
* infrun.h: Likewise.
|
||
* nat/linux-btrace.h: Likewise.
|
||
* nat/linux-osdata.h: Likewise.
|
||
* target/waitstatus.h: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include gdb_locale.h.
|
||
* defs.h: Do not include gdb_locale.h.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include gdb/signals.h.
|
||
* defs.h: Do not include gdb/signals.h.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include pathmax.h.
|
||
* defs.h: Do not include pathmax.h.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include libiberty.h.
|
||
* defs.h: Do not include libiberty.h.
|
||
* common/queue.h: Likewise.
|
||
* cp-name-parser.y: Likewise.
|
||
* mi/mi-cmd-catch.c: Likewise.
|
||
* python/python.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include ansidecl.h.
|
||
* defs.h: Do not include ansidecl.h.
|
||
* common/buffer.h: Likewise.
|
||
* common/common-utils.h: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include stddef.h.
|
||
* defs.h: Do not include stddef.h.
|
||
* common/common-utils.h: Likewise.
|
||
* amd64fbsd-nat.c: Likewise.
|
||
* bcache.c: Likewise.
|
||
* charset.c: Likewise.
|
||
* common/buffer.h: Likewise.
|
||
* common/vec.h: Likewise.
|
||
* i386bsd-nat.c: Likewise.
|
||
* nat/linux-btrace.h: Likewise.
|
||
* ppcfbsd-nat.c: Likewise.
|
||
* ppcnbsd-tdep.h: Likewise.
|
||
* ppcobsd-nat.c: Likewise.
|
||
* ppcobsd-tdep.h: Likewise.
|
||
* python/py-gdb-readline.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include stdarg.h.
|
||
* defs.h: Do not include stdarg.h.
|
||
* ada-lang.c: Likewise.
|
||
* common/common-utils.h: Likewise.
|
||
* guile/scm-string.c: Likewise.
|
||
* guile/scm-utils.c: Likewise.
|
||
* m32c-tdep.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include stdlib.h.
|
||
* defs.h: Do not include stdlib.h.
|
||
* addrmap.c: Likewise.
|
||
* bcache.c: Likewise.
|
||
* common/buffer.c: Likewise.
|
||
* common/common-utils.c: Likewise.
|
||
* cp-name-parser.y: Likewise.
|
||
* go32-nat.c: Likewise.
|
||
* mn10300-linux-tdep.c: Likewise.
|
||
* nat/linux-osdata.c: Likewise.
|
||
* tui/tui.c: Likewise.
|
||
* windows-nat.c: Likewise.
|
||
|
||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: Include stdio.h.
|
||
* defs.h: Do not include stdio.h.
|
||
* ada-lang.c: Likewise.
|
||
* common/buffer.c: Likewise.
|
||
* common/common-utils.c: Likewise.
|
||
* cp-name-parser.y: Likewise.
|
||
* gnu-nat.c: Likewise.
|
||
* go32-nat.c: Likewise.
|
||
* i386gnu-nat.c: Likewise.
|
||
* proc-api.c: Likewise.
|
||
* proc-events.c: Likewise.
|
||
* proc-flags.c: Likewise.
|
||
* proc-why.c: Likewise.
|
||
* python/python-internal.h: Likewise.
|
||
* target-memory.c: Likewise.
|
||
* tui/tui-io.c: Likewise.
|
||
* tui/tui.c: Likewise.
|
||
|
||
2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
|
||
(scan_dyntag_auxv): Same.
|
||
|
||
2014-08-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* amd64-linux-nat.c: Remove duplicated include
|
||
"x86-linux-nat.h".
|
||
* i386-linux-nat.c: Likewise.
|
||
|
||
2014-08-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dwarf2read.c (dwarf_decode_lines_1): Replace "Special
|
||
operand" with "Special opcode" in comments.
|
||
|
||
2014-08-05 Gary Benson <gbenson@redhat.com>
|
||
|
||
* interps.c (initialize_interps): Remove prototype.
|
||
(interpreter_initialized): Remove static global.
|
||
(interp_add): Do not call initialize_interps.
|
||
(initialize_interps): Remove function.
|
||
|
||
2014-08-05 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.c (vwarning): Remove spurious va_end.
|
||
|
||
2014-08-05 Alan Modra <amodra@gmail.com>
|
||
|
||
* charset.c (convert_between_encodings): Cast result of obstack_base.
|
||
* cp-valprint.c (cp_print_value_fields): Use size_t locals.
|
||
* hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
|
||
(read_unwind_info): Use size_t for some locals.
|
||
* jit.c (finalize_symtab): Likewise.
|
||
* utils.c (hashtab_obstack_allocate): Likewise.
|
||
* symmisc.c (print_objfile_statistics): Update format strings.
|
||
|
||
2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
|
||
(Changes in GDB 7.8): ... here.
|
||
|
||
2014-08-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (set_targetdebug): New function.
|
||
(initialize_targets): Pass set_targetdebug when creating "set
|
||
debug target".
|
||
|
||
2014-08-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbtypes.c (resolve_dynamic_struct): Do not generate an error
|
||
if detecting a variable-sized field that is not the last field.
|
||
Fix struct type length computation.
|
||
|
||
2014-08-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
|
||
Add debug trace.
|
||
|
||
2014-08-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
|
||
Remove "+ 8" offset in computation of CHAIN_VMA.
|
||
|
||
2014-07-31 Doug Evans <dje@google.com>
|
||
|
||
* inflow.c (child_terminal_inferior): Add comment.
|
||
(child_terminal_ours_for_output): Add comment.
|
||
(child_terminal_ours): Add comment.
|
||
* linux-nat.c (linux_nat_terminal_inferior): Add comment.
|
||
(linux_nat_terminal_ours): Add comment.
|
||
|
||
2014-07-31 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/btrace-common.h: Do not include defs.h or server.h.
|
||
* nat/mips-linux-watch.h: Likewise.
|
||
* gdb-dlfcn.h: Do not include defs.h.
|
||
* tracefile.h: Likewise.
|
||
|
||
2014-07-30 Roland McGrath <mcgrathr@google.com>
|
||
|
||
* remote-sim.c (gdbsim_open): Apply constification to forward decl.
|
||
|
||
2014-07-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* bsd-kvm.c (bsd_kvm_open): Constify.
|
||
* corelow.c (core_open): Constify.
|
||
* ctf.c (ctf_open): Constify.
|
||
* dbug-rom.c (dbug_open): Constify.
|
||
* exec.c (exec_open): Constify.
|
||
* m32r-rom.c (m32r_open, mon2000_open): Constify.
|
||
* microblaze-rom.c (picobug_open): Constify.
|
||
* nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
|
||
Constify.
|
||
* ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
|
||
* record-btrace.c (record_btrace_open): Constify.
|
||
* record-full.c (record_full_core_open_1, record_full_open_1)
|
||
(record_full_open): Constify.
|
||
* remote-m32r-sdi.c (m32r_open): Constify.
|
||
* remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
|
||
(rockhopper_open, lsi_open): Constify.
|
||
* remote-sim.c (gdbsim_open): Constify.
|
||
* remote.c (remote_open, extended_remote_open, remote_open_1):
|
||
Constify.
|
||
* target.h (struct target_ops) <to_open>: Make "arg" const.
|
||
* tracefile-tfile.c (tfile_open): Constify.
|
||
|
||
2014-07-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* breakpoint.c (map_breakpoint_numbers): Update.
|
||
* cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
|
||
(get_number_const): New function.
|
||
(get_number): Rewrite using get_number_const.
|
||
(init_number_or_range): Make "string" const.
|
||
(number_is_in_list): Make "list" const.
|
||
* cli/cli-utils.h (get_number_const): Declare.
|
||
(struct get_number_or_range_state) <string, end_ptr>: Now const.
|
||
(init_number_or_range, number_is_in_list): Update.
|
||
* printcmd.c (map_display_numbers): Update.
|
||
* value.c (value_from_history_ref): Constify.
|
||
* value.h (value_from_history_ref): Update.
|
||
|
||
2014-07-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* corefile.c (hook_type, call_extra_exec_file_hooks)
|
||
(specify_exec_file_hook): Constify.
|
||
* exec.c (exec_file_attach): Make "filename" const.
|
||
* gdbcore.h (deprecated_exec_file_display_hook)
|
||
(specify_exec_file_hook, exec_file_attach): Constify.
|
||
* main.c (captured_main): Use catch_command_errors_const.
|
||
|
||
2014-07-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (open_target): New function.
|
||
(add_target_with_completer, add_deprecated_target_alias): Use
|
||
set_cmd_sfunc, set_cmd_context.
|
||
(debug_to_open): Remove.
|
||
(setup_target_debug): Update.
|
||
|
||
2014-07-30 Yao Qi <yao@codesourcery.com>
|
||
|
||
* parser-defs.h (struct exp_descriptor) <operator_check>: Update
|
||
comments.
|
||
* parse.c (exp_iterate): Update comments.
|
||
|
||
2014-07-30 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-defs.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
|
||
* defs.h: Include common-defs.h.
|
||
Do not include config.h or build-gnulib/config.h.
|
||
|
||
2014-07-30 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/common-utils.h: Do not include config.h.
|
||
* nat/linux-btrace.h: Likewise.
|
||
|
||
2014-07-30 Gary Benson <gbenson@redhat.com>
|
||
|
||
* btrace.c: Include defs.h.
|
||
* common/ptid.c: Include defs.h or server.h as appropriate.
|
||
* nat/mips-linux-watch.c: Likewise.
|
||
|
||
2014-07-29 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (target_is_pushed): Simplify.
|
||
|
||
2014-07-29 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.8 released.
|
||
|
||
2014-07-29 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR gdb/17206
|
||
* infcmd.c (until_next_command): Set step_range_end to PC + 1.
|
||
|
||
2014-07-28 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/17203
|
||
* guile/scm-param.c (pascm_parameter_defined_p): New function.
|
||
(gdbscm_register_parameter_x): Call it. Raise error for pre-existing
|
||
parameters.
|
||
|
||
2014-07-28 Will Newton <will.newton@linaro.org>
|
||
|
||
* arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
|
||
(THUMB2_SET_R7_SIGRETURN2): Likewise.
|
||
(THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
|
||
(THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
|
||
(THUMB2_EABI_SYSCALL): Likewise.
|
||
(thumb2_eabi_linux_sigreturn_tramp_frame): Create new
|
||
struct tramp_frame.
|
||
(thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
|
||
(arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
|
||
|
||
2014-07-27 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-param.c (pascm_print_param_smob): Fix output.
|
||
|
||
2014-07-27 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
|
||
|
||
2014-07-26 Ludovic Courtès <ludo@gnu.org>
|
||
Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/17146
|
||
* acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
|
||
(GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
|
||
* configure.ac: Try to use guild to compile an scm file, if it fails
|
||
then disable guile support.
|
||
* configure: Regenerate.
|
||
* data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
|
||
GUILE_FILE_LIST.
|
||
(GUILE_COMPILED_FILES): New variable.
|
||
(GUILE_FILES) Update.
|
||
(GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
|
||
(stamp-guile): Compile scm files.
|
||
* guile/guile.c (boot_guile_support): New function.
|
||
(standard_throw_args_p): New function.
|
||
(print_standard_throw_error, print_throw_error): New functions.
|
||
(handle_boot_error): New function.
|
||
(initialize_scheme_side): Rewrite to call boot_guile_support.
|
||
* guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
|
||
* guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
|
||
|
||
2014-07-26 Ludovic Courtès <ludo@gnu.org>
|
||
Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/17146
|
||
* data-directory/Makefile.in (GUILE_FILES): Add support.scm.
|
||
* guile/lib/gdb/support.scm: New file.
|
||
* guile/guile.c (gdbscm_init_module_name): Change to "gdb".
|
||
* guile/lib/gdb.scm: Load gdb/init.scm as an include file.
|
||
All uses updated.
|
||
* guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
|
||
All uses updated.
|
||
(%assert-type): Ditto, and renamed to assert-type.
|
||
(%exception-print-style): Delete.
|
||
|
||
2014-07-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR build/17105
|
||
* configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
|
||
* configure: Regenerate.
|
||
* data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
|
||
PYTHON_FILES.
|
||
(PYTHON_FILES): New variable.
|
||
(GUILE_FILE_LIST): Renamed from GUILE_FILES.
|
||
(GUILE_FILES): New variable.
|
||
(stamp-python, install-python, uninstall-python): Handle empty
|
||
file list.
|
||
(stamp-guile, install-guile, uninstall-guile): Ditto.
|
||
|
||
2014-07-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/17177
|
||
* guile/lib/gdb.scm (pretty-printers): Export.
|
||
(set-pretty-printers!): Export.
|
||
* guile/lib/gdb/printing.scm (gdb module): Update.
|
||
(prepend-pretty-printer!, append-pretty-printer!): Update.
|
||
* guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
|
||
(pretty_printer_list_var): Delete.
|
||
(pretty_printer_list): New static global.
|
||
(gdbscm_pretty_printers): New function.
|
||
(gdbscm_set_pretty_printers_x): New function.
|
||
(ppscm_find_pretty_printer_from_gdb): Update.
|
||
(pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
|
||
(gdbscm_initialize_pretty_printers): Update.
|
||
|
||
2014-07-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR 17185
|
||
* configure.ac: Add check for header gc/gc.h.
|
||
Add check for function setenv.
|
||
* configure: Regenerate.
|
||
* config.in: Regenerate.
|
||
* guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
|
||
|
||
2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
|
||
variation in gdbarch matching.
|
||
|
||
2014-07-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* exec.c (using_exec_ops): Remove.
|
||
(exec_close_1): Update. Remove extraneous block, reindent.
|
||
(add_target_sections): Use target_is_pushed.
|
||
|
||
2014-07-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
|
||
* monitor.c (monitor_create_inferior): Likewise.
|
||
* remote-m32r-sdi.c (m32r_create_inferior): Likewise.
|
||
* remote-sim.c (gdbsim_create_inferior): Likewise.
|
||
* solib-irix.c (irix_solib_create_inferior_hook): Likewise.
|
||
* solib-osf.c (osf_solib_create_inferior_hook): Likewise.
|
||
* windows-nat.c (do_initial_windows_stuff): Likewise.
|
||
|
||
2014-07-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* NEWS: Mention signal passing and "signal" command changes.
|
||
* gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
|
||
comment.
|
||
* breakpoint.c (until_break_command): Adjust clear_proceed_status
|
||
call.
|
||
* infcall.c (run_inferior_call): Adjust clear_proceed_status call.
|
||
* infcmd.c (proceed_thread_callback, continue_1, step_once)
|
||
(jump_command): Adjust clear_proceed_status call.
|
||
(signal_command): Warn if other thread that are resumed have
|
||
signals that will be delivered. Adjust clear_proceed_status call.
|
||
(until_next_command, finish_command)
|
||
(proceed_after_attach_callback, attach_command_post_wait)
|
||
(attach_command): Adjust clear_proceed_status call.
|
||
* infrun.c (proceed_after_vfork_done): Likewise.
|
||
(proceed_after_attach_callback): Adjust comment.
|
||
(clear_proceed_status_thread): Clear stop_signal if not in pass
|
||
state.
|
||
(clear_proceed_status_callback): Delete.
|
||
(clear_proceed_status): New 'step' parameter. Only clear the
|
||
proceed status of threads the command being prepared is about to
|
||
resume.
|
||
(proceed): If passed in an explicit signal, override stop_signal
|
||
with it. Don't pass the last stop signal to the thread we're
|
||
resuming.
|
||
(init_wait_for_inferior): Adjust clear_proceed_status call.
|
||
(switch_back_to_stepped_thread): Clear the signal if it should not
|
||
be passed.
|
||
* infrun.h (clear_proceed_status): New 'step' parameter.
|
||
(user_visible_resume_ptid): Add comment.
|
||
* linux-nat.c (linux_nat_resume_callback): Don't check whether the
|
||
signal is in pass state.
|
||
* remote.c (append_pending_thread_resumptions): Likewise.
|
||
* mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
|
||
|
||
2014-07-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (target_stopped_data_address)
|
||
(target_watchpoint_addr_within_range): Use "->", not ".". Fix
|
||
parentheses.
|
||
|
||
2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
|
||
comments.
|
||
(avr_pointer_to_address): Likewise.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* monitor.c (compile_pattern): Update.
|
||
* target.h (struct target_ops) <to_shortname, to_longname,
|
||
to_doc>: Now const.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.c (add_cmd, add_prefix_cmd)
|
||
(add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
|
||
(add_info_alias, add_com): Make "doc" const.
|
||
(print_doc_line): Make "str" const.
|
||
(delete_cmd): Update.
|
||
* cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
|
||
(print_doc_line): Update.
|
||
* cli/cli-script.c (document_command): Update.
|
||
* command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
|
||
(add_com, add_info, add_info_alias): Update.
|
||
* guile/scm-cmd.c (cmdscm_destroyer): Update.
|
||
* python/py-cmd.c (cmdpy_destroyer): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.c (print_help_for_command): Make "prefix" const.
|
||
(add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
|
||
(help_cmd_list): Constify.
|
||
(lookup_cmd): Update.
|
||
* cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
|
||
const.
|
||
(help_cmd_list, apropos_cmd): Update.
|
||
* cli/cli-script.c (show_user): Update.
|
||
* cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
|
||
* cli/cli-setshow.h (cmd_show_list): Update.
|
||
* command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
|
||
(cmd_show_list): Update.
|
||
* guile/scm-cmd.c (cmdscm_destroyer): Update.
|
||
* python/py-cmd.c (cmdpy_destroyer): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
|
||
* cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
|
||
const.
|
||
* command.h (deprecate_cmd): Update.
|
||
* maint.c (maintenance_do_deprecate): Add casts.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.c (help_cmd): Make parameter "const".
|
||
* cli/cli-decode.h (help_cmd): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* stack.c (up_silently_base, down_silently_base): Make argument
|
||
const.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* solib.c (solib_add): Make "pattern" const.
|
||
* solib.h (solib_add): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* remote.c (remote_serial_open, print_packet, putpkt)
|
||
(putpkt_binary): Constify.
|
||
* remote.h (putpkt): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* monitor.c (monitor_open): Make "args" const.
|
||
* monitor.h (monitor_open): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* maint.c (match_bfd_flags): Make "string" const.
|
||
(print_bfd_section_info): Remove casts.
|
||
(print_objfile_section_info): Make "string" const.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* inf-child.c (inf_child_open_target): Make "arg" const.
|
||
* inf-child.h (inf_child_open_target): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* environ.c (unset_in_environ): Make "var" const.
|
||
* environ.h (unset_in_environ): Update.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-dump.c (scan_expression_with_cleanup): Return const.
|
||
Make "cmd" const.
|
||
(scan_filename_with_cleanup): Likewise.
|
||
(dump_memory_to_file, dump_value_to_file, restore_binary_file):
|
||
Make arguments const.
|
||
(restore_command): Update.
|
||
|
||
2014-07-24 Pedro Alves <palves@redhat.com>
|
||
|
||
* tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/linux-ptrace.c (additional_flags): New global.
|
||
(linux_test_for_tracesysgood, linux_test_for_tracefork): Use
|
||
additional_flags; don't check GDBSERVER.
|
||
(linux_ptrace_set_additional_flags): New function.
|
||
* nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
|
||
Declare.
|
||
* linux-nat.c (_initialize_linux_nat): Call
|
||
linux_ptrace_set_additional_flags.
|
||
|
||
2014-07-24 Tom Tromey <tromey@redhat.com>
|
||
|
||
* make-target-delegates (munge_type, write_debugmethod): New
|
||
functions.
|
||
(debug_names): New global.
|
||
($TARGET_DEBUG_PRINTER): New global.
|
||
(write_function_header): Strip TARGET_DEBUG_PRINTER from the type
|
||
name.
|
||
Write debug methods. Generate init_debug_target.
|
||
* target-debug.h: New file.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c: Include target-debug.h.
|
||
(debug_target): Hoist definition.
|
||
(target_kill, target_get_section_table, target_memory_map)
|
||
(target_flash_erase, target_flash_done, target_detach)
|
||
(target_disconnect, target_wait, target_resume)
|
||
(target_pass_signals, target_program_signals, target_follow_fork)
|
||
(target_mourn_inferior, target_search_memory)
|
||
(target_thread_address_space, target_close)
|
||
(target_find_new_threads, target_core_of_thread)
|
||
(target_verify_memory, target_insert_mask_watchpoint)
|
||
(target_remove_mask_watchpoint): Remove targetdebug code.
|
||
(debug_to_post_attach, debug_to_prepare_to_store)
|
||
(debug_to_files_info, debug_to_insert_breakpoint)
|
||
(debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
|
||
(debug_to_region_ok_for_hw_watchpoint)
|
||
(debug_to_can_accel_watchpoint_condition)
|
||
(debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
|
||
(debug_to_watchpoint_addr_within_range)
|
||
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
|
||
(debug_to_insert_watchpoint, debug_to_remove_watchpoint)
|
||
(debug_to_terminal_init, debug_to_terminal_inferior)
|
||
(debug_to_terminal_ours_for_output, debug_to_terminal_ours)
|
||
(debug_to_terminal_save_ours, debug_to_terminal_info)
|
||
(debug_to_load, debug_to_post_startup_inferior)
|
||
(debug_to_insert_fork_catchpoint)
|
||
(debug_to_remove_fork_catchpoint)
|
||
(debug_to_insert_vfork_catchpoint)
|
||
(debug_to_remove_vfork_catchpoint)
|
||
(debug_to_insert_exec_catchpoint)
|
||
(debug_to_remove_exec_catchpoint, debug_to_has_exited)
|
||
(debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
|
||
(debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
|
||
(setup_target_debug): Call init_debug_target.
|
||
* target.h (TARGET_DEBUG_PRINTER): New macro.
|
||
(struct target_ops) <to_resume, to_wait, to_pass_signals,
|
||
to_program_signals>: Use TARGET_DEBUG_PRINTER.
|
||
|
||
2014-07-24 Gary Benson <gbenson@redhat.com>
|
||
|
||
* exceptions.h (throw_vfatal): Renamed to...
|
||
(throw_vquit): New declaration.
|
||
(throw_quit): Likewise.
|
||
* exceptions.c (throw_vfatal): Renamed to...
|
||
(throw_vquit): New function.
|
||
(throw_quit): Likewise.
|
||
(throw_error): Call throw_verror rather than throw_it.
|
||
* utils.h (vfatal): Removed.
|
||
(fatal): Likewise.
|
||
* utils.c (vfatal): Removed.
|
||
(fatal): Likewise.
|
||
(internal_verror): Replaced call to fatal with call to throw_quit.
|
||
(quit): Replaced calls to fatal with calls to throw_quit.
|
||
|
||
2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
|
||
|
||
* microblaze-tdep.c (microblaze_fetch_instruction): Use of
|
||
target_read_code.
|
||
|
||
2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
|
||
|
||
* microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
|
||
less than zero in conditional expression.
|
||
|
||
2014-07-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
* make-target-delegates ($ARGS_PART): Match trailing close paren.
|
||
($INTRO_PART): Don't match whitespace.
|
||
($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
|
||
argument matching.
|
||
($METHOD): Add $METHOD_TRAILER.
|
||
(trim): Rewrite.
|
||
(scan_target_h): New sub.
|
||
Change main loop not to collect state.
|
||
* target-delegates.c: Rebuild.
|
||
|
||
2014-07-23 Gary Benson <gbenson@redhat.com>
|
||
|
||
* cp-support.c (gdb_demangle): Fix build on systems without
|
||
sigaltstack.
|
||
|
||
2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
|
||
for reference entry value target data value.
|
||
|
||
2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* stack.c (read_frame_arg): Verify value_optimized_out before calling
|
||
value_available_contents_eq.
|
||
|
||
2014-07-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* value.c (allocate_optimized_out_value): Don't mark value as
|
||
non-lazy.
|
||
|
||
2014-07-22 Jiong Wang <jiong.wang@arm.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Update my email address.
|
||
|
||
2014-07-20 Doug Evans <dje@google.com>
|
||
|
||
PR server/17147
|
||
* remote.c (putpkt_binary): Add text to error message.
|
||
|
||
2014-07-20 Yao Qi <yao@codesourcery.com>
|
||
|
||
* eval.c: Remove "Chill" from comments.
|
||
* gdbtypes.h: Likewise.
|
||
* symtab.h: Likewise.
|
||
|
||
2014-07-20 Yao Qi <yao@codesourcery.com>
|
||
|
||
* std-operator.def: Update comments to TERNOP_SLICE.
|
||
|
||
2014-07-20 Yao Qi <yao@codesourcery.com>
|
||
|
||
* std-operator.def: Remove BINOP_RANGE.
|
||
* breakpoint.c (watchpoint_exp_is_const): Update.
|
||
* expprint.c (dump_subexp_body_standard): Likewise.
|
||
* eval.c (init_array_element): Remove dead code.
|
||
(evaluate_subexp_standard): Likewise.
|
||
|
||
2014-07-20 Yao Qi <yao@codesourcery.com>
|
||
|
||
* std-operator.def: Remove BINOP_IN.
|
||
* breakpoint.c (watchpoint_exp_is_const): Update.
|
||
* eval.c (evaluate_subexp_standard): Likewise.
|
||
* expprint.c (dump_subexp_body_standard): Likewise.
|
||
|
||
2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
|
||
|
||
* microblaze-tdep.c (microblaze_register_names): Add
|
||
the rshr and rslr register names.
|
||
(microblaze_gdbarch_init): Use of tdesc_has_registers.
|
||
Use of tdesc_find_feature. Use of tdesc_data_alloc.
|
||
Use of tdesc_numbered_register. Use of
|
||
microblaze_register_g_packet_guesses. Use of
|
||
tdesc_use_registers. Use of set_gdbarch_register_type.
|
||
(microblaze_register_g_packet_guesses): New.
|
||
* microblaze-tdep.h (microblaze_reg_num): Add
|
||
field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
|
||
MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
|
||
(microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
|
||
* features/microblaze-core.xml: New file.
|
||
* features/microblaze-stack-protect.xml: New file.
|
||
* features/microblaze-with-stack-protect.c: New file.
|
||
* features/microblaze-with-stack-protect.xml: New file.
|
||
* features/microblaze.xml: New file.
|
||
* features/microblaze.c: New file.
|
||
* features/Makefile (microblaze-with-stack-protect): Add
|
||
microblaze-with-stack-protect microblaze and microblaze-expedite.
|
||
* regformats/microblaze-with-stack-protect.dat: New file.
|
||
* regformats/microblaze.dat: New file.
|
||
|
||
2014-07-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* exec.c (exec_ops): Now static.
|
||
* exec.h (exec_ops): Don't declare.
|
||
|
||
2014-07-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
|
||
to find_target_beneath.
|
||
* ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
|
||
find_target_beneath.
|
||
(ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
|
||
|
||
2014-07-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR gdb/17130:
|
||
* utils.c (quit): Use target_supports_terminal_ours.
|
||
* target.h (target_supports_terminal_ours): Declare.
|
||
* target.c (target_supports_delete_record): Don't check
|
||
to_delete_record against NULL.
|
||
(target_supports_terminal_ours): New function.
|
||
|
||
2014-07-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR gdb/17130:
|
||
* spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
|
||
(spu_fetch_registers, spu_store_registers, spu_xfer_partial)
|
||
(spu_search_memory, spu_mourn_inferior): Simplify delegation.
|
||
* linux-thread-db.c (thread_db_pid_to_str): Always delegate.
|
||
* windows-nat.c (windows_xfer_partial): Always delegate.
|
||
* record-btrace.c (record_btrace_xfer_partial): Simplify
|
||
delegation.
|
||
(record_btrace_fetch_registers, record_btrace_store_registers)
|
||
(record_btrace_prepare_to_store, record_btrace_resume)
|
||
(record_btrace_wait, record_btrace_find_new_threads)
|
||
(record_btrace_thread_alive): Likewise.
|
||
* procfs.c (procfs_xfer_partial): Always delegate.
|
||
* corelow.c (core_xfer_partial): Always delegate.
|
||
* sol-thread.c (sol_find_new_threads): Simplify delegation.
|
||
|
||
2014-07-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* exec.c (exec_make_note_section): Move earlier.
|
||
|
||
2014-07-17 Doug Evans <dje@google.com>
|
||
|
||
PR gdb/17170
|
||
* maint.c (count_symtabs_and_blocks): Handle NULL
|
||
current_program_space.
|
||
(report_command_stats): Check global enabled flag in addition to
|
||
recorded enabled flag.
|
||
(make_command_stats_cleanup): Handle msg_type == 0, startup.
|
||
|
||
2014-07-16 Pedro Alves <palves@redhat.com>
|
||
|
||
* linux-nat.c (kill_callback): Use kill_lwp, not kill.
|
||
|
||
2014-07-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_delete_record>: Reformat
|
||
comment.
|
||
|
||
2014-07-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
|
||
2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
|
||
(AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
|
||
(avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
|
||
(avr_pointer_to_address): Likewise.
|
||
(avr_address_class_type_flags): New function.
|
||
(avr_address_class_type_flags_to_name): Likewise.
|
||
(avr_address_class_name_to_type_flags): Likewise.
|
||
(avr_gdbarch_init): Set address_class_type_flags,
|
||
address_class_type_flags_to_name and
|
||
address_class_name_to_type_flags.
|
||
|
||
2014-07-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* linux-nat.c (kill_callback): Save errno and work with saved
|
||
copy.
|
||
|
||
2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* expprint.c (dump_subexp_body_standard): Handle OP_STRING.
|
||
|
||
2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
||
|
||
* ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
|
||
breakpoint support correctly.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* utils.c (prompt_for_continue): Call target_terminal_ours.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
|
||
catch_errors. Don't re-enable stdin or notify observers where,
|
||
and rethrow error.
|
||
(fetch_inferior_event_wrapper): Delete.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17072
|
||
* top.c: Include "inf-loop.h".
|
||
(struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
|
||
field.
|
||
(gdb_readline_wrapper_cleanup): Make the target async again, if it
|
||
was async before.
|
||
(gdb_readline_wrapper): Store whether the target is async, and
|
||
make it sync.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17072
|
||
* top.c (gdb_readline_wrapper_line): Tweak comment.
|
||
(gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
|
||
the input handler callback.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17072
|
||
* main.c: Include event-top.h.
|
||
(handle_command_errors): New function.
|
||
(catch_command_errors, catch_command_errors_const): Use it.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* exceptions.c (catch_command_errors, catch_command_errors_const):
|
||
Moved to main.c.
|
||
* exceptions.h (catch_command_errors_ftype)
|
||
(catch_command_errors_const_ftype): Moved to main.c.
|
||
(catch_command_errors, catch_command_errors_const): Delete
|
||
declarations.
|
||
* main.c (catch_command_errors_ftype)
|
||
(catch_command_errors_const_ftype): Moved here from exceptions.h.
|
||
(catch_command_errors, catch_command_errors_const)): Moved here
|
||
from exceptions.c and make static.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* exceptions.c (print_any_exception): Delete.
|
||
(catch_exceptions_with_msg): Use exception_print instead of
|
||
print_any_exception.
|
||
(catch_errors): Use exception_fprintf instead of
|
||
print_any_exception.
|
||
(catch_command_errors, catch_command_errors_const): Use
|
||
exception_print instead of print_any_exception.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* infcall.c (run_inferior_call): Set 'sync_execution' while
|
||
running the inferior call.
|
||
|
||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* value.c (value_contents_equal): Delete function.
|
||
* value.h (value_contents_equal): Delete declaration.
|
||
|
||
2014-07-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR exp/17106:
|
||
* gdbtypes.c (is_dynamic_type_internal): New function, from
|
||
is_dynamic_type.
|
||
(is_dynamic_type): Rewrite.
|
||
(resolve_dynamic_union): Use resolve_dynamic_type_internal.
|
||
(resolve_dynamic_struct): Likewise.
|
||
(resolve_dynamic_type_internal): New function, from
|
||
resolve_dynamic_type.
|
||
(resolve_dynamic_type): Rewrite.
|
||
|
||
2014-07-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (target_require_runnable): Also check record_stratum.
|
||
Update comment.
|
||
|
||
2014-07-11 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_analyze_prologue): Break the loop if
|
||
thumb_instruction_restores_sp return true.
|
||
|
||
2014-07-11 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_instruction_restores_sp): New function.
|
||
(thumb_in_function_epilogue_p): Call
|
||
thumb_instruction_restores_sp.
|
||
|
||
2014-07-11 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_analyze_prologue): Don't match instruction
|
||
'add sp, #imm'.
|
||
(thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c (gdbcore.h): Remove include.
|
||
(regset.h): Likewise.
|
||
(nat/linux-btrace.h): Likewise.
|
||
(btrace.h): Likewise.
|
||
(gdb_assert.h): Likewise.
|
||
(string.h): Likewise.
|
||
(sys/uio.h): Likewise.
|
||
(sys/debugreg.h): Likewise.
|
||
(sys/syscall.h): Likewise.
|
||
(sys/procfs.h): Likewise.
|
||
(sys/user.h): Likewise.
|
||
(asm/ptrace.h): Likewise.
|
||
(i386-nat.h): Likewise.
|
||
* i386-linux-nat.c (i386-nat.h): Likewise.
|
||
(regset.h): Likewise.
|
||
(target.h): Likewise.
|
||
(linux-nat.h): Likewise.
|
||
(nat/linux-btrace.h): Likewise.
|
||
(btrace.h): Likewise.
|
||
(gdb_assert.h): Likewise.
|
||
(string.h): Likewise.
|
||
(sys/uio.h): Likewise.
|
||
(sys/user.h): Likewise.
|
||
(sys/procfs.h): Likewise.
|
||
(sys/reg.h): Likewise.
|
||
(sys/debugreg.h): Likewise.
|
||
(ORIG_EAX): Remove definition.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-linux-nat.h: New file.
|
||
* x86-linux-nat.h: Likewise.
|
||
* x86-linux-nat.c: Likewise.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
|
||
* config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
|
||
* config/i386/linux64.mh (NATDEPFILES): Likewise.
|
||
* amd64-linux-nat.c (x86-linux-nat.h): New include.
|
||
(PTRACE_GETREGSET): Now in x86-linux-nat.h.
|
||
(PTRACE_SETREGSET): Likewise.
|
||
(arch_lwp_info): Now in x86-linux-nat.c.
|
||
(have_ptrace_getregset): Now in x86-linux-nat.h.
|
||
(x86_linux_dr_get): Now in x86-linux-nat.c.
|
||
(x86_linux_dr_set): Likewise.
|
||
(x86_linux_dr_get_addr): Likewise.
|
||
(x86_linux_dr_get_control): Likewise.
|
||
(x86_linux_dr_get_status): Likewise.
|
||
(update_debug_registers_callback): Likewise.
|
||
(x86_linux_dr_set_control): Likewise.
|
||
(x86_linux_dr_set_addr): Likewise.
|
||
(x86_linux_prepare_to_resume): Likewise.
|
||
(x86_linux_new_thread): Likewise.
|
||
(x86_linux_new_fork): Likewise.
|
||
(x86_linux_get_thread_area): Likewise.
|
||
(super_post_startup_inferior): Likewise.
|
||
(x86_linux_child_post_startup_inferior): Likewise.
|
||
(AMD64_LINUX_USER64_CS): Likewise.
|
||
(AMD64_LINUX_X32_DS): Likewise.
|
||
(x86_linux_read_description): Likewise.
|
||
(x86_linux_enable_btrace): Likewise.
|
||
(x86_linux_disable_btrace): Likewise.
|
||
(x86_linux_teardown_btrace): Likewise.
|
||
(x86_linux_read_btrace): Likewise.
|
||
(x86_linux_create_target): Likewise.
|
||
(x86_linux_add_target): Likewise.
|
||
* i386-linux-nat.c (x86-linux-nat.h): New include.
|
||
(PTRACE_GETREGSET): Now in x86-linux-nat.h.
|
||
(PTRACE_SETREGSET): Likewise.
|
||
(arch_lwp_info): Now in x86-linux-nat.c.
|
||
(have_ptrace_getregset): Now in x86-linux-nat.h.
|
||
(x86_linux_dr_get): Now in x86-linux-nat.c.
|
||
(x86_linux_dr_set): Likewise.
|
||
(x86_linux_dr_get_addr): Likewise.
|
||
(x86_linux_dr_get_control): Likewise.
|
||
(x86_linux_dr_get_status): Likewise.
|
||
(update_debug_registers_callback): Likewise.
|
||
(x86_linux_dr_set_control): Likewise.
|
||
(x86_linux_dr_set_addr): Likewise.
|
||
(x86_linux_prepare_to_resume): Likewise.
|
||
(x86_linux_new_thread): Likewise.
|
||
(x86_linux_new_fork): Likewise.
|
||
(x86_linux_get_thread_area): Likewise.
|
||
(super_post_startup_inferior): Likewise.
|
||
(x86_linux_child_post_startup_inferior): Likewise.
|
||
(AMD64_LINUX_USER64_CS): Likewise.
|
||
(AMD64_LINUX_X32_DS): Likewise.
|
||
(x86_linux_read_description): Likewise.
|
||
(x86_linux_enable_btrace): Likewise.
|
||
(x86_linux_disable_btrace): Likewise.
|
||
(x86_linux_teardown_btrace): Likewise.
|
||
(x86_linux_read_btrace): Likewise.
|
||
(x86_linux_create_target): Likewise.
|
||
(x86_linux_add_target): Likewise.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c: Comment and whitespace changes.
|
||
* i386-linux-nat.c: Comment and whitespace changes.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c (x86_linux_create_target): New function.
|
||
(x86_linux_add_target): Likewise.
|
||
(_initialize_amd64_linux_nat): Delegate to the above new functions.
|
||
* i386-linux-nat.c (x86_linux_create_target): New function.
|
||
(x86_linux_add_target): Likewise.
|
||
(_initialize_i386_linux_nat): Delegate to the above new functions.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c (x86_linux_get_thread_area): New function.
|
||
(ps_get_thread_area): Delegate to the above in 32-bit mode.
|
||
* i386-linux-nat.c (x86_linux_get_thread_area): New function.
|
||
(ps_get_thread_area): Delegate to the above.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c (amd64_linux_read_description): Renamed to
|
||
x86_linux_read_description. All uses updated. amd64-specific
|
||
code conditionalized. Conditionalized i386-specific code added.
|
||
Redundant cast removed.
|
||
* i386-linux-nat.c (i386_linux_read_description): Renamed to
|
||
x86_linux_read_description. All uses updated. i386-specific
|
||
code conditionalized. Conditionalized amd64-specific code added.
|
||
One sizeof replaced with the actual type it is describing.
|
||
|
||
2014-07-11 Gary Benson <gbenson@redhat.com>
|
||
|
||
* amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
|
||
x86_linux_dr_get. All uses updated.
|
||
(amd64_linux_dr_set): Renamed to
|
||
x86_linux_dr_set. All uses updated.
|
||
(amd64_linux_dr_get_addr): Renamed to
|
||
x86_linux_dr_get_addr. All uses updated.
|
||
(amd64_linux_dr_get_control): Renamed to
|
||
x86_linux_dr_get_control. All uses updated.
|
||
(amd64_linux_dr_get_status): Renamed to
|
||
x86_linux_dr_get_status. All uses updated.
|
||
(amd64_linux_dr_set_control): Renamed to
|
||
x86_linux_dr_set_control. All uses updated.
|
||
(amd64_linux_dr_set_addr): Renamed to
|
||
x86_linux_dr_set_addr. All uses updated.
|
||
(amd64_linux_prepare_to_resume): Renamed to
|
||
x86_linux_prepare_to_resume. All uses updated.
|
||
(amd64_linux_new_thread): Renamed to
|
||
x86_linux_new_thread. All uses updated.
|
||
(amd64_linux_new_fork): Renamed to
|
||
x86_linux_new_fork. All uses updated.
|
||
(amd64_linux_child_post_startup_inferior): Renamed to
|
||
x86_linux_child_post_startup_inferior. All uses updated.
|
||
(amd64_linux_enable_btrace): Renamed to
|
||
x86_linux_enable_btrace. All uses updated.
|
||
(amd64_linux_disable_btrace): Renamed to
|
||
x86_linux_disable_btrace. All uses updated.
|
||
(amd64_linux_teardown_btrace): Renamed to
|
||
x86_linux_teardown_btrace. All uses updated.
|
||
(amd64_linux_read_btrace): Renamed to
|
||
x86_linux_read_btrace. All uses updated.
|
||
* i386-linux-nat.c (i386_linux_dr_get): Renamed to
|
||
x86_linux_dr_get. All uses updated.
|
||
(i386_linux_dr_set): Renamed to
|
||
x86_linux_dr_set. All uses updated.
|
||
(i386_linux_dr_get_addr): Renamed to
|
||
x86_linux_dr_get_addr. All uses updated.
|
||
(i386_linux_dr_get_control): Renamed to
|
||
x86_linux_dr_get_control. All uses updated.
|
||
(i386_linux_dr_get_status): Renamed to
|
||
x86_linux_dr_get_status. All uses updated.
|
||
(i386_linux_dr_set_control): Renamed to
|
||
x86_linux_dr_set_control. All uses updated.
|
||
(i386_linux_dr_set_addr): Renamed to
|
||
x86_linux_dr_set_addr. All uses updated.
|
||
(i386_linux_prepare_to_resume): Renamed to
|
||
x86_linux_prepare_to_resume. All uses updated.
|
||
(i386_linux_new_thread): Renamed to
|
||
x86_linux_new_thread. All uses updated.
|
||
(i386_linux_new_fork): Renamed to
|
||
x86_linux_new_fork. All uses updated.
|
||
(i386_linux_child_post_startup_inferior): Renamed to
|
||
x86_linux_child_post_startup_inferior. All uses updated.
|
||
(i386_linux_enable_btrace): Renamed to
|
||
x86_linux_enable_btrace. All uses updated.
|
||
(i386_linux_disable_btrace): Renamed to
|
||
x86_linux_disable_btrace. All uses updated.
|
||
(i386_linux_teardown_btrace): Renamed to
|
||
x86_linux_teardown_btrace. All uses updated.
|
||
(i386_linux_read_btrace): Renamed to
|
||
x86_linux_read_btrace. All uses updated.
|
||
|
||
2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
|
||
|
||
* remote.c (extended_remote_post_attach): New function.
|
||
(init_extended_remote_ops): Install it as to_post_attach method.
|
||
|
||
2014-07-09 Pedro Alves <palves@redhat.com>
|
||
|
||
* infcmd.c (attach_command_post_wait): Don't call
|
||
target_terminal_inferior here.
|
||
(attach_command): Call it here instead.
|
||
|
||
2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
|
||
field.
|
||
* c-varobj.c (c_is_path_expr_parent): New function, moved core
|
||
from varobj.c, with additional checks.
|
||
(c_varobj_ops): Fill in is_path_expr_parent field.
|
||
(cplus_varobj_ops): Fill in is_path_expr_parent field.
|
||
* jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
|
||
field.
|
||
* varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
|
||
ops method.
|
||
(varobj_default_is_path_expr_parent): New function.
|
||
* varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
|
||
(varobj_default_is_path_expr_parent): Declare new function.
|
||
|
||
2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* infcmd.c (finish_backward): Turn internal error into normal error.
|
||
|
||
2014-07-07 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/17096
|
||
* remote.c (async_handle_remote_sigint)
|
||
(async_handle_remote_sigint_twice): Call
|
||
gdb_call_async_signal_handler instead of
|
||
mark_async_signal_handler.
|
||
|
||
2014-07-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_info_record): Remove.
|
||
* record.c (info_record_command): Unconditionally call
|
||
to_info_record.
|
||
* target.h (struct target_ops) <to_info_record>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
(target_info_record): Remove.
|
||
|
||
2014-07-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_get_thread_local_address>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
* target.c (generic_tls_error): New function.
|
||
(target_translate_tls_address): Don't search target stack.
|
||
* target-delegates.c: Rebuild.
|
||
* ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
|
||
stack.
|
||
* linux-thread-db.c (thread_db_get_thread_local_address):
|
||
Unconditionally call beneath target.
|
||
|
||
2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
|
||
|
||
* cli/cli-logging.c (pop_output_files): Assign targerr to
|
||
gdb_stdtargerr.
|
||
|
||
2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Update my email address.
|
||
|
||
2014-07-02 Gary Benson <gbenson@redhat.com>
|
||
|
||
* proc-service.c (ps_xfer_memory): Update comment.
|
||
(ps_pstop): Remove unused function.
|
||
(ps_pcontinue): Likewise.
|
||
(ps_lstop): Likewise.
|
||
(ps_lcontinue): Likewise.
|
||
(ps_lgetxregsize): Likewise.
|
||
(ps_lgetxregs): Likewise.
|
||
(ps_lsetxregs): Likewise.
|
||
(ps_plog): Likewise.
|
||
(ps_ptread): Likewise.
|
||
(ps_ptwrite): Likewise.
|
||
|
||
2014-07-01 Mark Wielaard <mjw@redhat.com>
|
||
|
||
* dwarf2read.c (add_array_cv_type): New function.
|
||
(read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
|
||
(read_tag_volatile_type): Likewise.
|
||
|
||
2014-07-01 Tom Tromey <tromey@redhat.com>
|
||
|
||
* breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
|
||
* breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
|
||
* cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
|
||
(add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
|
||
* command.h (cmd_cfunc_ftype): Move earlier.
|
||
(add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
|
||
(add_com, add_info): Use cmd_cfunc_ftype.
|
||
|
||
2014-06-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.c (operator_chars): Make parameters and return type
|
||
const.
|
||
(file_matches): Make "files" const.
|
||
(struct search_symbols_data) <files>: Now const.
|
||
(search_symbols): Make "regexp" and "files" parameters const.
|
||
Update.
|
||
(symtab_symbol_info): Remove cast.
|
||
(rbreak_command): Update.
|
||
* symtab.h (search_symbols): Update.
|
||
|
||
2014-06-27 Yao Qi <yao@codesourcery.com>
|
||
|
||
* breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
|
||
Change parameter type to 'struct thread_info *'. Caller
|
||
updated.
|
||
* breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
|
||
Update declaration.
|
||
* dummy-frame.c (struct dummy_frame_id): New.
|
||
(dummy_frame_id_eq): New function.
|
||
(struct dummy_frame) <id>: Change its type to 'struct
|
||
dummy_frame_id'.
|
||
(dummy_frame_push): Add parameter ptid and save it in
|
||
dummy_frame_id.
|
||
(pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
|
||
inferior_ptid.
|
||
(pop_dummy_frame): Assert that the ptid of dummy_frame equals
|
||
to inferior_ptid.
|
||
(lookup_dummy_frame): Change parameter type to 'struct
|
||
dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
|
||
instead of frame_id_eq.
|
||
(dummy_frame_pop): Add parameter ptid. Callers updated.
|
||
Update comments. Compose dummy_frame_id and pass it to
|
||
lookup_dummy_frame.
|
||
(dummy_frame_discard): Add parameter ptid.
|
||
(dummy_frame_sniffer): Compose dummy_frame_id and call
|
||
dummy_frame_id_eq instead of frame_id_eq.
|
||
(fprint_dummy_frames): Print ptid.
|
||
* dummy-frame.h: Remove comments.
|
||
(dummy_frame_push): Add ptid in declaration.
|
||
(dummy_frame_pop, dummy_frame_discard): Likewise.
|
||
|
||
2014-06-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-cmds.c (error_no_arg): Make "why" const.
|
||
* command.h (error_no_arg): Update.
|
||
|
||
2014-06-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-setshow.c (do_set_command): Make "arg" const.
|
||
(do_show_command): Make "arg" const.
|
||
* cli/cli-setshow.h (do_set_command, do_show_command): Update.
|
||
|
||
2014-06-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* record-full.c (record_full_get_bookmark): Make "args" const.
|
||
(record_full_goto_bookmark): Make "raw_bookmark" const.
|
||
* record.c (record_goto): New function.
|
||
(cmd_record_goto): Use it. Now static.
|
||
* record.h (record_goto): Declare.
|
||
(cmd_record_goto): Remove declaration.
|
||
* target-delegates.c: Rebuild.
|
||
* target.h (struct target_ops) <to_get_bookmark,
|
||
to_goto_bookmark>: Make parameter const.
|
||
|
||
2014-06-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (generic_load): Update.
|
||
* m32r-rom.c (m32r_load_gen): Make "filename" const.
|
||
* monitor.c (monitor_load): Make "args" const.
|
||
* remote-m32r-sdi.c (m32r_load): Make "args" const.
|
||
* remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
|
||
const.
|
||
(mips_load): Make "file" const.
|
||
* remote-sim.c (gdbsim_load): Make "args" const.
|
||
* remote.c (remote_load): Make "name" const.
|
||
* symfile.c (generic_load): Make "args" const.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_load): Make "arg" const.
|
||
(debug_to_load): Make "args" const.
|
||
* target.h (struct target_ops) <to_load>: Make parameter const.
|
||
(target_load): Update.
|
||
|
||
2014-06-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR symtab/16902:
|
||
* dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
|
||
(dwarf2_physname, read_partial_die)
|
||
(guess_partial_die_structure_name, fixup_partial_die)
|
||
(guess_full_die_structure_name, anonymous_struct_prefix)
|
||
(dwarf2_name): Use per-BFD obstack.
|
||
|
||
2014-06-26 Yao Qi <yao@codesourcery.com>
|
||
|
||
* dummy-frame.c (dummy_frame_sniffer): Move local variables
|
||
dummyframe and this_id into inner block below.
|
||
|
||
2014-06-26 Yao Qi <yao@codesourcery.com>
|
||
|
||
* infrun.c (_initialize_infrun): Replace "signal_program[0]"
|
||
with "signal_pass[0]" in the initialization of signal_pass.
|
||
|
||
2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_generating_corefile)
|
||
(record_btrace_prepare_to_generate_core)
|
||
(record_btrace_done_generating_core): New.
|
||
(record_btrace_xfer_partial, record_btrace_fetch_registers)
|
||
(record_btrace_store_registers, record_btrace_prepare_to_store):
|
||
Forward request when generating a core file.
|
||
(record_btrace_open): Set record_btrace_generating_corefile to zero.
|
||
(init_record_btrace_ops): Set to_prepare_to_generate_core and
|
||
to_done_generating_core.
|
||
|
||
2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* target.h (target_ops) <to_prepare_to_generate_core>
|
||
<to_done_generating_core>: New.
|
||
(target_prepare_to_generate_core, target_done_generating_core): New.
|
||
* target.c (target_prepare_to_generate_core)
|
||
(target_done_generating_core): New.
|
||
* target-delegates.c: Regenerate.
|
||
* gcore.c: (write_gcore_file): Rename to ...
|
||
(write_gcore_file_1): ...this.
|
||
(write_gcore_file): Call target_prepare_to_generate_core
|
||
and target_done_generating_core.
|
||
|
||
2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
|
||
* gcore.c (write_gcore_file): Free memory returned from
|
||
make_corefile_notes.
|
||
* linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
|
||
* procfs.c (procfs_make_note_section): Remove make_cleanup call.
|
||
|
||
2014-06-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
|
||
(arm_linux_init_abi): Set skip_trampoline_code with
|
||
gdbarch_skip_trampoline_code instead of
|
||
find_solib_trampoline_target.
|
||
|
||
2014-06-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
|
||
arm_skip_bx_reg returns non-zero.
|
||
|
||
2014-06-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_skip_bx_reg): New function.
|
||
(arm_skip_stub): Call arm_skip_bx_reg.
|
||
|
||
2014-06-23 Don Breazeal <donb@codesourcery.com>
|
||
|
||
* MAINTAINERS: Add myself as write-after-approval maintainer.
|
||
|
||
2014-06-23 Pedro Alves <palves@redhat.com>
|
||
|
||
* amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
|
||
DR_CONTROL before setting DR0..DR3.
|
||
* i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
|
||
* nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
|
||
bits of DR_CONTROL related to the debug register slot being
|
||
disabled. If all slots are vacant, clear local slowdown as well,
|
||
and assert DR_CONTROL is 0.
|
||
|
||
2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* python/lib/gdb/command/xmethods.py
|
||
(get_method_matchers_in_loci): Lookup xmethod matchers in the
|
||
current progspace only if the string "progspace" matches LOCUS_RE.
|
||
|
||
2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix --with-system-readline with readline-6.3 patch 5.
|
||
* tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
|
||
(tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
|
||
types.
|
||
|
||
2014-06-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dwarf2read.c (dw2_get_real_path): Use correct type in
|
||
OBSTACK_CALLOC.
|
||
* gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
|
||
|
||
2014-06-20 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/gdb_thread_db.h: Moved to nat. All includes updated.
|
||
* common/glibc_thread_db.h: Likewise.
|
||
* common/i386-cpuid.h: Likewise.
|
||
* common/i386-gcc-cpuid.h: Likewise.
|
||
* common/linux-btrace.h: Likewise.
|
||
* common/linux-osdata.h: Likewise.
|
||
* common/linux-procfs.h: Likewise.
|
||
* common/linux-ptrace.h: Likewise.
|
||
* common/mips-linux-watch.h: Likewise.
|
||
* common/linux-btrace.c: Moved to nat.
|
||
* common/linux-osdata.c: Likewise.
|
||
* common/linux-procfs.c: Likewise.
|
||
* common/linux-ptrace.c: Likewise.
|
||
* common/mips-linux-watch.c: Likewise.
|
||
* nat/gdb_thread_db.h: Moved from common.
|
||
* nat/glibc_thread_db.h: Likewise.
|
||
* nat/i386-cpuid.h: Likewise.
|
||
* nat/i386-gcc-cpuid.h: Likewise.
|
||
* nat/linux-btrace.c: Likewise.
|
||
* nat/linux-btrace.h: Likewise.
|
||
* nat/linux-osdata.c: Likewise.
|
||
* nat/linux-osdata.h: Likewise.
|
||
* nat/linux-procfs.c: Likewise.
|
||
* nat/linux-procfs.h: Likewise.
|
||
* nat/linux-ptrace.c: Likewise.
|
||
* nat/linux-ptrace.h: Likewise.
|
||
* nat/mips-linux-watch.c: Likewise.
|
||
* nat/mips-linux-watch.h: Likewise.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
|
||
(object file files): Reordered.
|
||
* copyright.py (EXCLUDE_LIST): Reflect new location
|
||
of glibc_thread_db.h.
|
||
|
||
2014-06-20 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
|
||
(i386_dr_low_type): Moved to nat/i386-dregs.h.
|
||
(i386_dr_low): Likewise.
|
||
(i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
|
||
(i386_dr_low_set_addr): Likewise.
|
||
(i386_dr_low_get_addr): Likewise.
|
||
(i386_dr_low_can_set_control): Likewise.
|
||
(i386_dr_low_set_control): Likewise.
|
||
(i386_dr_low_get_control): Likewise.
|
||
(i386_dr_low_get_status): Likewise.
|
||
(i386_get_debug_register_length): Likewise.
|
||
* nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
|
||
(i386_dr_low): Likewise.
|
||
* nat/i386-dregs.c (i386-low.h): Remove include.
|
||
(i386-nat.h): Likewise.
|
||
(nat/i386-dregs.h): New include.
|
||
(i386_dr_low_can_set_addr): Moved from i386-nat.h.
|
||
(i386_dr_low_set_addr): Likewise.
|
||
(i386_dr_low_get_addr): Likewise.
|
||
(i386_dr_low_can_set_control): Likewise.
|
||
(i386_dr_low_set_control): Likewise.
|
||
(i386_dr_low_get_control): Likewise.
|
||
(i386_dr_low_get_status): Likewise.
|
||
(i386_get_debug_register_length): Likewise.
|
||
(debug_hw_points): Likewise.
|
||
|
||
2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* Makefile.in (SFILES): Add d-exp.y.
|
||
(YYFILES): Add d-exp.c.
|
||
(YYOBJ): Add d-exp.o.
|
||
(local-maintainer-clean): Delete d-exp.c.
|
||
* d-exp.y: New file.
|
||
* d-lang.h (d_parse): New declaration.
|
||
(d_error): New declaration.
|
||
* d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
|
||
Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
|
||
PREC_ORDER operators.
|
||
(d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
|
||
|
||
2014-06-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbthread.h (any_running): Remove the declaration.
|
||
* thread.c (any_running): Remove.
|
||
|
||
2014-06-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbthread.h (struct thread_info) <state>: Change its type to
|
||
'enum thread_state'. Update comments.
|
||
|
||
2014-06-19 Pedro Alves <palves@redhat.com>
|
||
|
||
* gdbthread.h (ALL_THREADS): Delete.
|
||
(ALL_NON_EXITED_THREADS): New macro.
|
||
* btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
|
||
instead of ALL_THREADS.
|
||
* infrun.c (find_thread_needs_step_over)
|
||
(switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
|
||
instead of ALL_THREADS.
|
||
* record-btrace.c (record_btrace_open)
|
||
(record_btrace_stop_recording, record_btrace_close)
|
||
(record_btrace_is_replaying, record_btrace_resume)
|
||
(record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
|
||
* remote.c (append_pending_thread_resumptions): Likewise.
|
||
* thread.c (thread_apply_all_command): Likewise.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_stopped_by_watchpoint):
|
||
Use i386_dr_stopped_by_watchpoint.
|
||
(i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
|
||
(i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/i386-dregs.c: New file.
|
||
* Makefile.in (i386-dregs.o): New rule.
|
||
* config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
|
||
* config/i386/cygwin64.mh (NATDEPFILES): Likewise.
|
||
* config/i386/darwin.mh (NATDEPFILES): Likewise.
|
||
* config/i386/fbsd.mh (NATDEPFILES): Likewise.
|
||
* config/i386/fbsd64.mh (NATDEPFILES): Likewise.
|
||
* config/i386/go32.mh (NATDEPFILES): Likewise.
|
||
* config/i386/linux.mh (NATDEPFILES): Likewise.
|
||
* config/i386/linux64.mh (NATDEPFILES): Likewise.
|
||
* config/i386/mingw.mh (NATDEPFILES): Likewise.
|
||
* config/i386/mingw64.mh (NATDEPFILES): Likewise.
|
||
* i386-nat.h (debug_hw_points): New declaration.
|
||
* i386-nat.c (breakpoint.h): Remove include.
|
||
(command.h): Likewise.
|
||
(target.h): Likewise.
|
||
(gdb_assert.h): Likewise.
|
||
(debug_hw_points): Made nonstatic.
|
||
(debug_printf): Now in i386-dregs.c.
|
||
(TARGET_HAS_DR_LEN_8): Likewise.
|
||
(DR_CONTROL_SHIFT): Likewise.
|
||
(DR_CONTROL_SIZE): Likewise.
|
||
(DR_RW_EXECUTE): Likewise.
|
||
(DR_RW_WRITE): Likewise.
|
||
(DR_RW_READ): Likewise.
|
||
(DR_RW_IORW): Likewise.
|
||
(DR_LEN_1): Likewise.
|
||
(DR_LEN_2): Likewise.
|
||
(DR_LEN_4): Likewise.
|
||
(DR_LEN_8): Likewise.
|
||
(DR_LOCAL_ENABLE_SHIFT): Likewise.
|
||
(DR_GLOBAL_ENABLE_SHIFT): Likewise.
|
||
(DR_ENABLE_SIZE): Likewise.
|
||
(DR_LOCAL_SLOWDOWN): Likewise.
|
||
(DR_GLOBAL_SLOWDOWN): Likewise.
|
||
(DR_CONTROL_RESERVED): Likewise.
|
||
(I386_DR_CONTROL_MASK): Likewise.
|
||
(I386_DR_VACANT): Likewise.
|
||
(I386_DR_LOCAL_ENABLE): Likewise.
|
||
(I386_DR_GLOBAL_ENABLE): Likewise.
|
||
(I386_DR_DISABLE): Likewise.
|
||
(I386_DR_SET_RW_LEN): Likewise.
|
||
(I386_DR_GET_RW_LEN): Likewise.
|
||
(I386_DR_WATCH_HIT): Likewise.
|
||
(i386_wp_op_t): Likewise.
|
||
(i386_show_dr): Likewise.
|
||
(i386_length_and_rw_bits): Likewise.
|
||
(i386_insert_aligned_watchpoint): Likewise.
|
||
(i386_remove_aligned_watchpoint): Likewise.
|
||
(i386_handle_nonaligned_watchpoint): Likewise.
|
||
(i386_update_inferior_debug_regs): Likewise.
|
||
(i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
|
||
(i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
|
||
(i386_region_ok_for_watchpoint):
|
||
Use i386_dr_region_ok_for_watchpoint.
|
||
(i386_stopped_data_address): Use i386_dr_stopped_data_address.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_insert_hw_breakpoint): Use
|
||
i386_insert_watchpoint.
|
||
(i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_dr_show): Renamed to
|
||
i386_show_dr and made static. All uses updated.
|
||
(i386_dr_length_and_rw_bits): Renamed to
|
||
i386_length_and_rw_bits and made static.
|
||
All uses updated.
|
||
(i386_dr_insert_aligned_watchpoint): Renamed to
|
||
i386_insert_aligned_watchpoint and made static.
|
||
All uses updated.
|
||
(i386_dr_remove_aligned_watchpoint): Renamed to
|
||
i386_remove_aligned_watchpoint and made static.
|
||
All uses updated.
|
||
(i386_dr_update_inferior_debug_regs): Renamed to
|
||
i386_update_inferior_debug_regs and made static.
|
||
All uses updated.
|
||
* nat/i386-dregs.h (i386_dr_show): Removed.
|
||
(i386_dr_length_and_rw_bits): Likewise.
|
||
(i386_dr_insert_aligned_watchpoint): Likewise.
|
||
(i386_dr_remove_aligned_watchpoint): Likewise.
|
||
(i386_dr_update_inferior_debug_regs): Likewise.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
|
||
* configure: Regenerate.
|
||
* config.in: Likewise.
|
||
* main.c (signal.h): New include.
|
||
(setup_alternate_signal_stack): New function.
|
||
(captured_main): Call the above.
|
||
* cp-support.c (signal.h): New include.
|
||
(catch_demangler_crashes): New flag.
|
||
(SIGJMP_BUF): New define.
|
||
(SIGSETJMP): Likewise.
|
||
(SIGLONGJMP): Likewise.
|
||
(gdb_demangle_jmp_buf): New static global.
|
||
(gdb_demangle_attempt_core_dump): Likewise.
|
||
(gdb_demangle_signal_handler): New function.
|
||
(gdb_demangle): If catch_demangler_crashes is set, install the
|
||
above signal handler before calling bfd_demangle, and restore
|
||
the original signal handler afterwards. Display the offending
|
||
symbol and call demangler_warning the first time a segmentation
|
||
fault is caught.
|
||
(_initialize_cp_support): New maint set/show command.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.h (resource_limit_kind): New enum.
|
||
(can_dump_core): New declaration.
|
||
(warn_cant_dump_core): Likewise.
|
||
(dump_core): Likewise.
|
||
* utils.c (dump_core): Made nonstatic. Added new
|
||
parameter "limit_kind".
|
||
(can_dump_core): Made nonstatic. Moved printing code to...
|
||
(warn_cant_dump_core): New function.
|
||
(can_dump_core_warn): Likewise.
|
||
(internal_vproblem): Replace calls to can_dump_core with
|
||
calls to can_dump_core_warn. Supply new argument to each.
|
||
|
||
2014-06-19 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.h (demangler_vwarning): New declaration.
|
||
(demangler_warning): Likewise.
|
||
* utils.c (struct internal_problem)
|
||
<user_settable_should_quit>: New field.
|
||
<user_settable_should_dump_core>: Likewise
|
||
(internal_error_problem): Add values for above new fields.
|
||
(internal_warning_problem): Likewise.
|
||
(demangler_warning_problem): New static global.
|
||
(demangler_vwarning): New function.
|
||
(demangler_warning): Likewise.
|
||
(add_internal_problem_command): Selectively add commands.
|
||
(_initialize_utils): New internal problem command.
|
||
* maint.c (maintenance_demangler_warning): New function.
|
||
(_initialize_maint_cmds): New command.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* f-valprint.c (info_common_command_for_block): Update.
|
||
* symtab.h (struct general_symbol_info) <common_block>: Now
|
||
const.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.h (struct symtab) <blockvector>: Now const.
|
||
* ada-lang.c (ada_add_global_exceptions): Update.
|
||
* buildsym.c (augment_type_symtab): Update.
|
||
* dwarf2read.c (dw2_lookup_symbol): Update.
|
||
* jit.c (finalize_symtab): Update.
|
||
* jv-lang.c (add_class_symtab_symbol): Update.
|
||
* mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
|
||
Update.
|
||
* objfiles.c (objfile_relocate1): Update.
|
||
* psymtab.c (lookup_symbol_aux_psymtabs)
|
||
(maintenance_check_psymtabs): Update.
|
||
* python/py-symtab.c (stpy_global_block, stpy_static_block):
|
||
Update.
|
||
* spu-tdep.c (spu_catch_start): Update.
|
||
* symmisc.c (dump_symtab_1): Update.
|
||
* symtab.c (lookup_global_symbol_from_objfile)
|
||
(lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
|
||
(basic_lookup_transparent_type_quick)
|
||
(basic_lookup_transparent_type, find_pc_sect_symtab)
|
||
(find_pc_sect_line, search_symbols): Update.
|
||
* block.c (find_block_in_blockvector): Make "bl" const.
|
||
(blockvector_for_pc_sect, blockvector_for_pc): Make return type
|
||
const.
|
||
(blockvector_contains_pc): Make "bv" const.
|
||
(block_for_pc_sect): Update.
|
||
* block.h (blockvector_for_pc, blockvector_for_pc_sect)
|
||
(blockvector_contains_pc): Update.
|
||
* breakpoint.c (resolve_sal_pc): Update.
|
||
* inline-frame.c (block_starting_point_at): Update.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* completer.c (complete_line): Make "line_buffer" const.
|
||
* completer.h (complete_line): Update.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.c (add_macro_name): Remove unneeded cast.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-setshow.h (parse_cli_boolean_value): Update.
|
||
* cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* probe.c (info_probes_for_ops): Make "arg" const.
|
||
* probe.h (info_probes_for_ops): Update.
|
||
|
||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||
|
||
* varobj.c (varobj_create): Update.
|
||
* valops.c (value_of_this): Update.
|
||
* tracepoint.c (add_local_symbols, scope_info): Update.
|
||
* symtab.h (struct general_symbol_info) <block>: Now const.
|
||
* symtab.c (skip_prologue_sal)
|
||
(default_make_symbol_completion_list_break_on)
|
||
(skip_prologue_using_sal): Update.
|
||
* stack.h (iterate_over_block_locals)
|
||
(iterate_over_block_local_vars): Update.
|
||
* stack.c (print_frame_args): Update.
|
||
(iterate_over_block_locals, iterate_over_block_local_vars): Make
|
||
parameter const.
|
||
(get_selected_block): Make return type const.
|
||
* python/py-frame.c (frapy_block): Update.
|
||
* python/py-block.c (gdbpy_block_for_pc): Update.
|
||
* p-exp.y (%union) <bval>: Now const.
|
||
* mi/mi-cmd-stack.c (list_args_or_locals): Update.
|
||
* mdebugread.c (mylookup_symbol, parse_procedure): Update.
|
||
* m2-exp.y (%union) <bval>: Now const.
|
||
* linespec.c (get_current_search_block): Make return type const.
|
||
(create_sals_line_offset, find_label_symbols): Update.
|
||
* inline-frame.c (inline_frame_sniffer, skip_inline_frames):
|
||
Update.
|
||
(block_starting_point_at): Make "block" const.
|
||
* infrun.c (insert_exception_resume_breakpoint): Make "b" const.
|
||
(check_exception_resume): Update.
|
||
* guile/scm-frame.c (gdbscm_frame_block): Update.
|
||
* guile/scm-block.c (gdbscm_lookup_block): Update.
|
||
* frame.h (get_frame_block): Update.
|
||
(get_selected_block): Make return type const.
|
||
* frame.c (frame_id_inner): Update.
|
||
* f-valprint.c (info_common_command_for_block)
|
||
(info_common_command): Update.
|
||
* dwarf2loc.c (dwarf2_find_location_expression)
|
||
(dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
|
||
(locexpr_describe_location_piece): Update.
|
||
* c-exp.y (%union) <bval>: Now const.
|
||
* breakpoint.c (resolve_sal_pc): Update.
|
||
* blockframe.c (get_frame_block):Make return type const.
|
||
(get_pc_function_start, get_frame_function, find_pc_sect_function)
|
||
(block_innermost_frame): Update.
|
||
* block.h (blockvector_for_pc, blockvector_for_pc_sect)
|
||
(block_for_pc, block_for_pc_sect): Update.
|
||
* block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
|
||
'pblock' const.
|
||
(block_for_pc_sect, block_for_pc): Make return type const.
|
||
* ax-gdb.c (gen_expr): Update.
|
||
* alpha-mdebug-tdep.c (find_proc_desc): Update.
|
||
* ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
|
||
(ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
|
||
(ada_read_var_value): Update.
|
||
* ada-exp.y (struct name_info) <block>: Now const.
|
||
(%union): Likewise.
|
||
(block_lookup): Constify.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* nat/i386-dregs.h: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add the above.
|
||
* i386-nat.h (i386-dregs.h): New include.
|
||
(DR_FIRSTADDR): Now in i386-dregs.h.
|
||
(DR_LASTADDR): Likewise.
|
||
(DR_NADDR): Likewise.
|
||
(DR_STATUS): Likewise.
|
||
(DR_CONTROL): Likewise.
|
||
(i386_debug_reg_state): Likewise.
|
||
* i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
|
||
|
||
2014-06-18 Don Breazeal <donb@codesourcery.com>
|
||
|
||
* breakpoint.c (set_longjmp_breakpoint): Call
|
||
momentary_breakpoint_from_master with additional argument.
|
||
(set_longjmp_breakpoint_for_call_dummy): Call
|
||
momentary_breakpoint_from_master with additional argument.
|
||
(set_std_terminate_breakpoint): Call
|
||
momentary_breakpoint_from_master with additional argument.
|
||
(momentary_breakpoint_from_master): Add argument to function
|
||
definition and use it to initialize structure member flag.
|
||
(clone_momentary_breakpoint): Call
|
||
momentary_breakpoint_from_master with additional argument.
|
||
* infrun.c (follow_inferior_reset_breakpoints): Clear structure
|
||
member flags set in momentary_breakpoint_from_master.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_show_dr): Renamed to
|
||
i386_dr_show and made nonstatic. All uses updated.
|
||
(i386_length_and_rw_bits): Renamed to
|
||
i386_dr_length_and_rw_bits and made nonstatic.
|
||
All uses updated.
|
||
(i386_insert_aligned_watchpoint): Renamed to
|
||
i386_dr_insert_aligned_watchpoint and made nonstatic.
|
||
All uses updated.
|
||
(i386_remove_aligned_watchpoint): Renamed to
|
||
i386_dr_remove_aligned_watchpoint and made nonstatic.
|
||
All uses updated.
|
||
(i386_update_inferior_debug_regs): Renamed to
|
||
i386_dr_update_inferior_debug_regs and made nonstatic.
|
||
All uses updated.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_dr_low_can_set_addr): New macro.
|
||
(i386_dr_low_can_set_control): Likewise.
|
||
(i386_dr_low_set_addr): Likewise.
|
||
(i386_dr_low_set_control): Likewise.
|
||
(i386_dr_low_get_addr): Likewise.
|
||
(i386_dr_low_get_status): Likewise.
|
||
(i386_dr_low_get_control): Likewise.
|
||
(i386_insert_aligned_watchpoint): Use new macros.
|
||
(i386_update_inferior_debug_regs): Likewise.
|
||
(i386_stopped_data_address): Likewise.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_update_inferior_debug_regs) <state>:
|
||
New parameter. All uses updated.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
|
||
All uses updated.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (debug_printf): New macro.
|
||
(i386_get_debug_register_length): Likewise.
|
||
(TARGET_HAS_DR_LEN_8): Use above macro.
|
||
(i386_show_dr): Use debug_printf instead of puts_unfiltered
|
||
and printf_unfiltered. Use phex to format values.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
|
||
Make const.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c: Comment changes.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c (i386_length_and_rw_bits): Remove prototype.
|
||
(i386_insert_aligned_watchpoint): Likewise.
|
||
(i386_remove_aligned_watchpoint): Likewise.
|
||
(i386_handle_nonaligned_watchpoint): Likewise.
|
||
|
||
2014-06-18 Gary Benson <gbenson@redhat.com>
|
||
|
||
* i386-nat.c: Whitespace changes.
|
||
|
||
2014-06-17 Samuel Bronson <naesten@gmail.com>
|
||
|
||
* MAINTAINERS: Update Roland McGrath's email address.
|
||
Thanks to Sergio Durigan Junior for pointing out that he left
|
||
Red Hat a while ago, and giving me a current address.
|
||
|
||
2014-06-17 Tom Tromey <tromey@redhat.com>
|
||
|
||
* utils.h (savestring): Remove declaration.
|
||
|
||
2014-06-17 Tom Tromey <tromey@redhat.com>
|
||
|
||
* remote.c (extended_remote_run): Use make_cleanup_freeargv.
|
||
|
||
2014-06-16 Keith Seitz <keiths@redhat.com>
|
||
|
||
PR mi/15863
|
||
* mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
|
||
to update the varobj if inferior_ptid is null_ptid.
|
||
|
||
2014-06-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_info_proc>: Make parameter
|
||
const.
|
||
(target_info_proc): Update.
|
||
* target.c (target_info_proc): Make "args" const.
|
||
* procfs.c (procfs_info_proc): Update.
|
||
* linux-tdep.c (linux_info_proc): Update.
|
||
(linux_core_info_proc_mappings): Make "args" const.
|
||
(linux_core_info_proc): Update.
|
||
* gdbarch.sh (info_proc, core_info_proc): Make "args" const.
|
||
* gdbarch.c: Rebuild.
|
||
* gdbarch.h: Rebuild.
|
||
* corelow.c (core_info_proc): Update.
|
||
|
||
2014-06-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_disconnect>: Make parameter
|
||
const.
|
||
(target_disconnect): Update.
|
||
* target.c (target_disconnect): Make "args" const.
|
||
* target-delegates.c: Rebuild.
|
||
* remote.c (remote_disconnect): Update.
|
||
* record.h (record_disconnect): Update.
|
||
* record.c (record_disconnect): Update.
|
||
* inf-child.c (inf_child_disconnect): Update.
|
||
|
||
2014-06-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_rcmd>: Make "command" const.
|
||
* target.c (debug_to_rcmd, default_rcmd): Update.
|
||
* target-delegates.c: Rebuild.
|
||
* remote.c (remote_rcmd): Update.
|
||
* monitor.c (monitor_rcmd): Update.
|
||
|
||
2014-06-16 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
|
||
(disable_breakpoints_in_freed_objfile): Skip objfiles that don't
|
||
have OBJF_SHARED set.
|
||
* objfiles.c (userloaded_objfile_contains_address_p): Rename to...
|
||
(shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
|
||
instead of OBJF_USERLOADED.
|
||
* objfiles.h (OBJF_SHARED): Update comment.
|
||
(userloaded_objfile_contains_address_p): Rename to ...
|
||
(shared_objfile_contains_address_p): ... this, and update
|
||
comments.
|
||
* symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
|
||
new objfile.
|
||
(remove_symbol_file_command): Skip objfiles that don't have
|
||
OBJF_SHARED set.
|
||
|
||
2014-06-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* minsyms.h (prim_record_minimal_symbol)
|
||
(prim_record_minimal_symbol_and_info): Update comments.
|
||
|
||
2014-06-14 Eli Zaretskii <eliz@gnu.org>
|
||
|
||
* top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
|
||
or --without-guile, according to how GDB was built.
|
||
|
||
2014-06-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cp-support.c (maint_cplus_command): Pass all_commands, not -1,
|
||
to help_list.
|
||
* guile/guile.c (info_guile_command): Pass all_commands, not -1,
|
||
to help_list.
|
||
* tui/tui-win.c (tui_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
|
||
help_list.Pass all_commands, not -1, to help_list.
|
||
* cli/cli-dump.c (dump_command, append_command)
|
||
(srec_dump_command, ihex_dump_command, tekhex_dump_command)
|
||
(binary_dump_command, binary_append_command): Pass all_commands,
|
||
not -1, to help_list.
|
||
* cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
|
||
-1, to help_list.
|
||
* valprint.c (set_print, set_print_raw): Pass all_commands, not
|
||
-1, to help_list.
|
||
* typeprint.c (set_print_type): Pass all_commands, not -1, to
|
||
help_list.
|
||
* top.c (set_history): Pass all_commands, not -1, to help_list.
|
||
* target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
|
||
all_commands, not -1, to help_list.
|
||
* symfile.c (overlay_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* serial.c (serial_set_cmd): Pass all_commands, not -1, to
|
||
help_list.
|
||
* ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
|
||
-1, to help_list.
|
||
* remote.c (remote_command, set_remote_cmd): Pass all_commands,
|
||
not -1, to help_list.
|
||
* ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
|
||
not -1, to help_list.
|
||
* maint.c (maintenance_command, maintenance_info_command)
|
||
(maintenance_print_command, maintenance_set_cmd): Pass
|
||
all_commands, not -1, to help_list.
|
||
* macrocmd.c (macro_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* language.c (set_check): Pass all_commands, not -1, to help_list.
|
||
* infcmd.c (unset_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
|
||
help_list.
|
||
* dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
|
||
help_list.
|
||
* dcache.c (set_dcache_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* breakpoint.c (save_command): Pass all_commands, not -1, to
|
||
help_list.
|
||
* ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
|
||
all_commands, not -1, to help_list.
|
||
|
||
2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* regcache.c (struct register_to_invalidate): New structure.
|
||
(do_register_invalidate, make_cleanup_regcache_invalidate): New
|
||
functions.
|
||
(regcache_raw_write): Call make_cleanup_regcache_invalidate.
|
||
|
||
2014-06-12 Yao Qi <yao@codesourcery.com>
|
||
|
||
* varobj.c (varobj_get_num_children): Call
|
||
varobj_is_dynamic_p.
|
||
(varobj_list_children): Likewise.
|
||
(varobj_update): Likewise. Update comments.
|
||
|
||
2014-06-12 Yao Qi <yao@codesourcery.com>
|
||
|
||
* varobj.c (varobj_pretty_printed_p): Rename to ...
|
||
(varobj_is_dynamic_p): ... this. New function.
|
||
* varobj.h (varobj_pretty_printed_p): Remove declaration.
|
||
(varobj_is_dynamic_p): Declare.
|
||
* mi/mi-cmd-var.c (print_varobj): All callers updated.
|
||
(mi_print_value_p, varobj_update_one): Likewise.
|
||
|
||
2014-06-12 Pedro Alves <pedro@codesourcery.com>
|
||
Yao Qi <yao@codesourcery.com>
|
||
|
||
* varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
|
||
(varobj_get_iterator): Wrap up code for pretty-printer by
|
||
"#if HAVE_PYTHON" and "#endif".
|
||
(update_dynamic_varobj_children): Likewise.
|
||
|
||
2014-06-12 Pedro Alves <pedro@codesourcery.com>
|
||
Yao Qi <yao@codesourcery.com>
|
||
|
||
* python/py-varobj.c (py_varobj_iter_next): Return NULL if
|
||
gdb_python_initialized is false. Move some code from varobj.c.
|
||
* varobj-iter.h (struct varobj_item): Moved from varobj.c.
|
||
* varobj.c: Move "varobj-iter.h" inclusion earlier.
|
||
(struct varobj_item): Moved to varobj-iter.h".
|
||
(varobj_clear_saved_item): New function.
|
||
(update_dynamic_varobj_children): Move python-related code to
|
||
py-varobj.c.
|
||
(free_variable): Call varobj_clear_saved_item and
|
||
varobj_iter_delete.
|
||
|
||
2014-06-12 Pedro Alves <pedro@codesourcery.com>
|
||
Yao Qi <yao@codesourcery.com>
|
||
|
||
* Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
|
||
(SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
|
||
(HFILES_NO_SRCDIR): Add "varobj-iter.h".
|
||
(py-varobj.o): New rule.
|
||
* python/py-varobj.c: New file.
|
||
* python/python-internal.h (py_varobj_get_iterator): Declare.
|
||
* varobj-iter.h: New file.
|
||
* varobj.c: Include "varobj-iter.h"
|
||
(struct varobj) <child_iter>: Change its type from "PyObject *"
|
||
to "struct varobj_iter *".
|
||
<saved_item>: Likewise.
|
||
[HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
|
||
[HAVE_PYTHON] (varobj_get_iterator): New function.
|
||
(update_dynamic_varobj_children) [HAVE_PYTHON]: Move
|
||
python-specific code to python/py-varobj.c.
|
||
(install_visualizer): Call varobj_iter_delete instead of
|
||
Py_XDECREF.
|
||
* varobj.h (varobj_ensure_python_env): Declare.
|
||
|
||
2014-06-12 Yao Qi <yao@codesourcery.com>
|
||
|
||
* varobj.c (struct varobj_item): New structure.
|
||
(create_child_with_value): Update declaration.
|
||
(varobj_add_child): Replace arguments 'name' and 'value' with
|
||
'item'. All callers updated.
|
||
(install_dynamic_child): Likewise.
|
||
(update_dynamic_varobj_children): Likewise.
|
||
(varobj_add_child): Likewise.
|
||
(create_child_with_value): Likewise.
|
||
|
||
2014-06-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Create a new section for the next release branch.
|
||
Rename the section of the current branch, now that it has
|
||
been cut.
|
||
|
||
2014-06-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
|
||
* version.in: Bump version to 7.8.50.DATE-cvs.
|
||
|
||
2014-06-11 Pedro Alves <palves@redhat.com>
|
||
|
||
PR remote/17028
|
||
* ser-mingw.c (net_windows_socket_check_pending): New function.
|
||
(net_windows_select_thread): Ignore spurious wakeups. Use
|
||
net_windows_socket_check_pending.
|
||
(net_windows_wait_handle): Check for pending events with
|
||
ioctlsocket, through net_windows_socket_check_pending, instead of
|
||
checking the socket's event.
|
||
|
||
2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* python/python-internal.h (gdb_PyObject_GetAttrString)
|
||
(gdb_PyObject_HasAttrString): New inline function definitions.
|
||
* py-value.c (get_field_flag): Remove the now unnecessary cast to
|
||
char * of the second argument to PyObject_GetAttrString.
|
||
|
||
2014-06-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* serial.c (serial_write): Fix index of character to be printed
|
||
in call to serial_logchar when serial debug traces are enabled.
|
||
|
||
2014-06-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbtypes (resolve_dynamic_range): Add function description.
|
||
|
||
2014-06-09 Pedro Alves <palves@redhat.com>
|
||
|
||
* linux-nat.c (linux_child_follow_fork): Initialize status with
|
||
W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
|
||
inner block. Only pass the signal to PTRACE_DETACH if in pass
|
||
state.
|
||
|
||
2014-06-09 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/signals.c (gdb_signal_from_host): Reorder to separate
|
||
the always-available ANSI-standard signals from the signals that
|
||
require checking.
|
||
(do_gdb_signal_to_host): Likewise.
|
||
* proc-events.c (signal_table): Likewise.
|
||
|
||
2014-06-08 Hui Zhu <hui@codesourcery.com>
|
||
|
||
* common/linux-ptrace.c (linux_disable_event_reporting): New
|
||
function.
|
||
* common/linux-ptrace.h (linux_disable_event_reporting): New
|
||
declaration.
|
||
* linux-nat.c (linux_child_follow_fork): Do a single step before
|
||
detach.
|
||
|
||
2014-06-07 Keith Seitz <keiths@redhat.com>
|
||
|
||
Revert:
|
||
PR c++/16253
|
||
* ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
|
||
from symbol_matches_domain in symtab.c. All local callers
|
||
of symbol_matches_domain updated.
|
||
(standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
|
||
search STRUCT_DOMAIN.
|
||
(ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
|
||
independently. standard_lookup will do that automatically.
|
||
* cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
|
||
VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
|
||
(cp_lookup_symbol_in_namespace): Likewise.
|
||
If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
|
||
(cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
|
||
may return a STRUCT_DOMAIN match.
|
||
(lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
|
||
* cp-support.c: Include language.h.
|
||
(inspect_type): Explicitly search STRUCT_DOMAIN before searching
|
||
VAR_DOMAIN.
|
||
* psymtab.c (match_partial_symbol): Compare the requested
|
||
domain with the symbol's domain directly.
|
||
(lookup_partial_symbol): Likewise.
|
||
* symtab.c (lookup_symbol_in_language): Explain when/why
|
||
VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
|
||
If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
|
||
appropriate languages.
|
||
(symbol_matches_domain): Renamed `ada_symbol_matches_domain'
|
||
and moved to ada-lang.c
|
||
(lookup_block_symbol): Explain that this function only returns
|
||
symbol matching the requested DOMAIN.
|
||
Compare the requested domain with the symbol's domain directly.
|
||
(iterate_over_symbols): Compare the requested domain with the
|
||
symbol's domain directly.
|
||
* symtab.h (symbol_matches_domain): Remove.
|
||
|
||
2014-06-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/guile-internal.h (gdbscm_guile_major_version): Declare.
|
||
(gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
|
||
(gdbscm_guile_version_is_at_least): Declare.
|
||
(gdbscm_scm_string_to_int): Declare.
|
||
* guile/guile.c (gdbscm_guile_major_version): New global.
|
||
(gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
|
||
(guile_datadir): New static global.
|
||
(gdbscm_guile_data_directory): New function.
|
||
(initialize_scheme_side): Update.
|
||
(misc_guile_functions): Add guile-data-directory.
|
||
(initialize_gdb_module): Fetch guile version number.
|
||
* guile/lib/gdb.scm: Remove call to add-to-load-path.
|
||
* guile/lib/gdb/init.scm (%initialize!): Ditto.
|
||
* guile/lib/gdb/boot.scm: Use guile-data-directory.
|
||
* guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
|
||
comments.
|
||
* guile/scm-string.c (gdbscm_scm_string_to_int): New function.
|
||
* guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
|
||
* guile/scm-value.c (gdbscm_value_to_string): Only call
|
||
scm_port_conversion_strategy if Guile version >= 2.0.6.
|
||
|
||
2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
|
||
|
||
* main.c (print_gdb_help): Add -q and --silent.
|
||
|
||
2014-06-06 Gary Benson <gbenson@redhat.com>
|
||
|
||
* common/signals.c: Remove preprocessor conditionals for
|
||
always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
|
||
SIGSEGV and SIGTERM.
|
||
* proc-events.c: Likewise.
|
||
|
||
2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* symfile.c (symfile_free_objfile): Remove restriction to
|
||
OBJF_USERLOADED.
|
||
* symfile-mem.c (symbol_file_add_from_memory): Call
|
||
add_target_sections_of_objfile.
|
||
|
||
2014-06-05 Ludovic Courtès <ludo@gnu.org>
|
||
|
||
* guile/scm-value.c (gdbscm_history_append_x): Use
|
||
'vlscm_get_value_smob_arg_unsafe' instead of
|
||
'vlscm_scm_to_value'.
|
||
|
||
2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
PR mi/15806
|
||
* utils.c (printchar): Don't escape at all if quoter is NUL.
|
||
Update function documentation to clarify effect of parameter
|
||
QUOTER.
|
||
* remote.c (escape_buffer): Pass '\\' as the quoter to
|
||
fputstrn_unfiltered.
|
||
* mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
|
||
generate the output.
|
||
(mi_solib_unloaded): Same.
|
||
|
||
2014-06-05 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* development.sh: Delete.
|
||
* Makefile.in (config.status): Adjust dependency on development.sh.
|
||
* configure.ac: Adjust development.sh source call.
|
||
* configure: Regenerate.
|
||
|
||
2014-06-04 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
|
||
is_scheme_bkpt, spec.
|
||
(bpscm_make_breakpoint_smob): Initialize new members.
|
||
(gdbscm_create_breakpoint_x): Split into two ...
|
||
(gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
|
||
(bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
|
||
(scheme_function breakpoint_functions): Update.
|
||
* guile/lib/gdb.scm: Delete create-breakpoint!. Rename
|
||
breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
|
||
register-breakpoint!.
|
||
|
||
2014-06-04 Joel Brobecker <brobecker@adacorer.com>
|
||
|
||
PR server/17023
|
||
* mem-break.c (z_type_supported): Return zero if
|
||
THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
|
||
|
||
2014-06-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* ada-lang.c (ada_template_to_fixed_record_type_1): Use
|
||
value_from_contents_and_address_unresolved.
|
||
(ada_template_to_fixed_record_type_1): Likewise.
|
||
(ada_which_variant_applies): Likewise.
|
||
* value.h (value_from_contents_and_address_unresolved): Declare.
|
||
* value.c (value_from_contents_and_address_unresolved): New
|
||
function.
|
||
* gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
|
||
<TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
|
||
(resolve_dynamic_struct, resolve_dynamic_union): New functions.
|
||
|
||
2014-06-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
|
||
|
||
2014-06-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* procfs.c (procfs_attach): Make "args" const.
|
||
* windows-nat.c (windows_attach): Make "args" const.
|
||
* nto-procfs.c (procfs_attach): Make "args" const.
|
||
* inf-ttrace.c (inf_ttrace_attach): Make "args" const.
|
||
* go32-nat.c (go32_attach): Make "args" const.
|
||
* gnu-nat.c (gnu_attach): Make "args" const.
|
||
* darwin-nat.c (darwin_attach): Make "args" const.
|
||
* inf-ptrace.c (inf_ptrace_attach): Make "args" const.
|
||
* linux-nat.c (linux_nat_attach): Make "args" const.
|
||
* remote.c (extended_remote_attach_1, extended_remote_attach):
|
||
Make "args" const.
|
||
* target.h (struct target_ops) <to_attach>: Make "args" const.
|
||
(find_default_attach): Likewise.
|
||
* utils.c (parse_pid_to_attach): Make "args" const.
|
||
* utils.h (parse_pid_to_attach): Update.
|
||
|
||
2014-06-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (default_thread_address_space): New function.
|
||
(target_thread_address_space): Simplify.
|
||
* target.h (struct target_ops) <to_thread_address_space>: Add
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-06-04 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-type.c (type_smob): Remove duplicate typedef.
|
||
|
||
2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c: Include event-loop.h and inf-loop.h.
|
||
(record_btrace_resume_exec_dir)
|
||
(record_btrace_async_inferior_event_handler)
|
||
(record_btrace_handle_async_inferior_event): New.
|
||
(record_btrace_open): Create async event handler.
|
||
(record_btrace_close): Delete async event handler.
|
||
(record_btrace_resume): Set record_btrace_resume_exec_dir,
|
||
Mark async event handler.
|
||
(record_btrace_execution_direction): New.
|
||
(init_record_btrace_ops): Initialize to_execution_direction.
|
||
|
||
2014-06-03 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
|
||
(gdbscm_make_parameter): Ditto.
|
||
|
||
2014-06-03 Doug Evans <dje@google.com>
|
||
|
||
* exec.c (exec_close_1): Call clear_section_table instead of
|
||
resize_section_table.
|
||
(clear_section_table): New function.
|
||
(resize_section_table): Make static. Rename arg num_added to
|
||
adjustment.
|
||
* exec.h (clear_section_table): Declare.
|
||
(resize_section_table): Delete.
|
||
* progspace.c (release_program_space): Call clear_section_table
|
||
instead of resize_section_table.
|
||
|
||
2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* NEWS (Python Scripting): Add entry about the new xmethods
|
||
feature.
|
||
|
||
2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* python/py-xmethods.c: New file.
|
||
* python/py-objfile.c (objfile_object): New field 'xmethods'.
|
||
(objfpy_dealloc): XDECREF on the new xmethods field.
|
||
(objfpy_new, objfile_to_objfile_object): Initialize xmethods
|
||
field.
|
||
(objfpy_get_xmethods): New function.
|
||
(objfile_getset): New entry 'xmethods'.
|
||
* python/py-progspace.c (pspace_object): New field 'xmethods'.
|
||
(pspy_dealloc): XDECREF on the new xmethods field.
|
||
(pspy_new, pspace_to_pspace_object): Initialize xmethods
|
||
field.
|
||
(pspy_get_xmethods): New function.
|
||
(pspace_getset): New entry 'xmethods'.
|
||
* python/python-internal.h: Add declarations for new functions.
|
||
* python/python.c (_initialize_python): Invoke
|
||
gdbpy_initialize_xmethods.
|
||
* python/lib/gdb/__init__.py (xmethods): New
|
||
attribute.
|
||
* python/lib/gdb/xmethod.py: New file.
|
||
* python/lib/gdb/command/xmethods.py: New file.
|
||
|
||
2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* eval.c (evaluate_subexp_standard): Call the xmethod if the
|
||
best match method returned by find_overload_match is an xmethod.
|
||
* valarith.c (value_x_binop, value_x_unop): Call the xmethod if
|
||
the best matching operator returned by find_overload_match is an
|
||
xmethod.
|
||
* valops.c: #include "extension.h".
|
||
(find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
|
||
Return void. The list of matching source methods is returned in
|
||
"fn_list" and a vector of matching debug method workers is
|
||
returned in "xm_worker_vec". Update all callers.
|
||
(value_find_oload_method_list): Likewise.
|
||
(find_oload_champ): Add "xm_worker_vec" parameter. If it is
|
||
non-NULL, then the index of the best matching method in this
|
||
vector is returned. Update all callers.
|
||
(find_overload_match): Include xmethods while performing overload
|
||
resolution.
|
||
|
||
2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* defs.h (enum lval_type): New enumerator "lval_xcallable".
|
||
* extension-priv.h (struct extension_language_ops): Add the
|
||
xmethod interface.
|
||
* extension.c (new_xmethod_worker, clone_xmethod_worker,
|
||
get_matching_xmethod_workers, get_xmethod_argtypes,
|
||
invoke_xmethod, free_xmethod_worker,
|
||
free_xmethod_worker_vec): New functions.
|
||
* extension.h: #include "common/vec.h".
|
||
New function declarations.
|
||
(struct xmethod_worker): New struct.
|
||
(VEC (xmethod_worker_ptr)): New vector type.
|
||
(xmethod_worker_ptr): New typedef.
|
||
(xmethod_worker_vec): Likewise.
|
||
* gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
|
||
builtin_type.
|
||
* gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
|
||
(struct builtin_type): New field "xmethod".
|
||
* valarith.c (value_ptradd): Assert that the value argument is not
|
||
lval_xcallable.
|
||
* valops.c (value_must_coerce_to_target): Return 0 for
|
||
lval_xcallable values.
|
||
* value.c (struct value): New field XM_WORKER in the field
|
||
LOCATION.
|
||
(value_address, value_raw_address): Return 0 for lval_xcallable
|
||
values.
|
||
(set_value_address): Assert that the value is not an
|
||
lval_xcallable.
|
||
(value_free): Free the associated xmethod worker when freeing
|
||
lval_xcallable values.
|
||
(set_value_component_location): Assert that the WHOLE value is not
|
||
lval_xcallable.
|
||
(value_of_xmethod, call_xmethod): New functions.
|
||
* value.h: Declare "struct xmethod_worker".
|
||
Declare new functions value_of_xmethod, call_xmethod.
|
||
|
||
2014-06-03 Joel Brobecker <brobecker@adacore.com>
|
||
Pedro Alves <palves@redhat.com>
|
||
|
||
PR breakpoints/17000
|
||
* breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
|
||
New function, extracted from software_breakpoint_inserted_here_p.
|
||
(software_breakpoint_inserted_here_p): Replace factored out code
|
||
by call to find_non_raw_software_breakpoint_inserted_here.
|
||
(bp_target_info_copy_insertion_state): New function.
|
||
(bkpt_insert_location): Handle the case of a single-step
|
||
breakpoint already inserted at the same address.
|
||
(bkpt_remove_location): Handle the case of a single-step
|
||
breakpoint still inserted at the same address.
|
||
(deprecated_insert_raw_breakpoint): Handle the case of non-raw
|
||
breakpoint already inserted at the same address.
|
||
(deprecated_remove_raw_breakpoint): Handle the case of a
|
||
non-raw breakpoint still inserted at the same address.
|
||
(find_single_step_breakpoint): New function, extracted from
|
||
single_step_breakpoint_inserted_here_p.
|
||
(find_single_step_breakpoint): New function,
|
||
factored out from single_step_breakpoint_inserted_here_p.
|
||
(single_step_breakpoint_inserted_here_p): Reimplement.
|
||
|
||
2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>
|
||
* source.c (show_substitute_path_command): Fix display of matching
|
||
substitution rules.
|
||
|
||
2014-06-03 Gary Benson <gbenson@redhat.com>
|
||
|
||
* gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
|
||
|
||
2014-06-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
Add parameter support for Guile.
|
||
* Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
|
||
(SUBDIR_GUILE_SRCS): Add scm-param.c.
|
||
(scm-param.o): New rule.
|
||
* guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
|
||
(gdbscm_misc_error): Declare.
|
||
(gdbscm_canonicalize_command_name): Declare.
|
||
(gdbscm_scm_to_host_string): Declare.
|
||
(gdbscm_scm_from_host_string): Declare.
|
||
(gdbscm_initialize_parameters): Declare.
|
||
* guile/guile.c (initialize_gdb_module): Call
|
||
gdbscm_initialize_parameters.
|
||
* guile/lib/gdb.scm: Export parameter symbols.
|
||
* guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
|
||
cmdscm_canonicalize_name and made public. All callers updated.
|
||
* guile/scm-exception.c (gdbscm_misc_error): New function.
|
||
* guile/scm-param.c: New file.
|
||
* guile/scm-string.c (gdbscm_scm_to_string): Add comments.
|
||
(gdbscm_scm_to_host_string): New function.
|
||
(gdbscm_scm_from_host_string): New function.
|
||
* scm-utils.c (gdbscm_gc_dup_argv): New function.
|
||
|
||
2014-06-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
Add command support for Guile.
|
||
* Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
|
||
(SUBDIR_GUILE_SRCS): Add scm-cmd.c.
|
||
(scm-cmd.o): New rule.
|
||
* guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
|
||
(gdbscm_user_error_p): Declare.
|
||
(gdbscm_parse_command_name): Declare.
|
||
(gdbscm_valid_command_class_p): Declare.
|
||
(gdbscm_initialize_commands): Declare.
|
||
* guile/guile.c (initialize_gdb_module): Call
|
||
gdbscm_initialize_commands.
|
||
* guile/lib/gdb.scm: Export command symbols.
|
||
* guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
|
||
(throw-user-error): New function.
|
||
* guile/scm-cmd.c: New file.
|
||
* guile/scm-exception.c (user_error_symbol): New static global.
|
||
(gdbscm_user_error_p): New function.
|
||
(gdbscm_initialize_exceptions): Set user_error_symbol.
|
||
* scm-utils.c (gdbscm_gc_xstrdup): New function.
|
||
|
||
2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
|
||
|
||
* top.c (command_loop): Handle comments here...
|
||
(command_line_input): ... not here.
|
||
|
||
2014-06-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
Add progspace support for Guile.
|
||
* Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
|
||
(SUBDIR_GUILE_SRCS): Add scm-progspace.c.
|
||
(scm-progspace.o): New rule.
|
||
* guile/guile-internal.h (pspace_smob): New typedef.
|
||
(psscm_pspace_smob_pretty_printers): Declare.
|
||
(psscm_pspace_smob_from_pspace): Declare.
|
||
(psscm_scm_from_pspace): Declare.
|
||
* guile/guile.c (initialize_gdb_module): Call
|
||
gdbscm_initialize_pspaces.
|
||
* guile/lib/gdb.scm: Export progspace symbols.
|
||
* guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
|
||
support.
|
||
(append-pretty-printer!): Ditto.
|
||
* guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
|
||
Implement.
|
||
* guile/scm-progspace.c: New file.
|
||
|
||
2014-06-03 Alan Modra <amodra@gmail.com>
|
||
|
||
* ppc64-tdep.c (ppc64_standard_linkage8): New.
|
||
(ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
|
||
|
||
2014-06-02 Doug Evans <dje@google.com>
|
||
|
||
Add support for skeletonless type units.
|
||
* dwarf2read.c (struct dwarf2_per_objfile): New member
|
||
n_allocated_type_units.
|
||
(struct dwarf2_per_objfile) <tu_stats>: New member
|
||
nr_all_type_units_reallocs.
|
||
(create_signatured_type_table_from_index): Initialize
|
||
n_allocated_type_units
|
||
(create_all_type_units): Ditto.
|
||
(add_type_unit): Move up in file. New arg slot.
|
||
All callers updated. Increase space for all_type_units more
|
||
efficiently.
|
||
(fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
|
||
(lookup_dwo_signatured_type): Handle skeletonless TUs.
|
||
(lookup_dwp_signatured_type): Ditto.
|
||
(init_tu_and_read_dwo_dies): New arg use_existing_cu.
|
||
All callers updated.
|
||
(build_type_psymtabs_1): Leave type_unit_groups as
|
||
NULL if no TUs present.
|
||
(print_tu_stats): New function.
|
||
(process_skeletonless_type_unit): New function.
|
||
(process_dwo_file_for_skeletonless_type_units): New
|
||
function.
|
||
(process_skeletonless_type_units): New function.
|
||
(dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
|
||
Call print tu_stats if debugging enabled.
|
||
|
||
2014-06-02 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (build_target_command_list): Don't build a command
|
||
list if we have any duplicate location that isn't a dprintf.
|
||
|
||
2014-06-02 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (dprintf_breakpoint_hit): New function.
|
||
(initialize_breakpoint_ops): Install it as dprintf's
|
||
breakpoint_hit method.
|
||
|
||
2014-06-02 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* source.c (substitute_path_rule_matches): Simplify using
|
||
filename_ncmp instead of FILENAME_CMP.
|
||
|
||
2014-06-02 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* source.c (substitute_path_rule_matches): Remove trailing spaces.
|
||
|
||
2014-06-01 Ludovic Courtès <ludo@gnu.org>
|
||
|
||
* configure.ac: When Guile is available, check for the
|
||
availability of 'scm_new_smob'.
|
||
* configure, config.h.in: Regenerate.
|
||
* guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
|
||
function.
|
||
|
||
2014-05-30 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* frame.c (struct frame_info): Add stop_string field.
|
||
(get_prev_frame_always_1): Renamed from get_prev_frame_always.
|
||
(get_prev_frame_always): Old content moved into
|
||
get_prev_frame_always_1. Call get_prev_frame_always_1 inside
|
||
TRY_CATCH, handle MEMORY_ERROR exceptions.
|
||
(frame_stop_reason_string): New function definition.
|
||
* frame.h (unwind_stop_reason_to_string): Extend comment to
|
||
mention frame_stop_reason_string.
|
||
(frame_stop_reason_string): New function declaration.
|
||
* stack.c (frame_info): Switch to frame_stop_reason_string.
|
||
(backtrace_command_1): Switch to frame_stop_reason_string.
|
||
* unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
|
||
(LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
|
||
* guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
|
||
|
||
2014-05-30 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* frame.c (frame_stop_reason_string): Rename to ...
|
||
(unwind_stop_reason_to_string): this.
|
||
* frame.h (frame_stop_reason_string): Rename to ...
|
||
(unwind_stop_reason_to_string): this.
|
||
* stack.c (frame_info): Update call to frame_stop_reason_string.
|
||
(backtrace_command_1): Likewise.
|
||
* guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
|
||
* python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
|
||
|
||
2014-05-30 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* frame.c (remove_prev_frame): New function.
|
||
(get_prev_frame_if_no_cycle): Create / discard cleanup using
|
||
remove_prev_frame.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (resume): Rename local 'hw_step' to 'entry_step'
|
||
and make it const. When a single-step decays to a continue,
|
||
clear 'step', not 'hw_step'. Pass whether the caller wanted
|
||
to step to user_visible_resume_ptid, not what we ask the
|
||
target to do.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (process_event_stop_test, handle_step_into_function)
|
||
(handle_step_into_function_backward): Adjust.
|
||
Don't set the even thread's stop_step and call stop_waiting before
|
||
calling end_stepping_range. Instead do that ...
|
||
(end_stepping_range): ... here. Take an ecs pointer parameter.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (stop_stepping): Rename to ...
|
||
(stop_waiting): ... this.
|
||
(proceed): Update comment.
|
||
(process_event_stop_test, handle_inferior_event)
|
||
(handle_signal_stop, handle_step_into_function)
|
||
(handle_step_into_function_backward): Update.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* infcall.c (run_inferior_call): Don't check whether the current
|
||
thread is running after the proceed call.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
* NEWS: Mention "maint set target-async", "set mi-async", and that
|
||
background execution commands are now always available.
|
||
* target.h (target_async_permitted): Update comment.
|
||
* target.c (target_async_permitted, target_async_permitted_1):
|
||
Default to 1.
|
||
(set_target_async_command): Rename to ...
|
||
(maint_set_target_async_command): ... this.
|
||
(show_target_async_command): Rename to ...
|
||
(maint_show_target_async_command): ... this.
|
||
(_initialize_target): Adjust.
|
||
* infcmd.c (prepare_execution_command): Make extern.
|
||
* inferior.h (prepare_execution_command): Declare.
|
||
* infrun.c (set_observer_mode): Leave target async alone.
|
||
* mi/mi-interp.c (mi_interpreter_init): Install
|
||
mi_on_sync_execution_done as sync_execution_done observer.
|
||
(mi_on_sync_execution_done): New function.
|
||
(mi_execute_command_input_handler): Don't print the prompt if we
|
||
just started a synchronous command with an async target.
|
||
(mi_on_resume): Check sync_execution before printing prompt.
|
||
* mi/mi-main.h (mi_async_p): Declare.
|
||
* mi/mi-main.c: Include gdbcmd.h.
|
||
(mi_async_p): New function.
|
||
(mi_async, mi_async_1): New globals.
|
||
(set_mi_async_command, show_mi_async_command, mi_async): New
|
||
functions.
|
||
(exec_continue): Call prepare_execution_command.
|
||
(run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
|
||
(mi_execute_async_cli_command): Use mi_async_p.
|
||
(_initialize_mi_main): Install "set mi-async". Make
|
||
"target-async" a deprecated alias.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
|
||
(_initialize_cli_interp): Adjust.
|
||
* event-loop.c: Include "observer.h".
|
||
(start_event_loop): Notify 'command_error' observers instead of
|
||
calling display_gdb_prompt. Remove FIXME comment.
|
||
* event-top.c (display_gdb_prompt): Remove call into the
|
||
interpreters.
|
||
* inf-loop.c: Include "observer.h".
|
||
(inferior_event_handler): Notify 'command_error' observers instead
|
||
of calling display_gdb_prompt.
|
||
* infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
|
||
observers instead of calling display_gdb_prompt.
|
||
* interps.c (interp_set): Don't call display_gdb_prompt.
|
||
(current_interp_display_prompt_p): Delete.
|
||
* interps.h (interp_prompt_p): Delete declaration.
|
||
(interp_prompt_p_ftype): Delete.
|
||
(struct interp_procs) <prompt_proc_p>: Delete field.
|
||
(current_interp_display_prompt_p): Delete declaration.
|
||
* mi-interp.c (mi_interpreter_prompt_p): Delete.
|
||
(_initialize_mi_interp): Adjust.
|
||
* tui-interp.c (tui_init): Install 'sync_execution_done' and
|
||
'command_error' observers.
|
||
(tui_on_sync_execution_done, tui_on_command_error): New
|
||
functions.
|
||
(tui_display_prompt_p): Delete.
|
||
(_initialize_tui_interp): Adjust.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/13860
|
||
* cli/cli-interp.c: Include infrun.h and observer.h.
|
||
(cli_uiout, cli_interp): New globals.
|
||
(cli_on_signal_received, cli_on_end_stepping_range)
|
||
(cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
|
||
functions.
|
||
(cli_interpreter_init): Install them as 'end_stepping_range',
|
||
'signal_received' 'signal_exited', 'exited' and 'no_history'
|
||
observers.
|
||
(_initialize_cli_interp): Remove cli_interp local.
|
||
* infrun.c (handle_inferior_event): Call the several stop reason
|
||
observers instead of printing the stop reason directly.
|
||
(end_stepping_range): New function.
|
||
(print_end_stepping_range_reason, print_signal_exited_reason)
|
||
(print_exited_reason, print_signal_received_reason)
|
||
(print_no_history_reason): Make static, and add an uiout
|
||
parameter. Print to that instead of to CURRENT_UIOUT.
|
||
* infrun.h (print_end_stepping_range_reason)
|
||
(print_signal_exited_reason, print_exited_reason)
|
||
(print_signal_received_reason print_no_history_reason): New
|
||
declarations.
|
||
* mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
|
||
'mi_uiout'.
|
||
<cli_uiout>: New field.
|
||
* mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
|
||
uiout for CLI output. Install 'signal_received',
|
||
'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
|
||
observers.
|
||
(find_mi_interpreter, mi_interp_data, mi_on_signal_received)
|
||
(mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
|
||
(mi_on_no_history): New functions.
|
||
(ui_out_free_cleanup): Delete function.
|
||
(mi_on_normal_stop): Don't allocate a new uiout for CLI output,
|
||
instead use the one already stored in the MI interpreter data.
|
||
(mi_ui_out): Adjust.
|
||
* tui/tui-interp.c: Include infrun.h and observer.h.
|
||
(tui_interp): New global.
|
||
(tui_on_signal_received, tui_on_end_stepping_range)
|
||
(tui_on_signal_exited, tui_on_exited)
|
||
(tui_on_no_history): New functions.
|
||
(tui_init): Install them as 'end_stepping_range',
|
||
'signal_received' 'signal_exited', 'exited' and 'no_history'
|
||
observers.
|
||
(_initialize_tui_interp): Delete tui_interp local.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/15713
|
||
* linux-nat.c (linux_nat_resume_callback): Rename the second
|
||
parameter to 'except'. Skip LP if it points to EXCEPT.
|
||
(linux_nat_resume): Don't mark the event lwp as not stopped
|
||
before resuming sibling lwps. Instead ask
|
||
linux_nat_resume_callback to skip the event lwp. Mark it as not
|
||
stopped after actually resuming it.
|
||
(linux_handle_syscall_trap): Mark the lwp as not stopped after
|
||
resuming it.
|
||
(wait_lwp): Mark the lwp as stopped here.
|
||
(stop_wait_callback): Mark the lwp as not stopped right after
|
||
resuming it. Don't mark lwps as stopped here.
|
||
(linux_nat_filter_event): Mark the lwp as stopped earlier.
|
||
(linux_nat_wait_1): Don't mark dead lwps as stopped here.
|
||
|
||
2014-05-29 Pedro Alves <palves@redhat.com>
|
||
|
||
PR PR15693
|
||
* infrun.c (resume): Determine how much to resume depending on
|
||
whether the caller wanted a step, not whether we can hardware step
|
||
the target. Mark all threads that we intend to run as running,
|
||
unless we're calling an inferior function.
|
||
(normal_stop): If the thread is running an infcall, don't finish
|
||
thread state.
|
||
* target.c (target_resume): Don't mark threads as running here.
|
||
|
||
2014-05-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* serial.c (_initialize_serial): Remove support for
|
||
the "set remotebaud" and "show remotebaud" commands.
|
||
* NEWS: Add entry documenting the removal of that command.
|
||
|
||
2014-05-28 Yao Qi <yao@codesourcery.com>
|
||
|
||
* charset.c: Fix typo in comments.
|
||
|
||
2014-05-27 Gary Benson <gbenson@redhat.com>
|
||
|
||
* utils.c (internal_vproblem): Prompt for a bug report.
|
||
|
||
2014-05-26 Andy Wingo <wingo@igalia.com>
|
||
|
||
* guile/scm-arch.c (arscm_mark_arch_smob):
|
||
* guile/scm-block.c (bkscm_mark_block_smob)
|
||
(bkscm_mark_block_syms_progress_smob):
|
||
* guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
|
||
* guile/scm-exception.c (exscm_mark_exception_smob):
|
||
* guile/scm-frame.c (frscm_mark_frame_smob):
|
||
* guile/scm-iterator.c (itscm_mark_iterator_smob):
|
||
* guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
|
||
* guile/scm-objfile.c (ofscm_mark_objfile_smob):
|
||
* guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
|
||
(ppscm_mark_pretty_printer_worker_smob):
|
||
* guile/scm-symbol.c (syscm_mark_symbol_smob):
|
||
* guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
|
||
* guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
|
||
* guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
|
||
mark functions.
|
||
* guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
|
||
function.
|
||
|
||
2014-05-26 Andy Wingo <wingo@igalia.com>
|
||
Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
|
||
empty_base_class. All uses updated.
|
||
(gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
|
||
(gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
|
||
Adapt all callers.
|
||
* guile/scm-gsmob.c (gdbscm_mark_gsmob)
|
||
(gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
|
||
(gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
|
||
(gdbscm_gsmob_has_property_p, add_property_name)
|
||
(gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
|
||
* guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
|
||
(gdb-object-has-property?, gdb-object-properties): Remove.
|
||
(gdb-object-kind): Renamed from gsmob-kind.
|
||
|
||
2014-05-26 Andy Wingo <wingo@igalia.com>
|
||
|
||
* configure.ac (try_guile_versions): Allow building with guile 2.2.
|
||
* configure: Regenerate.
|
||
|
||
2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
|
||
|
||
2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_allow_memory_access): Remove.
|
||
(replay_memory_access_read_only, replay_memory_access_read_write)
|
||
(replay_memory_access_types, replay_memory_access)
|
||
(set_record_btrace_cmdlist, show_record_btrace_cmdlist)
|
||
(cmd_set_record_btrace, cmd_show_record_btrace)
|
||
(cmd_show_replay_memory_access): New.
|
||
(record_btrace_xfer_partial, record_btrace_insert_breakpoint)
|
||
(record_btrace_remove_breakpoint): Replace
|
||
record_btrace_allow_memory_access with replay_memory_access.
|
||
(_initialize_record_btrace): Add commands.
|
||
* NEWS: Announce it.
|
||
|
||
2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||
|
||
* aarch64-linux-nat.c (asm/ptrace.h): Include.
|
||
|
||
2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Move self back from
|
||
paper trail.
|
||
|
||
2014-05-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
|
||
(sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
|
||
(disable_randomization, enum exec_direction_kind)
|
||
(execution_direction, stop_registers, start_remote)
|
||
(clear_proceed_status, proceed, resume, user_visible_resume_ptid)
|
||
(wait_for_inferior, normal_stop, get_last_target_status)
|
||
(prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
|
||
(insert_step_resume_breakpoint_at_sal)
|
||
(follow_inferior_reset_breakpoints, stepping_past_instruction_at)
|
||
(set_step_info, print_stop_event, signal_stop_state)
|
||
(signal_print_state, signal_pass_state, signal_stop_update)
|
||
(signal_print_update, signal_pass_update)
|
||
(update_signals_program_target, clear_exit_convenience_vars)
|
||
(displaced_step_dump_bytes, update_observer_mode)
|
||
(signal_catch_update, gdb_signal_from_command): Move
|
||
declarations ...
|
||
* infrun.h: ... to this new file.
|
||
* amd64-tdep.c: Include infrun.h.
|
||
* annotate.c: Include infrun.h.
|
||
* arch-utils.c: Include infrun.h.
|
||
* arm-linux-tdep.c: Include infrun.h.
|
||
* arm-tdep.c: Include infrun.h.
|
||
* break-catch-sig.c: Include infrun.h.
|
||
* breakpoint.c: Include infrun.h.
|
||
* common/agent.c: Include infrun.h instead of inferior.h.
|
||
* corelow.c: Include infrun.h.
|
||
* event-top.c: Include infrun.h.
|
||
* go32-nat.c: Include infrun.h.
|
||
* i386-tdep.c: Include infrun.h.
|
||
* inf-loop.c: Include infrun.h.
|
||
* infcall.c: Include infrun.h.
|
||
* infcmd.c: Include infrun.h.
|
||
* infrun.c: Include infrun.h.
|
||
* linux-fork.c: Include infrun.h.
|
||
* linux-nat.c: Include infrun.h.
|
||
* linux-thread-db.c: Include infrun.h.
|
||
* monitor.c: Include infrun.h.
|
||
* nto-tdep.c: Include infrun.h.
|
||
* procfs.c: Include infrun.h.
|
||
* record-btrace.c: Include infrun.h.
|
||
* record-full.c: Include infrun.h.
|
||
* remote-m32r-sdi.c: Include infrun.h.
|
||
* remote-mips.c: Include infrun.h.
|
||
* remote-notif.c: Include infrun.h.
|
||
* remote-sim.c: Include infrun.h.
|
||
* remote.c: Include infrun.h.
|
||
* reverse.c: Include infrun.h.
|
||
* rs6000-tdep.c: Include infrun.h.
|
||
* s390-linux-tdep.c: Include infrun.h.
|
||
* solib-irix.c: Include infrun.h.
|
||
* solib-osf.c: Include infrun.h.
|
||
* solib-svr4.c: Include infrun.h.
|
||
* target.c: Include infrun.h.
|
||
* top.c: Include infrun.h.
|
||
* windows-nat.c: Include infrun.h.
|
||
* mi/mi-interp.c: Include infrun.h.
|
||
* mi/mi-main.c: Include infrun.h.
|
||
* python/py-threadevent.c: Include infrun.h.
|
||
|
||
2014-05-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (handle_inferior_event): Store the exit code for
|
||
--return-child-result here, instead of ...
|
||
(print_exited_reason): ... here.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/13860
|
||
* gdbthread.h (struct thread_control_state): New field
|
||
`command_interp'.
|
||
* infrun.c (follow_fork): Copy the new thread control field to the
|
||
child fork thread.
|
||
(clear_proceed_status_thread): Clear the new thread control field.
|
||
(proceed): Set the new thread control field.
|
||
* interps.h (command_interp): Declare.
|
||
* interps.c (command_interpreter): New global.
|
||
(command_interp): New function.
|
||
(interp_exec): Set `command_interpreter' while here.
|
||
* cli-out.c (cli_uiout_dtor): New function.
|
||
(cli_ui_out_impl): Install it.
|
||
* mi/mi-interp.c: Include cli-out.h.
|
||
(mi_cmd_interpreter_exec): Add comment.
|
||
(restore_current_uiout_cleanup): New function.
|
||
(ui_out_free_cleanup): New function.
|
||
(mi_on_normal_stop): If finishing an execution command started by
|
||
a CLI command, or any kind of breakpoint-like event triggered,
|
||
print the stop event to the output (CLI) stream.
|
||
* mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* cli/cli-cmds.c (list_command): Handle the first "list" after the
|
||
current source line having changed.
|
||
* frame.h (set_current_sal_from_frame): Remove 'center' parameter.
|
||
* infrun.c (normal_stop): Adjust call to
|
||
set_current_sal_from_frame.
|
||
* source.c (clear_lines_listed_range): New function.
|
||
(set_current_source_symtab_and_line, identify_source_line): Clear
|
||
the lines listed range.
|
||
(line_info): Handle the first "info line" after the current source
|
||
line having changed.
|
||
* stack.c (print_stack_frame): Remove center handling.
|
||
(set_current_sal_from_frame): Remove 'center' parameter. Don't
|
||
center sal.line.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.c (inf_child_mourn_inferior): New function.
|
||
* inf-child.h (inf_child_mourn_inferior): New declaration.
|
||
* darwin-nat.c (darwin_mourn_inferior): Use
|
||
inf_child_mourn_inferior.
|
||
* gnu-nat.c (gnu_mourn_inferior): Likewise.
|
||
* inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
|
||
* inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
|
||
* nto-procfs.c (procfs_mourn_inferior): Likewise.
|
||
* windows-nat.c (windows_mourn_inferior): Likewise.
|
||
|
||
2014-05-21 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
|
||
|
||
2014-05-21 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
|
||
(gdbscm_out_of_range_error): Ditto.
|
||
(gdbscm_memory_error): Ditto.
|
||
* guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
|
||
* guile/guile-internal.h (gdbscm_invalid_object_error): Update.
|
||
(gdbscm_out_of_range_error): Update.
|
||
(gdbscm_memory_error): Update.
|
||
(gdbscm_scm_to_target_string_unsafe): Delete.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
|
||
globals.
|
||
(inf_child_open_target): New function.
|
||
(inf_child_open): Use inf_child_open_target to push the target
|
||
instead of erroring out.
|
||
(inf_child_disconnect, inf_child_close)
|
||
(inf_child_maybe_unpush_target): New functions.
|
||
(inf_child_target): Install inf_child_disconnect and
|
||
inf_child_close. Store a pointer to the returned object.
|
||
* inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
|
||
declarations.
|
||
* target.c (auto_connect_native_target): New global.
|
||
(show_default_run_target): New function.
|
||
(find_default_run_target): Return NULL if automatically connecting
|
||
to the native target is disabled.
|
||
(_initialize_target): Install set/show auto-connect-native-target.
|
||
* NEWS: Mention "set auto-connect-native-target", and "target
|
||
native".
|
||
* linux-nat.c (super_close): New global.
|
||
(linux_nat_close): Call super_close.
|
||
(linux_nat_add_target): Store a pointer to the base class's
|
||
to_close method.
|
||
* inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
|
||
inf_child_maybe_unpush.
|
||
* inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
|
||
already pushed.
|
||
(inf_ttrace_mourn_inferior): Only unpush the target after mourning
|
||
the inferior. Use inf_child_maybe_unpush_target.
|
||
(inf_ttrace_attach): Don't push the target if it is already
|
||
pushed.
|
||
(inf_ttrace_detach): Use inf_child_maybe_unpush_target.
|
||
* darwin-nat.c (darwin_mourn_inferior): Only unpush the target
|
||
after mourning the inferior. Use inf_child_maybe_unpush_target.
|
||
(darwin_attach_pid): Don't push the target if it is already
|
||
pushed.
|
||
* gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
|
||
mourning the inferior. Use inf_child_maybe_unpush_target.
|
||
(gnu_detach): Use inf_child_maybe_unpush_target.
|
||
* go32-nat.c (go32_create_inferior): Don't push the target if it
|
||
is already pushed.
|
||
(go32_mourn_inferior): Use inf_child_maybe_unpush_target.
|
||
* nto-procfs.c (procfs_is_nto_target): Adjust comment.
|
||
(procfs_open): Rename to ...
|
||
(procfs_open_1): ... this. Add target_ops parameter. Adjust
|
||
comments. Can target_preopen before changing node. Call
|
||
inf_child_open_target to push the target explicitly.
|
||
(procfs_attach): Don't push the target if it is already pushed.
|
||
(procfs_detach): Use inf_child_maybe_unpush_target.
|
||
(procfs_create_inferior): Don't push the target if it is already
|
||
pushed.
|
||
(nto_native_ops): New global.
|
||
(procfs_open): Reimplement.
|
||
(procfs_native_open): New function.
|
||
(init_procfs_targets): Install procfs_native_open as to_open of
|
||
"target native". Store a pointer to the "native" target in
|
||
nto_native_ops.
|
||
* procfs.c (procfs_attach): Don't push the target if it is already
|
||
pushed.
|
||
(procfs_detach): Use inf_child_maybe_unpush_target.
|
||
(procfs_mourn_inferior): Only unpush the target after mourning the
|
||
inferior. Use inf_child_maybe_unpush_target.
|
||
(procfs_init_inferior): Don't push the target if it is already
|
||
pushed.
|
||
* windows-nat.c (do_initial_windows_stuff): Don't push the target
|
||
if it is already pushed.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
|
||
and "procfs" targets are now called "native" instead.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c (go32_open): Delete.
|
||
(go32_target): Don't override the to_open method.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* nto-procfs.c (procfs_can_run): New function.
|
||
(nto_procfs_ops): New global.
|
||
(init_procfs_targets): New, based on procfs_target. Install
|
||
"target native" in addition to "target procfs".
|
||
(_initialize_procfs): Call init_procfs_targets instead of adding
|
||
the target here.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* windows-nat.c (windows_target): Don't override to_shortname,
|
||
to_longname or to_doc.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* gnu-nat.c (gnu): Don't override to_shortname, to_longname or
|
||
to_doc.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* darwin-nat.c (_initialize_darwin_inferior): Don't override
|
||
to_shortname, to_longname or to_doc.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c (go32_target): Don't override to_shortname,
|
||
to_longname or to_doc.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.c (inf_child_open): Remove mention of "child".
|
||
(inf_child_target): Rename target to "native" instead of "child".
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* Makefile.in (SFILES): Delete "regset.c".
|
||
(COMMON_OBS): Delete "regset.o".
|
||
* regset.c: Remove.
|
||
* regset.h (regset_alloc): Delete prototype.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* sparc-linux-tdep.c (sparc32_linux_gregset)
|
||
(sparc32_linux_fpregset): New static regset structures.
|
||
(sparc32_linux_init_abi): Drop dynamic regset allocations.
|
||
* sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
|
||
'fpregset' fields.
|
||
* sparc64-linux-tdep.c: (sparc64_linux_gregset)
|
||
(sparc64_linux_fpregset): New static regset structures.
|
||
(sparc64_linux_init_abi): Drop dynamic regset allocations.
|
||
* sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
|
||
New static regset structures.
|
||
(sparc64fbsd_init_abi): Drop dynamic regset allocations.
|
||
* sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
|
||
New static regset structures.
|
||
(sparc64nbsd_init_abi): Drop dynamic regset allocations.
|
||
* sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
|
||
New static regset structures.
|
||
(sparc64obsd_init_abi): Drop dynamic regset allocations.
|
||
* sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
|
||
New static regset structures.
|
||
(sparc32nbsd_init_abi): Drop dynamic regset allocations.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* sparc-linux-nat.c (supply_gregset, supply_fpregset)
|
||
(fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
|
||
register maps ("regmaps") from "*regset" to "*regmap". Do this
|
||
for all regmap types and variables.
|
||
* sparc-linux-tdep.c (sparc32_linux_step_trap)
|
||
(sparc32_linux_supply_core_gregset)
|
||
(sparc32_linux_collect_core_gregset)
|
||
(sparc32_linux_supply_core_fpregset)
|
||
(sparc32_linux_collect_core_fpregset): Likewise.
|
||
* sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
|
||
(sparc_gregmap, sparc_fpregmap): ... these.
|
||
(sparc_supply_gregset, sparc_collect_gregset)
|
||
(sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
|
||
(sparc_fetch_inferior_registers, sparc_store_inferior_registers)
|
||
(_initialize_sparc_nat): Rename regmaps.
|
||
* sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
|
||
(sparc_gregmap, sparc_fpregmap): ... these.
|
||
(sparc_supply_gregset, sparc_collect_gregset)
|
||
(sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
|
||
* sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
|
||
Rename macros to...
|
||
(sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
|
||
(supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
|
||
Likewise.
|
||
* sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
|
||
Rename to...
|
||
(sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
|
||
* sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
|
||
(sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
|
||
regmaps.
|
||
(sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
|
||
(sparc32_bsd_fpregset): Rename to...
|
||
(sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
|
||
(sparc32_bsd_fpregmap): ... these.
|
||
* sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
|
||
(sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
|
||
(sparc32_bsd_fpregset, sparc32_sol2_gregset)
|
||
(sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
|
||
(struct sparc_gregmap, struct sparc_fpregmap)
|
||
(sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
|
||
(sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
|
||
(sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
|
||
(sparc32_supply_regset, sparc32_collect_gregset)
|
||
(sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
|
||
prototypes.
|
||
* sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
|
||
(sparc64_linux_ptrace_gregmap): ... this.
|
||
(supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
|
||
(_initialize_sparc64_linux_nat): Rename regmaps.
|
||
* sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
|
||
(sparc64_linux_core_gregmap): ... this.
|
||
(sparc64_linux_supply_core_gregset)
|
||
(sparc64_linux_collect_core_gregset)
|
||
(sparc64_linux_supply_core_fpregset)
|
||
(sparc64_linux_collect_core_fpregset): Rename regmaps.
|
||
* sparc64-sol2-tdep.c (sparc64_sol2_gregset)
|
||
(sparc64_sol2_fpregset): Rename to...
|
||
(sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
|
||
* sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
|
||
(sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
|
||
regmaps.
|
||
* sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
|
||
(sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
|
||
(sparc64_bsd_fpregset): Rename to...
|
||
(struct sparc_gregmap, sparc64_sol2_gregmap)
|
||
(sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
|
||
(sparc64_bsd_fpregmap): ... these.
|
||
(sparc64_supply_gregset, sparc64_collect_gregset)
|
||
(sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
|
||
prototypes.
|
||
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
|
||
* sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
|
||
(sparc64fbsd_gregmap): ... this.
|
||
(sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
|
||
(sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
|
||
Rename regmaps.
|
||
* sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
|
||
(sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
|
||
(sparc64nbsd_collect_fpregset): Likewise.
|
||
* sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
|
||
(sparc64nbsd_gregmap): ... this.
|
||
(sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
|
||
regmaps.
|
||
* sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
|
||
* sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
|
||
(sparc64obsd_gregmap): ... this.
|
||
(sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
|
||
regmaps.
|
||
* sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
|
||
* sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
|
||
(sparc32nbsd_gregmap): ... this.
|
||
(sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
|
||
regmaps.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* score-tdep.c (score7_linux_gregset): New static regset
|
||
structure.
|
||
(score7_linux_regset_from_core_section): Remove dynamic regset
|
||
allocation.
|
||
(score_gdbarch_init): Drop allocation of tdep structure.
|
||
* score-tdep.h (struct gdbarch_tdep): Remove declaration.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
|
||
regset structures.
|
||
(am33_regset_from_core_section): Remove dynamic regset
|
||
allocations.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
|
||
(mips_linux_fpregset, mips64_linux_fpregset): New static regset
|
||
structures.
|
||
(mips_linux_regset_from_core_section): Remove dynamic regset
|
||
allocations.
|
||
* mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
|
||
'gregset64', 'fpregset', and 'fpregset64'.
|
||
* mips-tdep.c (mips_gdbarch_init): Remove initialization of
|
||
deleted tdep fields.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
|
||
regset structures.
|
||
(amd64_regset_from_core_section): Remove dynamic regset
|
||
allocations.
|
||
* amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
|
||
structure.
|
||
(amd64obsd_regset_from_core_section): Remove dynamic regset
|
||
allocation.
|
||
* i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
|
||
Likewise.
|
||
* i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
|
||
x86-common regset supply function.
|
||
* i386-tdep.c (i386_collect_gregset): Make static.
|
||
(i386_gregset): New global regset structure.
|
||
(i386_fpregset, i386_xstateregset): New static regset structures.
|
||
(i386_regset_from_core_section): Remove dynamic regset
|
||
allocations.
|
||
(i386_gdbarch_init): Remove initialization of tdep fields
|
||
'gregset', 'fpregset', and 'xstateregset'.
|
||
* i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
|
||
'fpregset', and 'xstateregset'.
|
||
(i386_collect_gregset): Remove prototype.
|
||
(i386_gregset): New declaration.
|
||
* i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
|
||
structure.
|
||
(i386obsd_aout_regset_from_core_section): Remove dynamic regset
|
||
allocation.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
|
||
(arm_linux_vfpregset): New static regset structures.
|
||
(arm_linux_regset_from_core_section): Remove dynamic allocation of
|
||
regset structures.
|
||
* arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
|
||
and 'vfpregset' fields.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* aarch64-linux-tdep.c (aarch64_linux_gregset)
|
||
(aarch64_linux_fpregset): New static regset structures.
|
||
(aarch64_linux_regset_from_core_section): Drop dynamic allocation
|
||
of regset structures.
|
||
* aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
|
||
'fpregset' fields.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* regset.h (struct regset): Remove gdbarch field.
|
||
* regset.c (regset_alloc): Drop initialization of gdbarch field.
|
||
* nios2-linux-tdep.c (nios2_core_regset): Likewise.
|
||
* ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
|
||
Likewise.
|
||
* ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
|
||
(ppc32_linux_fpregset, ppc32_linux_vrregset)
|
||
(ppc32_linux_vsxregset): Likewise.
|
||
* i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
|
||
via the regcache instead of the regset.
|
||
* i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
|
||
(i386_supply_fpregset, i386_collect_fpregset): Likewise.
|
||
* amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
|
||
* amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
|
||
Likewise.
|
||
|
||
2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
|
||
Constify structures.
|
||
* alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
|
||
(alphanbsd_aout_gregset): Likewise.
|
||
* armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
|
||
* frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
|
||
Likewise.
|
||
* hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
|
||
* hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
|
||
Likewise.
|
||
* hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
|
||
* hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
|
||
* m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
|
||
* m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
|
||
* m88k-tdep.c (m88k_gregset): Likewise.
|
||
* mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
|
||
* mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
|
||
* nios2-linux-tdep.c (nios2_core_regset): Likewise.
|
||
* ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
|
||
* ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
|
||
* ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
|
||
* ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
|
||
* ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
|
||
* rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
|
||
Likewise.
|
||
* sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
|
||
* sh-tdep.h (sh_corefile_gregset): Likewise.
|
||
* tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
|
||
* vax-tdep.c (vax_gregset): Likewise.
|
||
|
||
2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix TLS access for -static -pthread.
|
||
* linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
|
||
(try_thread_db_load_1): Initialize it.
|
||
(thread_db_get_thread_local_address): Call it if LM is zero.
|
||
* target.c (target_translate_tls_address): Remove LM_ADDR zero check.
|
||
* target.h (struct target_ops) (to_get_thread_local_address): Add
|
||
load_module_addr comment.
|
||
|
||
2014-05-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* dcache.c (dcache_read_memory_partial): If reading the cache line
|
||
fails, fallback to reading just the memory the caller wanted.
|
||
|
||
2014-05-20 Doug Evans <dje@google.com>
|
||
|
||
* python/py-progspace.c (py_free_pspace): Call target_gdbarch
|
||
instead of get_current_arch.
|
||
|
||
2014-05-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* NEWS: Mention that compare-sections now works with all targets.
|
||
|
||
* remote.c (PACKET_qCRC): New enum value.
|
||
(remote_verify_memory): Don't send qCRC if the target has no
|
||
execution. Use packet_support/packet_ok. If the target doesn't
|
||
support the qCRC packet, fallback to a deep memory copy.
|
||
(compare_sections_command): Say "target image" instead of "remote
|
||
executable".
|
||
(_initialize_remote): Add PACKET_qCRC to the list of config
|
||
packets that have no associated command. Extend comment.
|
||
* target.c (simple_verify_memory, default_verify_memory): New
|
||
function.
|
||
* target.h (struct target_ops) <to_verify_memory>: Default to
|
||
default_verify_memory.
|
||
(simple_verify_memory): New declaration.
|
||
* target-delegates.c: Regenerate.
|
||
|
||
2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_step_thread): Check for empty history.
|
||
|
||
2014-05-20 Hui Zhu <hui@codesourcery.com>
|
||
Yao Qi <yao@codesourcery.com>
|
||
|
||
PR backtrace/16558
|
||
* aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
|
||
and change address of sp and pc.
|
||
|
||
2014-05-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gdbtypes.c (rank_function): Use XNEWVEC.
|
||
* mi/mi-cmds.c (build_table): Use XCNEWVEC.
|
||
|
||
2014-05-19 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (build_type_psymtabs_1): Renamed from
|
||
build_type_unit_groups and moved closer to only caller. Remove
|
||
arguments. All references updated. Remove outdated .gdb_index
|
||
comment.
|
||
(struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
|
||
build_type_psymtabs_1.
|
||
|
||
2014-05-19 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
|
||
n_type_unit_groups, all_type_unit_groups. All uses removed.
|
||
(get_type_unit_group, build_type_unit_groups): Delete forward decls.
|
||
(dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
|
||
(dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
|
||
(add_type_unit_group_to_table): Delete.
|
||
|
||
2014-05-19 Doug Evans <dje@google.com>
|
||
|
||
* eval.c (evaluate_subexp_standard): Add some comments.
|
||
|
||
2014-05-17 Doug Evans <xdje42@gmail.com>
|
||
|
||
* progspace.c (remove_program_space): Delete, unused.
|
||
* progspace.h (remove_program_space): Ditto.
|
||
|
||
2014-05-17 Doug Evans <xdje42@gmail.com>
|
||
|
||
* inferior.c (prune_inferiors): Fix comment.
|
||
(remove_inferior_command): Call prune_program_spaces.
|
||
|
||
2014-05-16 Doug Evans <dje@google.com>
|
||
|
||
New command line option -D.
|
||
* NEWS: Mention it.
|
||
* main.c (set_gdb_data_directory): New function.
|
||
(captured_main): Recognize -D. Flag error for --data-directory "".
|
||
Call set_gdb_data_directory.
|
||
(print_gdb_help): Print --data-directory, -D.
|
||
* main.h (set_gdb_data_directory): Declare.
|
||
* top.c (staged_gdb_datadir): New static global.
|
||
(set_gdb_datadir): Call set_gdb_data_directory
|
||
(show_gdb_datadir): New function.
|
||
(init_main): Update init of data-directory parameter.
|
||
|
||
2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
|
||
|
||
Import the "dirfd" gnulib module.
|
||
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
|
||
* gnulib/aclocal.m4: Update.
|
||
* gnulib/config.in: Update.
|
||
* gnulib/configure: Update.
|
||
* gnulib/import/Makefile.am: Update.
|
||
* gnulib/import/Makefile.in: Update.
|
||
* gnulib/import/dirfd.c: New.
|
||
* gnulib/import/m4/dirfd.m4: New.
|
||
* gnulib/import/m4/gnulib-cache.m4: Update.
|
||
* gnulib/import/m4/gnulib-comp.m4: Update.
|
||
|
||
2014-05-16 Pierre Muller <muller@sourceware.org>
|
||
Yao Qi <yao@codesourcery.com>
|
||
|
||
* valprint.c (print_wchar): Move the code on checking whether
|
||
W is a printable wide char to the default branch of switch
|
||
statement below. Call wchar_printable instead of gdb_iswprint.
|
||
|
||
2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
|
||
|
||
* arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
|
||
ldr.w and ldrd instructions.
|
||
|
||
2014-05-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_structure_type): Delete outdated comments.
|
||
|
||
2014-05-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
* macrocmd.c (print_macro_definition): Reindent.
|
||
|
||
2014-05-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
* python/py-cmd.c (cmdpy_completer): Add comment.
|
||
(completers): Make const.
|
||
|
||
2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* infrun.c (resume): Remove should_resume (unused). Move up
|
||
declaration of resume_ptid.
|
||
|
||
2014-05-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* language.h (unop_type_check): Remove.
|
||
(binop_type_check): Don't declare.
|
||
|
||
2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
|
||
|
||
* s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
|
||
call to regcache_raw_collect.
|
||
|
||
2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* mi/mi-console.c (mi_console_raw_packet): Use the value from
|
||
mi_console->quote as the quoting character.
|
||
|
||
2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Add "Simon Marchi".
|
||
|
||
2014-04-29 Tom Tromey <tromey@redhat.com>
|
||
|
||
* varobj.c (_initialize_varobj): Rename to "set debug varobj" and
|
||
"show debug varobj".
|
||
|
||
2014-05-07 Kyle McMartin <kyle@redhat.com>
|
||
|
||
Pushed by Joel Brobecker <brobecker@adacore.com>.
|
||
* aarch64-tdep.c (aarch64_software_single_step): New function.
|
||
(aarch64_gdbarch_init): Handle single stepping of atomic sequences
|
||
with aarch64_software_single_step.
|
||
|
||
2014-05-05 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.7.1 released.
|
||
|
||
2014-05-05 Keith Seitz <keiths@redhat.com>
|
||
|
||
* linespec.c (linespec_parse_basic): Run cleanups if a convenience
|
||
variable or history value is successfully parsed.
|
||
|
||
2014-05-05 Yao Qi <yao@codesourcery.com>
|
||
Pedro Alves <palves@redhat.com>
|
||
|
||
* tracefile-tfile.c (tfile_xfer_partial): Record the lowest
|
||
address of blocks that intersects the requested range. Trim
|
||
LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
|
||
sections.
|
||
* ctf.c (ctf_xfer_partial): Likewise.
|
||
|
||
2014-05-05 Yao Qi <yao@codesourcery.com>
|
||
|
||
* printcmd.c (display_command): Remove the check to
|
||
target_has_execution.
|
||
|
||
2014-05-03 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* ppcobsd-nat.c: Include "obsd-nat.h".
|
||
(_initialize_ppcobsd_nat): Call obsd_add_target instead of
|
||
add_target.
|
||
* config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
|
||
|
||
2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* stap-probe.c (enum stap_arg_bitness): New enums to represent 8
|
||
and 16-bit signed and unsigned arguments. Update comment.
|
||
(stap_parse_probe_arguments): Extend code to handle such
|
||
arguments. Use warning instead of complaint to notify about
|
||
unrecognized bitness.
|
||
|
||
2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR breakpoints/16889
|
||
* stap-probe.c (stap_parse_probe_arguments): Simplify
|
||
check for non-prefixed probes (i.e., probes whose
|
||
arguments do not start with "N@"). Always set the
|
||
argument type to a sane value.
|
||
|
||
2014-05-01 David Taylor <dtaylor@emc.com>
|
||
|
||
* remote.c (compare_sections_command): Add -r option to compare
|
||
all loadable read-only sections.
|
||
|
||
2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* dwarf2loc.c (dwarf2_locexpr_baton_eval,
|
||
dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
|
||
Update all callers.
|
||
* dwarf2loc.h (dwarf2_evaluate_property): Update signature.
|
||
* gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
|
||
Remove unused CORE_ADDR argument. Update all callers.
|
||
|
||
2014-04-29 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (struct packet_config) <detect>: Extend comment.
|
||
(add_packet_config_cmd): Don't set the config's detect or support
|
||
fields here.
|
||
(init_all_packet_configs): Also initialize the config's 'detect'
|
||
field.
|
||
(reset_all_packet_configs_support): New function.
|
||
(remote_open_1): Call reset_all_packet_configs_support instead of
|
||
init_all_packet_configs.
|
||
(_initialize_remote): Initialize all packet configs. Assert that
|
||
all packets have an associated command, except a few known
|
||
outliers.
|
||
|
||
2014-04-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2read.c (read_subrange_type): Handle dynamic
|
||
DW_AT_lower_bound attributes.
|
||
|
||
2014-04-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
|
||
dynamic bounds before computing its upper bound.
|
||
(ada_discrete_type_low_bound): Same as above with the lower bound.
|
||
|
||
2014-04-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2read.c (is_dynamic_type): Return true for dynamic
|
||
range types. Adjust the array handling implementation to
|
||
take advantage of this change.
|
||
(resolve_dynamic_range): New function, mostly extracted from
|
||
resolve_dynamic_bounds.
|
||
(resolve_dynamic_array): New function, mostly extracted from
|
||
resolve_dynamic_bounds.
|
||
(resolve_dynamic_bounds): Delete.
|
||
(resolve_dynamic_type): Reimplement. Add handling of
|
||
TYPE_CODE_RANGE types.
|
||
|
||
2014-04-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
|
||
handling of parallel ___XA types.
|
||
|
||
2014-04-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
|
||
unnecessary second call to static_unwrap_type.
|
||
|
||
2014-04-27 Hui Zhu <hui@codesourcery.com>
|
||
|
||
* stack.c (print_frame_info): Call do_gdb_disassembly with
|
||
DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
|
||
|
||
2014-04-26 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
|
||
|
||
2014-04-25 Pedro Alves <palves@redhat.com>
|
||
|
||
PR server/16255
|
||
* common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
|
||
(linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
|
||
and newline from built string.
|
||
* common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
|
||
(linux_ptrace_attach_fail_reason): ... this.
|
||
* linux-nat.c (linux_nat_attach): Adjust to use
|
||
linux_ptrace_attach_fail_reason.
|
||
|
||
2014-04-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (struct remote_state): Remove multi_process_aware,
|
||
non_stop_aware, cond_tracepoints, cond_breakpoints,
|
||
breakpoint_commands, fast_tracepoints, static_tracepoints,
|
||
install_in_trace, disconnected_tracing,
|
||
enable_disable_tracepoints, string_tracing, and
|
||
augmented_libraries_svr4_read fields.
|
||
(remote_multi_process_p): Move further below in the file.
|
||
(struct packet_config): Add comments.
|
||
(update_packet_config): Delete function.
|
||
(show_packet_config_cmd): Use packet_config_support.
|
||
(add_packet_config_cmd): Use NULL as set callback.
|
||
(packet_ok): "set remote foo-packet"-style commands no longer
|
||
change config->supported -- adjust.
|
||
(PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
|
||
(PACKET_BreakpointCommands, PACKET_FastTracepoints)
|
||
(PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
|
||
(PACKET_QNonStop, PACKET_multiprocess_feature)
|
||
(PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
|
||
(PACKET_DisconnectedTracing_feature)
|
||
(PACKET_augmented_libraries_svr4_read_feature): New enum values.
|
||
(set_remote_protocol_packet_cmd): Delete function.
|
||
(packet_config_support, packet_support): New functions.
|
||
(set_remote_protocol_Z_packet_cmd): Don't call
|
||
update_packet_config.
|
||
(remote_query_attached, remote_pass_signals)
|
||
(remote_program_signals, remote_threads_info)
|
||
(remote_threads_extra_info, remote_start_remote): Use
|
||
packet_support.
|
||
(remote_start_remote): Use packet_config_support and
|
||
packet_support.
|
||
(init_all_packet_configs): Set all packets to unknown support,
|
||
instead of calling update_packet_config.
|
||
(remote_check_symbols): Use packet_support.
|
||
(remote_supported_packet): Unconditionally set the packet config's
|
||
support status.
|
||
(remote_multi_process_feature, remote_non_stop_feature)
|
||
(remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
|
||
(remote_breakpoint_commands_feature)
|
||
(remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
|
||
(remote_install_in_trace_feature)
|
||
(remote_disconnected_tracing_feature)
|
||
(remote_enable_disable_tracepoint_feature)
|
||
(remote_string_tracing_feature)
|
||
(remote_augmented_libraries_svr4_read_feature): Delete functions.
|
||
(remote_protocol_features): Adjust to use remote_supported_packet
|
||
for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
|
||
"ConditionalTracepoints", "ConditionalBreakpoints",
|
||
"BreakpointCommands", "FastTracepoints", "StaticTracepoints",
|
||
"InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
|
||
"EnableDisableTracepoints", and "tracenz".
|
||
(remote_query_supported): Use packet_support.
|
||
(remote_open_1): Adjust.
|
||
(extended_remote_attach_1): Use packet_support. Switch on the
|
||
result of packet_ok instead of checking whether the packet ended
|
||
up disabled.
|
||
(remote_vcont_resume): Use packet_support.
|
||
(remote_resume, remote_stop_ns, fetch_register_using_p)
|
||
(remote_prepare_to_store, store_register_using_P)
|
||
(check_binary_download, remote_write_bytes): Use packet_support.
|
||
(remote_vkill): Use packet_support. Switch on the result of
|
||
packet_ok instead of checking whether the packet ended up
|
||
disabled.
|
||
(extended_remote_supports_disable_randomization): Use
|
||
packet_support.
|
||
(extended_remote_run): Switch on the result of packet_ok instead
|
||
of checking whether the packet ended up disabled.
|
||
(remote_insert_breakpoint, remote_remove_breakpoint)
|
||
(remote_insert_watchpoint, remote_remove_watchpoint)
|
||
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
|
||
packet_support.
|
||
(remote_search_memory): Use packet_config_support.
|
||
(remote_get_thread_local_address, remote_get_tib_address)
|
||
(remote_hostio_send_command, remote_can_execute_reverse): Use
|
||
packet_support.
|
||
(remote_supports_cond_tracepoints)
|
||
(remote_supports_cond_breakpoints)
|
||
(remote_supports_fast_tracepoints)
|
||
(remote_supports_static_tracepoints)
|
||
(remote_supports_install_in_trace)
|
||
(remote_supports_enable_disable_tracepoint)
|
||
(remote_supports_string_tracing)
|
||
(remote_can_run_breakpoint_commands): Rewrite, checking whether
|
||
the packet config says the feature is enabled or disabled.
|
||
(remote_download_tracepoint, remote_trace_set_readonly_regions)
|
||
(remote_get_trace_status): Use packet_support.
|
||
(remote_set_disconnected_tracing): Adjust to check whether the
|
||
feature is enabled with packet_support.
|
||
(remote_set_trace_buffer_size, remote_use_agent)
|
||
(remote_can_use_agent, remote_supports_btrace): Use
|
||
packet_support.
|
||
(remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
|
||
Use packet_config_support.
|
||
(remote_augmented_libraries_svr4_read): Rewrite, checking whether
|
||
the packet config says the feature is enabled or disabled.
|
||
(set_range_stepping): Use packet_support.
|
||
|
||
2014-04-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
|
||
argument.
|
||
|
||
2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* NEWS: Mention support for C99 variable length arrays.
|
||
|
||
2014-04-24 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (standard_exc): Expand introductory comment.
|
||
|
||
2014-04-24 Michael Sturm <michael.sturm@mintel.com>
|
||
Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||
|
||
* amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
|
||
AVX512 registers.
|
||
(amd64_linux_read_description): Add code to handle AVX512 xstate
|
||
mask and return respective tdesc.
|
||
* amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
|
||
and features/i386/x32-avx512-linux.c.
|
||
(amd64_linux_gregset_reg_offset): Add AVX512 registers.
|
||
(amd64_linux_core_read_description): Add code to handle AVX512
|
||
xstate mask and return respective tdesc.
|
||
(_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
|
||
* amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
|
||
calculation.
|
||
(AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
|
||
(tdesc_amd64_avx512_linux): New prototype.
|
||
(tdesc_x32_avx512_linux): Likewise.
|
||
* amd64-tdep.c: Include features/i386/amd64-avx512.c and
|
||
features/i386/x32-avx512.c.
|
||
(amd64_ymm_avx512_names): New register names for pseudo
|
||
registers YMM16-31.
|
||
(amd64_ymmh_avx512_names): New register names for raw registers
|
||
YMMH16-31.
|
||
(amd64_k_names): New register names for K registers.
|
||
(amd64_zmmh_names): New register names for ZMM raw registers.
|
||
(amd64_zmm_names): New registers names for ZMM pseudo registers.
|
||
(amd64_xmm_avx512_names): New register names for XMM16-31
|
||
registers.
|
||
(amd64_pseudo_register_name): Add code to return AVX512 pseudo
|
||
registers.
|
||
(amd64_init_abi): Add code to intitialize AVX512 tdep variables
|
||
if feature is present.
|
||
(_initialize_amd64_tdep): Call AVX512 tdesc initializers.
|
||
* amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
|
||
(AMD64_NUM_REGS): Adjust to new number of registers.
|
||
* i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
|
||
registers supplied via XSTATE by AVX512 registers.
|
||
(i386_linux_read_description): Add case for AVX512.
|
||
* i386-linux-tdep.c: Include i386-avx512-linux.c.
|
||
(i386_linux_gregset_reg_offset): Add AVX512 registers.
|
||
(i386_linux_core_read_description): Add case for AVX512.
|
||
(i386_linux_init_abi): Install supported register note section
|
||
for AVX512.
|
||
(_initialize_i386_linux_tdep): Add call to tdesc init function for
|
||
AVX512.
|
||
* i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
|
||
registers to be number of zmm7h + 1.
|
||
(tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
|
||
* i386-tdep.c: Include features/i386/i386-avx512.c.
|
||
(i386_zmm_names): Add ZMM pseudo register names array.
|
||
(i386_zmmh_names): Add ZMM raw register names array.
|
||
(i386_k_names): Add K raw register names array.
|
||
(num_lower_zmm_regs): Add constant for the number of lower ZMM
|
||
registers. AVX512 has 16 more ZMM registers than there are YMM
|
||
registers.
|
||
(i386_zmmh_regnum_p): Add function to look up register number of
|
||
ZMM raw registers.
|
||
(i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
|
||
(i386_k_regnum_p): Likewise for K raw registers.
|
||
(i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
|
||
registers added by AVX512.
|
||
(i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
|
||
registers added by AVX512.
|
||
(i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
|
||
added by AVX512.
|
||
(i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
|
||
(i386_pseudo_register_name): Add ZMM pseudo registers.
|
||
(i386_zmm_type): Construct and return vector registers type for ZMM
|
||
registers.
|
||
(i386_pseudo_register_type): Return appropriate type for YMM16-31,
|
||
ZMM0-31 pseudo registers and K registers.
|
||
(i386_pseudo_register_read_into_value): Add code to read K, ZMM
|
||
and YMM16-31 registers from register cache.
|
||
(i386_pseudo_register_write): Add code to write K, ZMM and
|
||
YMM16-31 registers.
|
||
(i386_register_reggroup_p): Add code to include/exclude AVX512
|
||
registers in/from respective register groups.
|
||
(i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
|
||
registers if feature is present in xcr0.
|
||
(i386_gdbarch_init): Add code to initialize AVX512 feature
|
||
variables in tdep structure, wire in pseudo registers and call
|
||
initialize_tdesc_i386_avx512.
|
||
* i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
|
||
variables.
|
||
(i386_regnum): Add AVX512 registers.
|
||
(I386_SSE_NUM_REGS): New define for number of SSE registers.
|
||
(I386_AVX_NUM_REGS): Likewise for AVX registers.
|
||
(I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
|
||
(I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
|
||
512 bits wide.
|
||
(i386_xmm_avx512_regnum_p): New prototype for register look up.
|
||
(i386_ymm_avx512_regnum_p): Likewise.
|
||
(i386_k_regnum_p): Likewise.
|
||
(i386_zmm_regnum_p): Likewise.
|
||
(i386_zmmh_regnum_p): Likewise.
|
||
* i387-tdep.c : Update year in copyright notice.
|
||
(xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
|
||
XSAVE buffer.
|
||
(XSAVE_YMM_AVX512_ADDR): New macro.
|
||
(xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
|
||
XSAVE buffer.
|
||
(XSAVE_XMM_AVX512_ADDR): New macro.
|
||
(xsave_avx512_k_offset): New table for K register offsets in
|
||
XSAVE buffer.
|
||
(XSAVE_AVX512_K_ADDR): New macro.
|
||
(xsave_avx512_zmm_h_offset): New table for ZMM register offsets
|
||
in XSAVE buffer.
|
||
(XSAVE_AVX512_ZMM_H_ADDR): New macro.
|
||
(i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
|
||
buffer.
|
||
(i387_collect_xsave): Add code to collect AVX512 registers from
|
||
XSAVE buffer.
|
||
* i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
|
||
of XMM16-31 registers.
|
||
(I387_NUM_K_REGS): New define for number of K registers.
|
||
(I387_K0_REGNUM): New define for K0 register number.
|
||
(I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
|
||
(I387_ZMM0H_REGNUM): New define for ZMM0H register number.
|
||
(I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
|
||
registers.
|
||
(I387_YMM16H_REGNUM): New define for YMM16H register number.
|
||
(I387_XMM16_REGNUM): New define for XMM16 register number.
|
||
(I387_YMM0_REGNUM): New define for YMM0 register number.
|
||
(I387_KEND_REGNUM): New define for last K register number.
|
||
(I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
|
||
(I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
|
||
number.
|
||
(I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
|
||
number.
|
||
* common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
|
||
size.
|
||
* features/Makefile: Add AVX512 related files.
|
||
* features/i386/32bit-avx512.xml: New file.
|
||
* features/i386/64bit-avx512.xml: Likewise.
|
||
* features/i386/amd64-avx512-linux.c: Likewise.
|
||
* features/i386/amd64-avx512-linux.xml: Likewise.
|
||
* features/i386/amd64-avx512.c: Likewise.
|
||
* features/i386/amd64-avx512.xml: Likewise.
|
||
* features/i386/i386-avx512-linux.c: Likewise.
|
||
* features/i386/i386-avx512-linux.xml: Likewise.
|
||
* features/i386/i386-avx512.c: Likewise.
|
||
* features/i386/i386-avx512.xml: Likewise.
|
||
* features/i386/x32-avx512-linux.c: Likewise.
|
||
* features/i386/x32-avx512-linux.xml: Likewise.
|
||
* features/i386/x32-avx512.c: Likewise.
|
||
* features/i386/x32-avx512.xml: Likewise.
|
||
* regformats/i386/amd64-avx512-linux.dat: New file.
|
||
* regformats/i386/amd64-avx512.dat: Likewise.
|
||
* regformats/i386/i386-avx512-linux.dat: Likewise.
|
||
* regformats/i386/i386-avx512.dat: Likewise.
|
||
* regformats/i386/x32-avx512-linux.dat: Likewise.
|
||
* regformats/i386/x32-avx512.dat: Likewise.
|
||
* NEWS: Add note about new support for AVX512.
|
||
|
||
|
||
2014-04-23 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (insert_bp_location): Tolerate errors if the
|
||
breakpoint is set in a user-loaded objfile.
|
||
(remove_breakpoint_1): Likewise. Also tolerate errors if the
|
||
location is marked shlib_disabled. If the breakpoint is set in a
|
||
user-loaded objfile is a GDB-side memory breakpoint, validate it
|
||
before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
|
||
non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
|
||
flag.
|
||
* mem-break.c (memory_validate_breakpoint): New function.
|
||
* objfiles.c (userloaded_objfile_contains_address_p): New
|
||
function.
|
||
* objfiles.h (userloaded_objfile_contains_address_p): Declare.
|
||
* target.h (memory_validate_breakpoint): New declaration.
|
||
|
||
2014-04-23 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (insert_bp_location, remove_breakpoint_1): If
|
||
the breakpoint is set in a shared library, only suppress
|
||
errors for software breakpoints, not hardware breakpoints.
|
||
|
||
2014-04-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (schedlock_applies): New function, factored out from
|
||
find_thread_needs_step_over.
|
||
(find_thread_needs_step_over): Use it.
|
||
(switch_back_to_stepped_thread): Always clear trap_expected if the
|
||
step over is finished. Return early if scheduler locking applies.
|
||
Look for the stepping thread and a potential step-over thread with
|
||
a single loop.
|
||
(currently_stepping_or_nexting_callback): Delete.
|
||
|
||
2014-04-22 Nick Clifton <nickc@redhat.com>
|
||
|
||
* NEWS: Mention that ARM sim now supports tracing.
|
||
|
||
2014-04-22 Yao Qi <yao@codesourcery.com>
|
||
|
||
* tracefile-tfile.c (tfile_fetch_registers): Move the bottom
|
||
to ...
|
||
* tracefile.c (tracefile_fetch_registers): ... it. New
|
||
function.
|
||
* tracefile.h (tracefile_fetch_registers): Declare.
|
||
* ctf.c (ctf_fetch_registers): Remove the bottom. Call
|
||
tracefile_fetch_registers.
|
||
|
||
2014-04-19 Eli Zaretskii <eliz@gnu.org>
|
||
|
||
PR gdb/14018
|
||
* windows-nat.c (thread_rec): Don't display a warning when
|
||
SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
|
||
fails for any reason, set th->suspended to -1, so that we don't
|
||
try to resume such a thread. Also, don't return NULL in these
|
||
cases, to avoid completely ruin the session due to "PC register is
|
||
not available" error.
|
||
(do_windows_fetch_inferior_registers): Check errors in
|
||
GetThreadContext call.
|
||
(windows_continue): Accept an additional argument KILLED; if not
|
||
zero, ignore errors in the SetThreadContext call, since the
|
||
inferior was killed and is shutting down.
|
||
(windows_resume, get_windows_debug_event)
|
||
(windows_create_inferior, windows_mourn_inferior)
|
||
(windows_kill_inferior): All callers of windows_continue changed
|
||
to adjust to its new calling sequence.
|
||
|
||
2014-04-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (ctf_open): Call post_create_inferior.
|
||
|
||
2014-04-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (handle_id): New static variable.
|
||
(ctf_open_dir): Get handle_id from bt_context_add_trace return
|
||
value. Get the declaration of event "register" and get length
|
||
of field "contents".
|
||
|
||
2014-04-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
|
||
|
||
2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* valops.c (oload_method_static): Remove unnecessary argument
|
||
METHOD. Update all callers.
|
||
|
||
2014-04-18 Pedro alves <palves@redhat.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
PR backtrace/15558
|
||
* frame.c (get_prev_frame_1): Rename to ...
|
||
(get_prev_frame_always): ... this, and make extern. Adjust.
|
||
(skip_artificial_frames): Use get_prev_frame_always.
|
||
(frame_unwind_caller_id, frame_pop, get_prev_frame)
|
||
(get_frame_unwind_stop_reason): Adjust to rename.
|
||
* frame.h (get_prev_frame_always): Declare.
|
||
* inline-frame.c: Include frame.h.
|
||
(inline_frame_this_id): Use get_prev_frame_always.
|
||
|
||
2014-04-18 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
|
||
code by using bfd_mach_o_get_base_address.
|
||
|
||
2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
|
||
(spu_ax_pseudo_register_collect): New function.
|
||
(spu_ax_pseudo_register_push_stack): Likewise.
|
||
(spu_dwarf_reg_to_regnum): Likewise.
|
||
(spu_gdbarch_init): Install them. Append DWARF unwinders.
|
||
|
||
2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* gdbarch.sh (value_from_register): Make class "m" instead of "f".
|
||
Replace FRAME argument with FRAME_ID.
|
||
* gdbarch.c, gdbarch.h: Regenerate.
|
||
* findvar.c (default_value_from_register): Add GDBARCH argument;
|
||
replace FRAME by FRAME_ID. No longer call get_frame_id.
|
||
(value_from_register): Update call to gdbarch_value_from_register.
|
||
* value.h (default_value_from_register): Update prototype.
|
||
* s390-linux-tdep.c (s390_value_from_register): Update interface
|
||
and call to default_value_from_register.
|
||
* spu-tdep.c (spu_value_from_register): Likewise.
|
||
|
||
* findvar.c (address_from_register): Remove TYPE argument.
|
||
Do not call value_from_register; use gdbarch_value_from_register
|
||
with null_frame_id instead.
|
||
* value.h (address_from_register): Update prototype.
|
||
* dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
|
||
* dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
|
||
address_from_register interface change.
|
||
|
||
2014-04-17 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbtypes.h: Update comments to link to types and macros'
|
||
definitions.
|
||
|
||
2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
|
||
|
||
2014-04-16 Keith Seitz <keiths@redhat.com>
|
||
|
||
PR gdb/15827
|
||
* dwarf2read.c (skip_one_die): Check that all relative-offset
|
||
sibling DIEs fall within range of the current reader's buffer.
|
||
(read_partial_die): Likewise.
|
||
|
||
2014-04-16 Keith Seitz <keiths@redhat.com>
|
||
|
||
PR c++/16597
|
||
* cp-namespace.c (lookup_symbol_file): If the type name of
|
||
`this' is NULL, return immediately.
|
||
|
||
2014-04-14 Keith Seitz <keiths@redhat.com>
|
||
|
||
PR c++/16253
|
||
* ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
|
||
from symbol_matches_domain in symtab.c. All local callers
|
||
of symbol_matches_domain updated.
|
||
(standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
|
||
search STRUCT_DOMAIN.
|
||
(ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
|
||
independently. standard_lookup will do that automatically.
|
||
* cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
|
||
VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
|
||
(cp_lookup_symbol_in_namespace): Likewise.
|
||
If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
|
||
(cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
|
||
may return a STRUCT_DOMAIN match.
|
||
(lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
|
||
* cp-support.c: Include language.h.
|
||
(inspect_type): Explicitly search STRUCT_DOMAIN before searching
|
||
VAR_DOMAIN.
|
||
* psymtab.c (match_partial_symbol): Compare the requested
|
||
domain with the symbol's domain directly.
|
||
(lookup_partial_symbol): Likewise.
|
||
* symtab.c (lookup_symbol_in_language): Explain when/why
|
||
VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
|
||
If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
|
||
appropriate languages.
|
||
(symbol_matches_domain): Renamed `ada_symbol_matches_domain'
|
||
and moved to ada-lang.c
|
||
(lookup_block_symbol): Explain that this function only returns
|
||
symbol matching the requested DOMAIN.
|
||
Compare the requested domain with the symbol's domain directly.
|
||
(iterate_over_symbols): Compare the requested domain with the
|
||
symbol's domain directly.
|
||
* symtab.h (symbol_matches_domain): Remove.
|
||
|
||
2014-04-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR c++/15246:
|
||
* c-exp.y (type_aggregate_p): New function.
|
||
(qualified_name, classify_inner_name): Use it.
|
||
* c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
|
||
and TYPE_TARGET_TYPE of an enum type.
|
||
* dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
|
||
an enum type.
|
||
(determine_prefix) <case DW_TAG_enumeration_type>: New case;
|
||
handle TYPE_DECLARED_CLASS.
|
||
* gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
|
||
types.
|
||
* gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
|
||
* valops.c (enum_constant_from_type): New function.
|
||
(value_aggregate_elt): Use it.
|
||
* cp-namespace.c (cp_lookup_nested_symbol): Handle
|
||
TYPE_CODE_ENUM.
|
||
|
||
2014-04-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
* valops.c (value_aggregate_elt, value_struct_elt_for_reference)
|
||
(value_namespace_elt, value_maybe_namespace_elt): Make "name"
|
||
const.
|
||
* value.h (value_aggregate_elt): Update.
|
||
|
||
2014-04-14 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
|
||
(evaluate_subexp_standard): Pass noside argument.
|
||
(evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
|
||
if noside equals EVAL_NORMAL. If the subscript yields a vla type
|
||
re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
|
||
* gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
|
||
* gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* findvar.c (default_read_var_value): Resolve dynamic bounds if location
|
||
points to a constant blob.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
|
||
property and store it as the high bound and flag the range accordingly.
|
||
* gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
|
||
RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
|
||
* gdbtypes.h (enum range_flags): New enum.
|
||
(struct range_bounds): Add flags member.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* c-typeprint.c (c_type_print_varspec_suffix): Added
|
||
check for not yet resolved high bound. If unresolved, print
|
||
"variable length" string to the console instead of random
|
||
length.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
|
||
value.
|
||
(ada_template_to_fixed_record_type_1): Likewise.
|
||
(ada_to_fixed_type_1): Likewise.
|
||
* cp-valprint.c (cp_print_value_fields_rtti): Likewise.
|
||
(cp_print_value): Likewise.
|
||
* d-valprint.c (dynamic_array_type): Likewise.
|
||
* findvar.c (address_of_variable): Likewise.
|
||
* jv-valprint.c (java_value_print): Likewise.
|
||
* valops.c (value_ind): Likewise.
|
||
* value.c (coerce_ref): Likewise.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
|
||
value and retrieve the dynamic type size.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
|
||
passed to sizeof is dynamic evaluate the argument to compute the length.
|
||
|
||
2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
|
||
(dwarf2_evaluate_property): New function.
|
||
* dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
|
||
* dwarf2read.c (attr_to_dynamic_prop): New function.
|
||
(read_subrange_type): Use attr_to_dynamic_prop to read high bound
|
||
attribute.
|
||
* gdbtypes.c: Include dwarf2loc.h.
|
||
(is_dynamic_type): New function.
|
||
(resolve_dynamic_type): New function.
|
||
(resolve_dynamic_bounds): New function.
|
||
(get_type_length): New function.
|
||
(check_typedef): Use get_type_length to compute type length.
|
||
* gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
|
||
(TYPE_LOW_BOUND_KIND): New macro.
|
||
(is_dynamic_type): New function prototype.
|
||
* value.c (value_from_contents_and_address): Call resolve_dynamic_type
|
||
to resolve dynamic properties of the type. Update comment.
|
||
* valops.c (get_value_at, value_at, value_at_lazy): Update comment.
|
||
|
||
2014-04-14 Richard Henderson <rth@redhat.com>
|
||
|
||
* alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
|
||
|
||
2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
|
||
Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
|
||
dereference TYPE_CODE_REF values.
|
||
|
||
2014-04-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Revert the following changes due to regressions:
|
||
|
||
* dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
|
||
(dwarf2_evaluate_property): New function.
|
||
* dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
|
||
* dwarf2read.c (attr_to_dynamic_prop): New function.
|
||
(read_subrange_type): Use attr_to_dynamic_prop to read high bound
|
||
attribute.
|
||
* gdbtypes.c: Include dwarf2loc.h.
|
||
(is_dynamic_type): New function.
|
||
(resolve_dynamic_type): New function.
|
||
(resolve_dynamic_bounds): New function.
|
||
(get_type_length): New function.
|
||
(check_typedef): Use get_type_length to compute type length.
|
||
* gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
|
||
(TYPE_LOW_BOUND_KIND): New macro.
|
||
(is_dynamic_type): New function prototype.
|
||
* value.c (value_from_contents_and_address): Call resolve_dynamic_type
|
||
to resolve dynamic properties of the type. Update comment.
|
||
* valops.c (get_value_at, value_at, value_at_lazy): Update comment.
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
|
||
passed to sizeof is dynamic evaluate the argument to compute the length.
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
|
||
value and retrieve the dynamic type size.
|
||
|
||
* ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
|
||
(ada_template_to_fixed_record_type_1): Likewise.
|
||
(ada_to_fixed_type_1): Likewise.
|
||
* cp-valprint.c (cp_print_value_fields_rtti): Likewise.
|
||
(cp_print_value): Likewise.
|
||
* d-valprint.c (dynamic_array_type): Likewise.
|
||
* eval.c (evaluate_subexp_with_coercion): Likewise.
|
||
* findvar.c (address_of_variable): Likewise.
|
||
* jv-valprint.c (java_value_print): Likewise.
|
||
* valops.c (value_ind): Likewise.
|
||
* value.c (coerce_ref): Likewise.
|
||
|
||
* c-typeprint.c (c_type_print_varspec_suffix): Added
|
||
check for not yet resolved high bound. If unresolved, print
|
||
"variable length" string to the console instead of random
|
||
length.
|
||
|
||
* dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
|
||
property and store it as the high bound and flag the range accordingly.
|
||
* gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
|
||
RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
|
||
* gdbtypes.h (enum range_flags): New enum.
|
||
(struct range_bounds): Add flags member.
|
||
|
||
* findvar.c (default_read_var_value): Resolve dynamic bounds if location
|
||
points to a constant blob.
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
|
||
(evaluate_subexp_standard): Pass noside argument.
|
||
(evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
|
||
if noside equals EVAL_NORMAL. If the subscript yields a vla type
|
||
re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
|
||
* gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
|
||
* gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
|
||
|
||
2014-04-11 Keith Seitz <keiths@redhat.com>
|
||
|
||
PR c++/16675
|
||
* c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
|
||
* eval.c (evaluate_subexp_for_sizeof): Refactor and handle
|
||
reference types.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
|
||
(evaluate_subexp_standard): Pass noside argument.
|
||
(evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
|
||
if noside equals EVAL_NORMAL. If the subscript yields a vla type
|
||
re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
|
||
* gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
|
||
* gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* findvar.c (default_read_var_value): Resolve dynamic bounds if location
|
||
points to a constant blob.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
|
||
property and store it as the high bound and flag the range accordingly.
|
||
* gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
|
||
RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
|
||
* gdbtypes.h (enum range_flags): New enum.
|
||
(struct range_bounds): Add flags member.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* c-typeprint.c (c_type_print_varspec_suffix): Added
|
||
check for not yet resolved high bound. If unresolved, print
|
||
"variable length" string to the console instead of random
|
||
length.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
|
||
(ada_template_to_fixed_record_type_1): Likewise.
|
||
(ada_to_fixed_type_1): Likewise.
|
||
* cp-valprint.c (cp_print_value_fields_rtti): Likewise.
|
||
(cp_print_value): Likewise.
|
||
* d-valprint.c (dynamic_array_type): Likewise.
|
||
* eval.c (evaluate_subexp_with_coercion): Likewise.
|
||
* findvar.c (address_of_variable): Likewise.
|
||
* jv-valprint.c (java_value_print): Likewise.
|
||
* valops.c (value_ind): Likewise.
|
||
* value.c (coerce_ref): Likewise.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
|
||
value and retrieve the dynamic type size.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
|
||
passed to sizeof is dynamic evaluate the argument to compute the length.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
|
||
(dwarf2_evaluate_property): New function.
|
||
* dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
|
||
* dwarf2read.c (attr_to_dynamic_prop): New function.
|
||
(read_subrange_type): Use attr_to_dynamic_prop to read high bound
|
||
attribute.
|
||
* gdbtypes.c: Include dwarf2loc.h.
|
||
(is_dynamic_type): New function.
|
||
(resolve_dynamic_type): New function.
|
||
(resolve_dynamic_bounds): New function.
|
||
(get_type_length): New function.
|
||
(check_typedef): Use get_type_length to compute type length.
|
||
* gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
|
||
(TYPE_LOW_BOUND_KIND): New macro.
|
||
(is_dynamic_type): New function prototype.
|
||
* value.c (value_from_contents_and_address): Call resolve_dynamic_type
|
||
to resolve dynamic properties of the type. Update comment.
|
||
* valops.c (get_value_at, value_at, value_at_lazy): Update comment.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* dwarf2read.c (read_subrange_type): Use struct bound_prop for
|
||
declaring high/low bounds and change uses accordingly. Call
|
||
create_range_type instead of create_static_range_type.
|
||
* gdbtypes.c (create_range_type): New function.
|
||
(create_range_type): Convert bounds into struct bound_prop and pass
|
||
them to create_range_type.
|
||
* gdbtypes.h (struct bound_prop): New struct.
|
||
(create_range_type): New function prototype.
|
||
(struct range_bounds): Use struct bound_prop instead of LONGEST for
|
||
high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
|
||
(TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
|
||
part of the bound.
|
||
* parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
|
||
|
||
2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* gdbtypes.c (create_static_range_type): Renamed from create_range_type.
|
||
* gdbtypes.h (create_static_range_type): Renamed from create_range_type.
|
||
* ada-lang.c: All uses of create_range_type updated.
|
||
* coffread.c: All uses of create_range_type updated.
|
||
* dwarf2read.c: All uses of create_range_type updated.
|
||
* f-exp.y: All uses of create_range_type updated.
|
||
* m2-valprint.c: All uses of create_range_type updated.
|
||
* mdebugread.c: All uses of create_range_type updated.
|
||
* stabsread.c: All uses of create_range_type updated.
|
||
* valops.c: All uses of create_range_type updated.
|
||
* valprint.c: All uses of create_range_type updated.
|
||
|
||
2014-04-10 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (single_step_breakpoints)
|
||
(single_step_gdbarch): Move up in the file.
|
||
(one_breakpoint_xfer_memory): New function, factored out from ...
|
||
(breakpoint_xfer_memory): ... here. Also process single-step
|
||
breakpoints.
|
||
|
||
2014-04-09 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* darwin-nat.c (darwin_check_new_threads): Fix port leak, add
|
||
comments.
|
||
(darwin_decode_exception_message): Free port only after use.
|
||
|
||
2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
|
||
(avr_gdbarch_init): Add xmega architectures given by bfd_architecture
|
||
when setting the size of call_length.
|
||
|
||
2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
|
||
dereference TYPE_CODE_REF values.
|
||
|
||
2014-04-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
|
||
end of warning message.
|
||
|
||
2014-04-03 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
|
||
of stub_comp_unit_die, stub_comp_dir is non-NULL.
|
||
|
||
2014-04-02 Alan Modra <amodra@gmail.com>
|
||
|
||
* symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
|
||
Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
|
||
(struct symbol_file_add_from_memory_args): Add size field.
|
||
(find_vdso_size): New function.
|
||
(add_vsyscall_page): Attempt to find vdso size.
|
||
|
||
2014-04-01 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
|
||
|
||
2014-04-01 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* darwin-nat.c (darwin_encode_reply): Add prototype.
|
||
(darwin_decode_exception_message): Reply to unknown inferiors.
|
||
(darwin_decode_message): Handle message by id. Ignore message
|
||
to unknown inferior.
|
||
(darwin_wait): Discard unknown messages, add debug trace.
|
||
|
||
2014-03-31 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
|
||
comp_dir_string.
|
||
|
||
2014-03-31 Doug Evans <dje@google.com>
|
||
|
||
New option "set print symbol-loading".
|
||
* NEWS: Mention it.
|
||
* solib.c (solib_read_symbols): Only print symbol loading messages
|
||
if requested.
|
||
(solib_add): If symbol loading is in "brief" mode, notify user
|
||
symbols are being loaded.
|
||
(reload_shared_libraries_1): Ditto.
|
||
* symfile.c (print_symbol_loading_off): New static global.
|
||
(print_symbol_loading_brief): New static global.
|
||
(print_symbol_loading_full): New static global.
|
||
(print_symbol_loading_enums): New static global.
|
||
(print_symbol_loading): New static global.
|
||
(print_symbol_loading_p): New function.
|
||
(symbol_file_add_with_addrs): Only print symbol loading messages
|
||
if requested.
|
||
(_initialize_symfile): Register "print symbol-loading" set/show
|
||
command.
|
||
* symfile.h (print_symbol_loading_p): Declare.
|
||
|
||
2014-03-30 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infrun.c (set_last_target_status): New function.
|
||
(handle_inferior_event): Call it.
|
||
|
||
2014-03-30 Doug Evans <xdje42@gmail.com>
|
||
|
||
* inferior.h (enum stop_kind): Improve comment.
|
||
|
||
2014-03-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* varobj.c (varobj_value_has_mutated): If NEW_VALUE is
|
||
a reference, strip the reference layer before calling
|
||
the lang_ops value_has_mutated callback.
|
||
|
||
2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
Remove some globals from our parser.
|
||
* language.c (unk_lang_parser): Add "struct parser_state"
|
||
argument.
|
||
* language.h (struct language_defn) <la_parser>: Likewise.
|
||
* parse.c (expout, expout_size, expout_ptr): Remove variables.
|
||
(initialize_expout): Add "struct parser_state" argument.
|
||
Rewrite function to use the parser state.
|
||
(reallocate_expout, write_exp_elt, write_exp_elt_opcode,
|
||
write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
|
||
write_exp_elt_longcst, write_exp_elt_dblcst,
|
||
write_exp_elt_decfloatcst, write_exp_elt_type,
|
||
write_exp_elt_intern, write_exp_string, write_exp_string_vector,
|
||
write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
|
||
write_dollar_variable): Likewise.
|
||
(parse_exp_in_context_1): Use parser state.
|
||
(insert_type_address_space): Add "struct parser_state" argument.
|
||
Use parser state.
|
||
(increase_expout_size): New function.
|
||
* parser-defs.h: Forward declare "struct language_defn" and
|
||
"struct parser_state".
|
||
(expout, expout_size, expout_ptr): Remove extern declarations.
|
||
(parse_gdbarch, parse_language): Rewrite macro declarations to
|
||
accept the parser state.
|
||
(struct parser_state): New struct.
|
||
(initialize_expout, reallocate_expout, write_exp_elt_opcode,
|
||
write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
|
||
write_exp_elt_decfloatcst, write_exp_elt_type,
|
||
write_exp_elt_intern, write_exp_string, write_exp_string_vector,
|
||
write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
|
||
write_exp_msymbol, write_dollar_variable,
|
||
mark_struct_expression, insert_type_address_space): Add "struct
|
||
parser_state" argument.
|
||
(increase_expout_size): New function.
|
||
* utils.c (do_clear_parser_state): New function.
|
||
(make_cleanup_clear_parser_state): Likewise.
|
||
* utils.h (make_cleanup_clear_parser_state): New function
|
||
prototype.
|
||
* aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
|
||
Update calls to write_exp* in order to pass the parser state.
|
||
* arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
|
||
* i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
|
||
(i386_stap_parse_special_token_three_arg_disp): Likewise.
|
||
* ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
|
||
* stap-probe.c (stap_parse_register_operand): Likewise.
|
||
(stap_parse_single_operand): Likewise.
|
||
(stap_parse_argument_1): Likewise.
|
||
(stap_parse_argument): Use parser state.
|
||
* stap-probe.h: Include "parser-defs.h".
|
||
(struct stap_parse_info) <pstate>: New field.
|
||
* c-exp.y (parse_type): Rewrite to use parser state.
|
||
(yyparse): Redefine to c_parse_internal.
|
||
(pstate): New global variable.
|
||
(parse_number): Add "struct parser_state" argument.
|
||
(write_destructor_name): Likewise.
|
||
(type_exp): Update calls to write_exp* and similars in order to
|
||
use parser state.
|
||
(exp1, exp, variable, qualified_name, space_identifier,
|
||
typename, typebase): Likewise.
|
||
(write_destructor_name, parse_number, lex_one_token,
|
||
classify_name, classify_inner_name, c_parse): Add "struct
|
||
parser_state" argument. Update function to use parser state.
|
||
* c-lang.h: Forward declare "struct parser_state".
|
||
(c_parse): Add "struct parser_state" argument.
|
||
* ada-exp.y (parse_type): Rewrite macro to use parser state.
|
||
(yyparse): Redefine macro to ada_parse_internal.
|
||
(pstate): New variable.
|
||
(write_int, write_object_renaming, write_var_or_type,
|
||
write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
|
||
type_int, type_long, type_long_long, type_float, type_double,
|
||
type_long_double, type_char, type_boolean, type_system_address):
|
||
Add "struct parser_state" argument.
|
||
(exp1, primary, simple_exp, relation, and_exp, and_then_exp,
|
||
or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
|
||
var_or_type, aggregate, aggregate_component_list,
|
||
positional_list, others, component_group,
|
||
component_associations): Update calls to write_exp* and similar
|
||
functions in order to use parser state.
|
||
(ada_parse, write_var_from_sym, write_int,
|
||
write_exp_op_with_string, write_object_renaming,
|
||
find_primitive_type, write_selectors, write_ambiguous_var,
|
||
write_var_or_type, write_name_assoc, type_int, type_long,
|
||
type_long_long, type_float, type_double, type_long_double,
|
||
type_char, type_boolean, type_system_address): Add "struct
|
||
parser_state" argument. Adjust function to use parser state.
|
||
* ada-lang.c (parse): Likewise.
|
||
* ada-lang.h: Forward declare "struct parser_state".
|
||
(ada_parse): Add "struct parser_state" argument.
|
||
* ada-lex.l (processInt, processReal): Likewise. Adjust all
|
||
calls to both functions.
|
||
* f-exp.y (parse_type, parse_f_type): Rewrite macros to use
|
||
parser state.
|
||
(yyparse): Redefine macro to f_parse_internal.
|
||
(pstate): New variable.
|
||
(parse_number): Add "struct parser_state" argument.
|
||
(type_exp, exp, subrange, typebase): Update calls to write_exp*
|
||
and similars in order to use parser state.
|
||
(parse_number): Adjust code to use parser state.
|
||
(yylex): Likewise.
|
||
(f_parse): New function.
|
||
* f-lang.h: Forward declare "struct parser_state".
|
||
(f_parse): Add "struct parser_state" argument.
|
||
* jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
|
||
parser state.
|
||
(yyparse): Redefine macro for java_parse_internal.
|
||
(pstate): New variable.
|
||
(push_expression_name, push_expression_name, insert_exp): Add
|
||
"struct parser_state" argument.
|
||
(type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
|
||
FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
|
||
FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
|
||
PostIncrementExpression, PostDecrementExpression,
|
||
UnaryExpression, PreIncrementExpression, PreDecrementExpression,
|
||
UnaryExpressionNotPlusMinus, CastExpression,
|
||
MultiplicativeExpression, AdditiveExpression, ShiftExpression,
|
||
RelationalExpression, EqualityExpression, AndExpression,
|
||
ExclusiveOrExpression, InclusiveOrExpression,
|
||
ConditionalAndExpression, ConditionalOrExpression,
|
||
ConditionalExpression, Assignment, LeftHandSide): Update
|
||
calls to write_exp* and similars in order to use parser state.
|
||
(parse_number): Ajust code to use parser state.
|
||
(yylex): Likewise.
|
||
(java_parse): New function.
|
||
(push_variable): Add "struct parser_state" argument. Adjust
|
||
code to user parser state.
|
||
(push_fieldnames, push_qualified_expression_name,
|
||
push_expression_name, insert_exp): Likewise.
|
||
* jv-lang.h: Forward declare "struct parser_state".
|
||
(java_parse): Add "struct parser_state" argument.
|
||
* m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
|
||
parser state.
|
||
(yyparse): Redefine macro to m2_parse_internal.
|
||
(pstate): New variable.
|
||
(type_exp, exp, fblock, variable, type): Update calls to
|
||
write_exp* and similars to use parser state.
|
||
(yylex): Likewise.
|
||
(m2_parse): New function.
|
||
* m2-lang.h: Forward declare "struct parser_state".
|
||
(m2_parse): Add "struct parser_state" argument.
|
||
* objc-lang.c (end_msglist): Add "struct parser_state" argument.
|
||
* objc-lang.h: Forward declare "struct parser_state".
|
||
(end_msglist): Add "struct parser_state" argument.
|
||
* p-exp.y (parse_type): Rewrite macro to use parser state.
|
||
(yyparse): Redefine macro to pascal_parse_internal.
|
||
(pstate): New variable.
|
||
(parse_number): Add "struct parser_state" argument.
|
||
(type_exp, exp1, exp, qualified_name, variable): Update calls to
|
||
write_exp* and similars in order to use parser state.
|
||
(parse_number, yylex): Adjust code to use parser state.
|
||
(pascal_parse): New function.
|
||
* p-lang.h: Forward declare "struct parser_state".
|
||
(pascal_parse): Add "struct parser_state" argument.
|
||
* go-exp.y (parse_type): Rewrite macro to use parser state.
|
||
(yyparse): Redefine macro to go_parse_internal.
|
||
(pstate): New variable.
|
||
(parse_number): Add "struct parser_state" argument.
|
||
(type_exp, exp1, exp, variable, type): Update calls to
|
||
write_exp* and similars in order to use parser state.
|
||
(parse_number, lex_one_token, classify_name, yylex): Adjust code
|
||
to use parser state.
|
||
(go_parse): Likewise.
|
||
* go-lang.h: Forward declare "struct parser_state".
|
||
(go_parse): Add "struct parser_state" argument.
|
||
|
||
2014-03-27 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
|
||
|
||
2014-03-27 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
|
||
Remove argument abbrev_section. All callers updated.
|
||
|
||
2014-03-27 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (struct dwarf2_cu): Improve comments for members
|
||
addr_base, ranges_base.
|
||
|
||
2014-03-26 Keith Seitz <keiths@redhat.com>
|
||
|
||
* ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
|
||
types, not VAR_DOMAIN.
|
||
|
||
2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
|
||
"ra" registers.
|
||
* features/nios2-linux.c: Regenerated.
|
||
* features/nios2.c: Regenerated.
|
||
|
||
2014-03-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* cli/cli-script.c (script_from_file): Force the interpreter to
|
||
sync mode.
|
||
|
||
2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
|
||
small stack allocation.
|
||
|
||
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* darwin-nat.c (exc_server): Remove unused prototype.
|
||
(darwin_dump_message): Correctly display data on x86_64.
|
||
(darwin_encode_reply): Fix style.
|
||
Add comments and fix indentation.
|
||
|
||
2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
|
||
|
||
* MAINTAINERS (Write After Approval): Add "Pierre Langlois".
|
||
|
||
2014-03-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infcmd.c: Whitespace fixes.
|
||
(interrupt_command): Merge two function comments into one.
|
||
|
||
2014-03-22 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infcmd.c (interrupt_command): Renamed from interrupt_target_command.
|
||
All uses updated.
|
||
|
||
2014-03-22 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (target_read_live_memory): Remove.
|
||
(memory_xfer_live_readonly_partial): Rename it to
|
||
remote_xfer_live_readonly_partial. Remove argument 'object'.
|
||
All callers updated. Call remote_read_bytes_1
|
||
instead of target_read_live_memory.
|
||
* tracepoint.c (set_traceframe_number): Remove.
|
||
(make_cleanup_restore_traceframe_number): Likewise .
|
||
* tracepoint.h (set_traceframe_number): Remove declaration.
|
||
(make_cleanup_restore_traceframe_number): Likewise.
|
||
|
||
2014-03-22 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (remote_read_bytes): Move code on reading from the
|
||
remote stub to ...
|
||
(remote_read_bytes_1): ... here. New function.
|
||
|
||
2014-03-22 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (ctf_xfer_partial): Check the return value of
|
||
exec_read_partial_read_only, if it is not TARGET_XFER_OK,
|
||
return TARGET_XFER_UNAVAILABLE.
|
||
* tracefile-tfile.c (tfile_xfer_partial): Likewise.
|
||
* target.c (target_read_live_memory): Move it to remote.c.
|
||
(memory_xfer_live_readonly_partial): Likewise.
|
||
(memory_xfer_partial_1): Move some code to remote_read_bytes.
|
||
* remote.c (target_read_live_memory): Moved from target.c.
|
||
(memory_xfer_live_readonly_partial): Likewise.
|
||
(remote_read_bytes): Factored out from
|
||
memory_xfer_partial_1.
|
||
|
||
2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
|
||
|
||
* extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
|
||
NULL pointer.
|
||
|
||
2014-03-21 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (normal_stop): Extend comment.
|
||
|
||
2014-03-21 Hui Zhu <hui@codesourcery.com>
|
||
Pedro Alves <palves@redhat.com>
|
||
|
||
* darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
|
||
static buffer.
|
||
* fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
|
||
* linux-nat.c (linux_child_pid_to_exec_file): Ditto.
|
||
* nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
|
||
|
||
2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
|
||
`z' formatted output modifier.
|
||
|
||
2014-03-20 Tom Tromey <tromey@redhat.com>
|
||
Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* probe.c (parse_probes): Turn assert into an ordinary error.
|
||
* break-catch-throw.c (re_set_exception_catchpoint): Ignore
|
||
exceptions when parsing probes. Rearrange the code for clarity.
|
||
|
||
2014-03-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR gdb/14135
|
||
* top.c (execute_command): Only dispatch events if the command
|
||
started the target.
|
||
|
||
2014-03-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR cli/15718
|
||
* infcall.c: Include event-top.h.
|
||
(run_inferior_call): Call async_disable_stdin if needed.
|
||
|
||
2014-03-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (prepare_to_proceed): Delete.
|
||
(thread_still_needs_step_over): New function.
|
||
(find_thread_needs_step_over): New function.
|
||
(proceed): If the current thread needs a step-over, set its
|
||
steping_over_breakpoint flag. Adjust to use
|
||
find_thread_needs_step_over instead of prepare_to_proceed.
|
||
(process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
|
||
BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
|
||
breakpoint.
|
||
(switch_back_to_stepped_thread): Step over breakpoints of all
|
||
threads not the stepping thread, before switching back to the
|
||
stepping thread.
|
||
|
||
2014-03-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (single_step_breakpoint_inserted_here_p): Make
|
||
extern.
|
||
* breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
|
||
* infrun.c (saved_singlestep_ptid)
|
||
(stepping_past_singlestep_breakpoint): Delete.
|
||
(resume): Remove stepping_past_singlestep_breakpoint handling.
|
||
(proceed): Store the prev_pc of the stepping thread too.
|
||
(init_wait_for_inferior): Adjust. Clear singlestep_ptid and
|
||
singlestep_pc.
|
||
(enum infwait_states): Delete infwait_thread_hop_state.
|
||
(struct execution_control_state) <hit_singlestep_breakpoint>: New
|
||
field.
|
||
(handle_inferior_event): Adjust.
|
||
(handle_signal_stop): Delete stepping_past_singlestep_breakpoint
|
||
handling and the thread-hop code. Before removing single-step
|
||
breakpoints, check whether the thread hit a single-step breakpoint
|
||
of another thread. If it did, the trap is not a random signal.
|
||
(switch_back_to_stepped_thread): If the event thread hit a
|
||
single-step breakpoint, unblock it before switching to the
|
||
stepping thread. Handle the case of the stepped thread having
|
||
advanced already.
|
||
(keep_going): Handle the case of the current thread moving past a
|
||
single-step breakpoint.
|
||
|
||
2014-03-20 Pedro Alves <palves@redhat.com>
|
||
|
||
PR breakpoints/7143
|
||
* breakpoint.c (should_be_inserted): Don't insert breakpoints that
|
||
are being stepped over.
|
||
(breakpoint_address_match): Make extern.
|
||
* breakpoint.h (breakpoint_address_match): New declaration.
|
||
* inferior.h (stepping_past_instruction_at): New declaration.
|
||
* infrun.c (struct step_over_info): New type.
|
||
(step_over_info): New global.
|
||
(set_step_over_info, clear_step_over_info)
|
||
(stepping_past_instruction_at): New functions.
|
||
(handle_inferior_event): Clear the step-over info when
|
||
trap_expected is cleared.
|
||
(resume): Remove now stale comment.
|
||
(clear_proceed_status): Clear step-over info.
|
||
(proceed): Adjust step-over handling to set or clear the step-over
|
||
info instead of removing all breakpoints.
|
||
(handle_signal_stop): When setting up a thread-hop, don't remove
|
||
breakpoints here.
|
||
(stop_stepping): Clear step-over info.
|
||
(keep_going): Adjust step-over handling to set or clear step-over
|
||
info and then always inserting breakpoints, instead of removing
|
||
all breakpoints when stepping over one.
|
||
|
||
2014-03-20 Pedro Alves <palves@redhat.com>
|
||
|
||
* infrun.c (previous_inferior_ptid): Adjust comment.
|
||
(deferred_step_ptid): Delete.
|
||
(infrun_thread_ptid_changed, prepare_to_proceed)
|
||
(init_wait_for_inferior): Adjust.
|
||
(handle_signal_stop): Delete deferred_step_ptid handling.
|
||
|
||
2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR gdb/15358
|
||
* defs.h (sync_quit_force_run): New declaration.
|
||
(QUIT): Check also SYNC_QUIT_FORCE_RUN.
|
||
* event-top.c (async_sigterm_handler): New declaration.
|
||
(async_sigterm_token): New variable.
|
||
(async_init_signals): Create also async_sigterm_token.
|
||
(async_sigterm_handler): New function.
|
||
(sync_quit_force_run): New variable.
|
||
(handle_sigterm): Replace quit_force call by other calls.
|
||
* utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
|
||
|
||
2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
|
||
offset into SPE pseudo registers.
|
||
|
||
2014-03-18 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/13860
|
||
* inferior.h (print_stop_event): Declare.
|
||
* infrun.c (print_stop_event): New, factored out from ...
|
||
(normal_stop): ... this.
|
||
* mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
|
||
of bpstat_print/print_stack_frame.
|
||
|
||
2014-03-17 Tom Tromey <tromey@redhat.com>
|
||
|
||
* ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
|
||
|
||
2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
|
||
|
||
* ada-lang.c (decode_constrained_packed_array): Perform a
|
||
minimal coercion for reference with coerce_ref instead of
|
||
ada_coerce_ref.
|
||
|
||
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* solib-darwin.c (DYLD_VERSION_MAX): Increase value.
|
||
(darwin_solib_create_inferior_hook): Emit a warning if version
|
||
is unhandled.
|
||
|
||
2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* python/py-value.c (get_field_flag): Cast flag_name argument to
|
||
PyObject_GetAttrString to support Python 2.4.
|
||
|
||
2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* MAINTAINERS (The Official FSF-appointed GDB Maintainers)
|
||
(Global Maintainers): Remove Jan Kratochvil.
|
||
|
||
2014-03-14 Pedro Alves <palves@redhat.com>
|
||
|
||
* inferior.h (terminal_ours_for_output): Rename to ...
|
||
(child_terminal_ours_for_output): ... this.
|
||
(terminal_save_ours): Rename to ...
|
||
(child_terminal_save_ours): ... this.
|
||
(terminal_ours): Rename to ...
|
||
(child_terminal_ours): ... this.
|
||
(terminal_inferior): Rename to ...
|
||
(child_terminal_inferior): ... this.
|
||
(terminal_init_inferior): Rename to ...
|
||
(child_terminal_init_inferior): ... this.
|
||
(terminal_init_inferior_with_pgrp): Rename to ...
|
||
(child_terminal_init_inferior_with_pgrp): ... this.
|
||
* inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
|
||
(child_terminal_init_with_pgrp): ... this.
|
||
(terminal_save_ours): Rename to ...
|
||
(child_terminal_save_ours): ... this.
|
||
(terminal_init_inferior): Rename to ...
|
||
(child_terminal_init): ... this. Adjust.
|
||
(terminal_inferior): Rename to ...
|
||
(child_terminal_inferior): ... this.
|
||
(terminal_ours_for_output): Rename to ...
|
||
(child_terminal_ours_for_output): ... this. Adjust.
|
||
(terminal_ours): Rename to ...
|
||
(child_terminal_ours): ... this.
|
||
(terminal_ours_1): Rename to ...
|
||
(child_terminal_ours_1): ... this. Adjust.
|
||
* linux-nat.c (linux_nat_terminal_inferior): Adjust.
|
||
* windows-nat.c (do_initial_windows_stuff): Adjust.
|
||
* gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
|
||
(gnu_terminal_init): ... this. Adjust.
|
||
(gnu_target): Adjust.
|
||
* inf-child.c (inf_child_target): Adjust.
|
||
|
||
2014-03-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
PR guile/16612
|
||
* guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
|
||
new eq?-hashtab.
|
||
|
||
2014-03-13 Doug Evans <xdje42@gmail.com>
|
||
|
||
* value.c (record_latest_value): Call release_value_or_incref
|
||
instead of release_value.
|
||
|
||
2014-03-13 Pedro Alves <palves@redhat.com>
|
||
|
||
* procfs.c (procfs_target): Don't override to_shortname,
|
||
to_longname or to_doc.
|
||
|
||
2014-03-13 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.c (inf_child_open, inf_child_target): Don't mention
|
||
Unix in user visible strings.
|
||
|
||
2014-03-12 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* gdbtypes.h: Annotate comments for Doxygen, add a page
|
||
block comment with some general info.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* infcmd.c (prepare_execution_command): New function, factored out
|
||
from several execution commands.
|
||
(run_command_1, continue_command, step_1, jump_command)
|
||
(signal_command, until_command, advance_command, finish_command)
|
||
(attach_command): Use prepare_execution_command.
|
||
|
||
2014-03-12 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
|
||
(MAX_BPTS): Define.
|
||
(MAX_WPTS): Define.
|
||
(struct arm_linux_thread_points): Removed.
|
||
(struct arm_linux_process_info): New.
|
||
(DEF_VEC_P (arm_linux_thread_points_p)): Removed.
|
||
(VEC(arm_linux_thread_points_p) *arm_threads): Removed.
|
||
(arm_linux_find_breakpoints_by_tid): Removed.
|
||
(struct arch_lwp_info): New.
|
||
(arm_linux_find_process_pid): New functions.
|
||
(arm_linux_add_process): New functions.
|
||
(arm_linux_process_info_get): New functions.
|
||
(arm_linux_forget_process): New function.
|
||
(arm_linux_get_debug_reg_state): New function.
|
||
(struct update_registers_data): New.
|
||
(update_registers_callback): New function.
|
||
(arm_linux_insert_hw_breakpoint1): Updated.
|
||
(arm_linux_remove_hw_breakpoint1): Updated.
|
||
(arm_linux_insert_hw_breakpoint): Updated.
|
||
(arm_linux_remove_hw_breakpoint): Updated.
|
||
(arm_linux_insert_watchpoint): Updated.
|
||
(arm_linux_remove_watchpoint): Updated.
|
||
(arm_linux_new_thread): Updated.
|
||
(arm_linux_prepare_to_resume): New function.
|
||
(arm_linux_new_fork): New function.
|
||
(_initialize_arm_linux_nat): Updated.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
|
||
|
||
2014-03-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* inf-child.c (return_zero): New function.
|
||
(inf_child_target): Set to_can_async_p, to_supports_non_stop.
|
||
* aix-thread.c (aix_thread_inferior_created): New function.
|
||
(aix_thread_attach): Remove.
|
||
(init_aix_thread_ops): Don't set to_attach.
|
||
(_initialize_aix_thread): Register inferior_created observer.
|
||
* corelow.c (init_core_ops): Don't set to_attach or
|
||
to_create_inferior.
|
||
* exec.c (init_exec_ops): Don't set to_attach or
|
||
to_create_inferior.
|
||
* infcmd.c (run_command_1): Use find_run_target. Make direct
|
||
target calls.
|
||
(attach_command): Use find_attach_target. Make direct target
|
||
calls.
|
||
* record-btrace.c (init_record_btrace_ops): Don't set
|
||
to_create_inferior.
|
||
* record-full.c (record_full_can_async_p, record_full_is_async_p):
|
||
Remove.
|
||
(init_record_full_ops, init_record_full_core_ops): Update. Don't
|
||
set to_create_inferior.
|
||
* target.c (complete_target_initialization): Add assertion.
|
||
(target_create_inferior): Remove.
|
||
(find_default_attach, find_default_create_inferior): Remove.
|
||
(find_attach_target, find_run_target): New functions.
|
||
(find_default_is_async_p, find_default_can_async_p)
|
||
(target_supports_non_stop, target_attach): Remove.
|
||
(init_dummy_target): Don't set to_create_inferior or
|
||
to_supports_non_stop.
|
||
* target.h (struct target_ops) <to_attach>: Add comment. Remove
|
||
TARGET_DEFAULT_FUNC.
|
||
<to_create_inferior>: Add comment.
|
||
<to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
<to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
|
||
(find_attach_target, find_run_target): Declare.
|
||
(target_create_inferior): Remove.
|
||
(target_has_execution_1): Update comment.
|
||
(target_supports_non_stop): Remove.
|
||
* target-delegates.c: Rebuild.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.h: Update comment to not mention Unix.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* inf-child.c: Update top comment to not mention Unix. Add
|
||
generic comment describing how this target is meant to be used.
|
||
(inf_child_post_attach, inf_child_post_startup_inferior)
|
||
(inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
|
||
Unix in comment.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* nto-procfs.c: Include inf-child.h.
|
||
(procfs_ops): Delete global.
|
||
(procfs_can_run): Delete method.
|
||
(procfs_detach, procfs_mourn_inferior): Unpush the passed in
|
||
target pointer instead of referencing procfs_ops.
|
||
(procfs_prepare_to_store): Delete.
|
||
(init_procfs_ops): Delete function.
|
||
(procfs_target): New function, based on init_procfs_ops, but
|
||
inherit inf_child_target.
|
||
(_initialize_procfs): Use procfs_target.
|
||
|
||
2014-03-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* windows-nat.c: Include inf-child.h.
|
||
(windows_ops): Delete global.
|
||
(windows_open, windows_prepare_to_store, windows_can_run): Delete
|
||
methods.
|
||
(init_windows_ops): Delete function.
|
||
(windows_target): New function, based on init_windows_ops, but
|
||
inherit inf_child_target.
|
||
(_initialize_windows_nat): Use windows_target. Install x86
|
||
specific target methods here.
|
||
|
||
2014-03-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/guile.c (call_initialize_gdb_module): New function.
|
||
(initialize_guile): Replace call to scm_init_guile with call to
|
||
scm_with_guile.
|
||
|
||
2014-03-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp): Add missing space before '('
|
||
in call to TYPE_CODE macro.
|
||
|
||
2014-03-10 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
|
||
Resolve tagged types to full view.
|
||
|
||
2014-03-10 Hui Zhu <hui@codesourcery.com>
|
||
|
||
* target.h (target_insert_breakpoint): Remove "hardware" from its
|
||
comments.
|
||
|
||
2014-03-07 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
|
||
|
||
2014-03-07 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
|
||
Remove unused local comp_dir_attr. Assert exactly one of
|
||
stub_comp_unit_die, stub_comp_dir is non-NULL.
|
||
|
||
2014-03-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* target.h (complete_target_initialization, add_target):
|
||
Add comment.
|
||
|
||
2014-03-07 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c: Include inf-child.h.
|
||
(go32_ops): Delete global.
|
||
(go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
|
||
Delete methods.
|
||
(go32_create_inferior): Push the passed in target pointer instead
|
||
of referencing go32_ops.
|
||
(init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
|
||
(go32_target): New function, based on init_go32_ops, but inherit
|
||
inf_child_target.
|
||
(_initialize_go32_nat): Use go32_target. Move parts of
|
||
init_go32_ops here.
|
||
|
||
2014-03-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
|
||
(ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
|
||
SYMBOL_VALUE_ADDRESS.
|
||
(info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
|
||
|
||
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* breakpoint.c (get_tracepoint_by_number): Remove argument
|
||
optional_p. All callers updated. Adjust comments. Update
|
||
output message.
|
||
* breakpoint.h (get_tracepoint_by_number): Update declaration.
|
||
|
||
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* reverse.c (goto_bookmark_command): Add local 'p'. Emit error
|
||
early if get_number returns zero. Use 'p' instead of 'args'.
|
||
|
||
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
|
||
message.
|
||
|
||
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR breakpoints/16508
|
||
* tracepoint.c (check_trace_running): New function.
|
||
(trace_find_command): Move code to check_trace_running and
|
||
call check_trace_running.
|
||
(trace_find_pc_command): Likewise.
|
||
(trace_find_tracepoint_command): Likewise.
|
||
(trace_find_line_command): Likewise.
|
||
(trace_find_range_command): Likewise.
|
||
* tracepoint.h (check_trace_running): Likewise.
|
||
* mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
|
||
|
||
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.h (struct target_ops) <to_traceframe_info>: Use
|
||
TARGET_DEFAULT_NORETURN (tcomplain ()).
|
||
* target-delegates.c: Regenerated.
|
||
|
||
2014-03-05 Pedro Alves <palves@redhat.com>
|
||
|
||
PR gdb/16575
|
||
* dcache.c (dcache_poke_byte): Constify ptr parameter. Return
|
||
void. Update comment.
|
||
(dcache_xfer_memory): Delete.
|
||
(dcache_read_memory_partial): New, based on the read bits of
|
||
dcache_xfer_memory.
|
||
(dcache_update): Add status parameter. Use ULONGEST for len, and
|
||
adjust. Discard cache lines if the reason for the update was
|
||
error.
|
||
* dcache.h (dcache_xfer_memory): Delete declaration.
|
||
(dcache_read_memory_partial): New declaration.
|
||
(dcache_update): Update prototype.
|
||
* target.c (raw_memory_xfer_partial): Update the dcache here.
|
||
(memory_xfer_partial_1): Don't handle dcache writes here.
|
||
|
||
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* remote-sim.c (gdbsim_load): Add const to prog.
|
||
|
||
2014-03-03 Tom Tromey <tromey@redhat.com>
|
||
|
||
* elfread.c (probe_key): Change to bfd_data.
|
||
(elf_get_probes, probe_key_free, _initialize_elfread): Probes are
|
||
now per-BFD, not per-objfile.
|
||
* stap-probe.c (stap_probe_destroy): Update comment.
|
||
(handle_stap_probe): Allocate on the per-BFD obstack.
|
||
|
||
2014-03-03 Tom Tromey <tromey@redhat.com>
|
||
|
||
* break-catch-throw.c (fetch_probe_arguments): Use bound probes.
|
||
* breakpoint.c (create_longjmp_master_breakpoint): Use
|
||
get_probe_address.
|
||
(add_location_to_breakpoint, bkpt_probe_insert_location)
|
||
(bkpt_probe_remove_location): Update.
|
||
* breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
|
||
* elfread.c (elf_symfile_relocate_probe): Remove.
|
||
(elf_probe_fns): Update.
|
||
(insert_exception_resume_breakpoint): Change type of "probe"
|
||
parameter to bound_probe.
|
||
(check_exception_resume): Update.
|
||
* objfiles.c (objfile_relocate1): Don't relocate probes.
|
||
* probe.c (bound_probe_s): New typedef.
|
||
(parse_probes): Use get_probe_address. Set sal's objfile.
|
||
(find_probe_by_pc): Return a bound_probe.
|
||
(collect_probes): Return a VEC(bound_probe_s).
|
||
(compare_probes): Update.
|
||
(gen_ui_out_table_header_info): Change type of "probes"
|
||
parameter. Update.
|
||
(info_probes_for_ops): Update.
|
||
(get_probe_address): New function.
|
||
(probe_safe_evaluate_at_pc): Update.
|
||
* probe.h (struct probe_ops) <get_probe_address>: New field.
|
||
<set_semaphore, clear_semaphore>: Add objfile parameter.
|
||
(struct probe) <objfile>: Remove field.
|
||
<arch>: New field.
|
||
<address>: Update comment.
|
||
(struct bound_probe): New.
|
||
(find_probe_by_pc): Return a bound_probe.
|
||
(get_probe_address): Declare.
|
||
* solib-svr4.c (struct probe_and_action) <address>: New field.
|
||
(hash_probe_and_action, equal_probe_and_action): Update.
|
||
(register_solib_event_probe): Add address parameter.
|
||
(solib_event_probe_at): Update.
|
||
(svr4_create_probe_breakpoints): Add objfile parameter. Use
|
||
get_probe_address.
|
||
* stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
|
||
(stap_get_probe_address): New function.
|
||
(stap_can_evaluate_probe_arguments, compute_probe_arg)
|
||
(compile_probe_arg): Update.
|
||
(stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
|
||
address.
|
||
(handle_stap_probe): Don't relocate the probe.
|
||
(stap_relocate): Remove.
|
||
(stap_gen_info_probes_table_values): Update.
|
||
(stap_probe_ops): Remove stap_relocate.
|
||
* symfile-debug.c (debug_sym_relocate_probe): Remove.
|
||
(debug_sym_probe_fns): Update.
|
||
* symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
|
||
* symtab.c (init_sal): Use memset.
|
||
* symtab.h (struct symtab_and_line) <objfile>: New field.
|
||
* tracepoint.c (start_tracing, stop_tracing): Update.
|
||
|
||
2014-03-03 Tom Tromey <tromey@redhat.com>
|
||
|
||
* probe.h (parse_probes, find_probe_by_pc)
|
||
(find_probes_in_objfile): Fix comments.
|
||
|
||
2014-03-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
* infrun.c (handle_signal_stop): Replace test for
|
||
TARGET_WAITKIND_STOPPED with an assert.
|
||
|
||
2014-03-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
|
||
|
||
2014-03-02 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
|
||
|
||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
|
||
|
||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* i386obsd-nat.c: Include "obsd-nat.h".
|
||
(_initialize_i386obsd_nat): Call obsd_add_target instead of
|
||
add_target.
|
||
* config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
|
||
|
||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
|
||
|
||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* mips64obsd-nat.c: Include "obsd-nath".
|
||
(_initialize_mips64obsd_nat): Call obsd_add_target instead of
|
||
add_target
|
||
* config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
|
||
|
||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* amd64obsd-nat.c: Include "obsd-nat,h.
|
||
(_initialize_amd64obsd_nat): Call obsd_add_target instead of
|
||
add_target.
|
||
* config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
|
||
|
||
2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* valops.c (find_oload_champ): Remove unneccesary argument METHOD.
|
||
(find_overload_match): Update call to find_oload_champ.
|
||
(find_oload_champ_namespace_loop): Likewise
|
||
|
||
2014-02-28 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
|
||
|
||
* configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
|
||
* config/sparc/obsd64.mh: New file.
|
||
* sparc64obsd-nat.c: New file.
|
||
|
||
* obsd-nat.h: New file.
|
||
* obsd-nat.c: New file.
|
||
* Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
|
||
(ALLDEPFILES): Add obsd-nat.c.
|
||
|
||
2014-02-28 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli-out.c (cli_ui_out_impl): Now const. Remove comment.
|
||
* cli-out.h (cli_ui_out_impl): Now const.
|
||
* mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
|
||
* ui-out.c (struct ui_out) <impl>: Now const.
|
||
(default_ui_out_impl): Now const.
|
||
(ui_out_new): Make 'impl' parameter const.
|
||
* ui-out.h (ui_out_new): Update.
|
||
|
||
2014-02-27 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
|
||
|
||
2014-02-27 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
|
||
|
||
2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Additional PR 8882 fix.
|
||
* solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
|
||
|
||
2014-02-27 Pedro Alves <palves@redhat.com>
|
||
|
||
* nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
|
||
isn't set.
|
||
|
||
2014-02-27 Pedro Alves <palves@redhat.com>
|
||
|
||
PR 12702
|
||
* linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
|
||
* nat/linux-waitpid.c: Include string.h.
|
||
(status_to_str): Moved here and made extern.
|
||
* nat/linux-waitpid.h (status_to_str): New declaration.
|
||
|
||
2014-02-27 Hui Zhu <hui@codesourcery.com>
|
||
|
||
PR 12702
|
||
* infrun.c (ptid_match): Move ...
|
||
* common/ptid.c (ptid_match): ... here.
|
||
* inferior.h (ptid_match): Move ...
|
||
* common/ptid.h (ptid_match): ... here.
|
||
|
||
2014-02-27 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
|
||
* configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
|
||
gdb_target_obs.
|
||
|
||
2014-02-27 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* obsd-tdep.c (obsd_auxv_parse): New function.
|
||
(obsd_init_abi): Set auxv_parse.
|
||
|
||
* gdbarch.sh (auxv_parse): New.
|
||
* gdbarch.h: Regenerated.
|
||
* gdbarch.c: Regenerated.
|
||
* auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
|
||
|
||
2014-02-26 Ludovic Courtès <ludo@gnu.org>
|
||
|
||
* guile/scm-value.c (gdbscm_history_append_x): New function.
|
||
(value_functions): Add it.
|
||
|
||
2014-02-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2read.c (attr_value_as_address): New function.
|
||
(dwarf2_find_base_address, read_call_site_scope): Use
|
||
attr_value_as_address in place of DW_ADDR.
|
||
(dwarf2_get_pc_bounds): Use attr_value_as_address to get
|
||
the low and high addresses. Slight rework of the handling
|
||
of the high pc being a constant form, and limit it to
|
||
DWARF verson 4 or higher.
|
||
(dwarf2_record_block_ranges): Likewise.
|
||
(read_partial_die): Likewise.
|
||
(new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* exec.c (exec_file_attach): Hold a reference to exec_bfd.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* elfread.c (elf_read_minimal_symbols): Return early if
|
||
minimal symbols have already been read. Add "ei" parameter.
|
||
(elf_symfile_read): Call elf_read_minimal_symbols earlier.
|
||
* minsyms.c (prim_record_minimal_symbol_full): Update.
|
||
* objfiles.h (struct objstats) <n_minsyms>: Move...
|
||
(struct objfile_per_bfd_storage) <n_minsyms>: ... here.
|
||
* symmisc.c (print_objfile_statistics): Update.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* elfread.c (elf_read_minimal_symbols): New function, from
|
||
elf_symfile_read.
|
||
(elf_symfile_read): Call it.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
|
||
(lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
|
||
(lookup_minimal_symbol_solib_trampoline)
|
||
(lookup_minimal_symbol_by_pc_section_1)
|
||
(lookup_minimal_symbol_and_objfile): Update.
|
||
(prim_record_minimal_symbol_full): Use the per-BFD obstack.
|
||
Don't allocate a minimal symbol if minsyms have already been read.
|
||
(build_minimal_symbol_hash_tables): Update.
|
||
(install_minimal_symbols): Do nothing if minsyms already read.
|
||
Use the per-BFD obstack.
|
||
(terminate_minimal_symbol_table): Use the per-BFD obstack.
|
||
* objfiles.c (allocate_objfile): Call
|
||
terminate_minimal_symbol_table later.
|
||
(have_minimal_symbols): Update.
|
||
* objfiles.h (struct objfile_per_bfd_storage) <msymbols,
|
||
minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
|
||
Move from struct objfile.
|
||
<minsyms_read>: New field.
|
||
(struct objfile) <msymbols, minimal_symbol_count,
|
||
msymbol_hash, msymbol_demangled_hash>: Move.
|
||
(ALL_OBJFILE_MSYMBOLS): Update.
|
||
* symfile.c (read_symbols): Set minsyms_read.
|
||
(reread_symbols): Update.
|
||
* symmisc.c (dump_objfile, dump_msymbols): Update.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* minsyms.c (msymbols_sort): Remove.
|
||
* minsyms.h (msymbols_sort): Remove.
|
||
* objfiles.c (objfile_relocate1): Don't relocate minsyms.
|
||
* symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
|
||
* elfread.c (elf_symtab_read): Don't add section offsets.
|
||
* xcoffread.c (record_minimal_symbol): Don't add section offset
|
||
to minimal symbol address.
|
||
* somread.c (text_offset, data_offset): Remove.
|
||
(som_symtab_read): Don't add section offsets to minimal symbol
|
||
addresses.
|
||
* coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
|
||
Don't add section offsets to minimal symbols.
|
||
* coffread.c (coff_symtab_read): Don't add section offsets
|
||
to minimal symbol addresses.
|
||
* machoread.c (macho_symtab_add_minsym): Don't add section offset
|
||
to minimal symbol addresses.
|
||
* mipsread.c (read_alphacoff_dynamic_symtab): Don't add
|
||
section offset to minimal symbol addresses.
|
||
* mdebugread.c (parse_partial_symbols): Don't add section
|
||
offset to minimal symbol addresses.
|
||
* dbxread.c (read_dbx_dynamic_symtab): Don't add section
|
||
offset to minimal symbol addresses.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* ada-lang.c (ada_main_name): Update.
|
||
(ada_add_standard_exceptions): Update.
|
||
* ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
|
||
* aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
|
||
* arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
|
||
* auxv.c (ld_so_xfer_auxv): Update.
|
||
* avr-tdep.c (avr_scan_prologue): Update.
|
||
* ax-gdb.c (gen_var_ref): Update.
|
||
* blockframe.c (get_pc_function_start)
|
||
(find_pc_partial_function_gnu_ifunc): Update.
|
||
* breakpoint.c (create_overlay_event_breakpoint)
|
||
(create_longjmp_master_breakpoint)
|
||
(create_std_terminate_master_breakpoint)
|
||
(create_exception_master_breakpoint): Update.
|
||
* bsd-uthread.c (bsd_uthread_lookup_address): Update.
|
||
* c-valprint.c (c_val_print): Update.
|
||
* coff-pe-read.c (add_pe_forwarded_sym): Update.
|
||
* common/agent.c (agent_look_up_symbols): Update.
|
||
* dbxread.c (find_stab_function_addr, end_psymtab): Update.
|
||
* dwarf2loc.c (call_site_to_target_addr): Update.
|
||
* dwarf2read.c (dw2_find_pc_sect_symtab): Update.
|
||
* elfread.c (elf_gnu_ifunc_record_cache)
|
||
(elf_gnu_ifunc_resolve_by_got): Update.
|
||
* findvar.c (default_read_var_value): Update.
|
||
* frame.c (inside_main_func): Update.
|
||
* frv-tdep.c (frv_frame_this_id): Update.
|
||
* glibc-tdep.c (glibc_skip_solib_resolver): Update.
|
||
* gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
|
||
Update.
|
||
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
|
||
(hppa_hpux_find_dummy_bpaddr): Update.
|
||
* hppa-tdep.c (hppa_symbol_address): Update.
|
||
* infcmd.c (until_next_command): Update.
|
||
* jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
|
||
Update.
|
||
* linespec.c (minsym_found, add_minsym): Update.
|
||
* linux-nat.c (get_signo): Update.
|
||
* linux-thread-db.c (inferior_has_bug): Update.
|
||
* m32c-tdep.c (m32c_return_value)
|
||
(m32c_m16c_address_to_pointer): Update.
|
||
* m32r-tdep.c (m32r_frame_this_id): Update.
|
||
* m68hc11-tdep.c (m68hc11_get_register_info): Update.
|
||
* machoread.c (macho_resolve_oso_sym_with_minsym): Update.
|
||
* maint.c (maintenance_translate_address): Update.
|
||
* minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
|
||
(frob_address): New function.
|
||
(lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
|
||
frob_address. Rename parameter to "pc_in".
|
||
(compare_minimal_symbols, compact_minimal_symbols): Use raw
|
||
addresses.
|
||
(find_solib_trampoline_target, minimal_symbol_upper_bound):
|
||
Update.
|
||
* mips-linux-tdep.c (mips_linux_skip_resolver): Update.
|
||
* mips-tdep.c (mips_skip_pic_trampoline_code): Update.
|
||
* objc-lang.c (find_objc_msgsend): Update.
|
||
* objfiles.c (objfile_relocate1): Update.
|
||
* obsd-tdep.c (obsd_skip_solib_resolver): Update.
|
||
* p-valprint.c (pascal_val_print): Update.
|
||
* parse.c (write_exp_msymbol): Update.
|
||
* ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
|
||
(ppc_elfv2_skip_entrypoint): Update.
|
||
* ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
|
||
* printcmd.c (build_address_symbolic, msym_info)
|
||
(address_info): Update.
|
||
* proc-service.c (ps_pglobal_lookup): Update.
|
||
* psymtab.c (find_pc_sect_psymtab_closer)
|
||
(find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
|
||
Change msymbol parameter to bound_minimal_symbol.
|
||
* ravenscar-thread.c (get_running_thread_id): Update.
|
||
* remote.c (remote_check_symbols): Update.
|
||
* sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
|
||
address.
|
||
* sol2-tdep.c (sol2_skip_solib_resolver): Update.
|
||
* solib-dsbt.c (lm_base): Update.
|
||
* solib-frv.c (lm_base, main_got): Update.
|
||
* solib-irix.c (locate_base): Update.
|
||
* solib-som.c (som_solib_create_inferior_hook)
|
||
(link_map_start): Update.
|
||
* solib-spu.c (spu_enable_break, ocl_enable_break): Update.
|
||
* solib-svr4.c (elf_locate_base, enable_break): Update.
|
||
* spu-tdep.c (spu_get_overlay_table, spu_catch_start)
|
||
(flush_ea_cache): Update.
|
||
* stabsread.c (define_symbol, scan_file_globals): Update.
|
||
* stack.c (find_frame_funname): Update.
|
||
* symfile-debug.c (debug_qf_expand_symtabs_matching)
|
||
(debug_qf_find_pc_sect_symtab): Update.
|
||
* symfile.c (simple_read_overlay_table)
|
||
(simple_overlay_update): Update.
|
||
* symfile.h (struct quick_symbol_functions)
|
||
<find_pc_sect_symtab>: Change type of msymbol to
|
||
bound_minimal_symbol.
|
||
* symmisc.c (dump_msymbols): Update.
|
||
* symtab.c (find_pc_sect_symtab_via_partial)
|
||
(find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
|
||
(search_symbols, print_msymbol_info): Update.
|
||
* symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
|
||
(MSYMBOL_VALUE_ADDRESS): Redefine.
|
||
(BMSYMBOL_VALUE_ADDRESS): New macro.
|
||
* tracepoint.c (scope_info): Update.
|
||
* tui/tui-disasm.c (tui_find_disassembly_address)
|
||
(tui_get_begin_asm_address): Update.
|
||
* valops.c (find_function_in_inferior): Update.
|
||
* value.c (value_static_field, value_fn_field): Update.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* ada-lang.c (ada_update_initial_language): Update.
|
||
(ada_main_name, ada_has_this_exception_support): Update.
|
||
* ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
|
||
* aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
|
||
* arm-tdep.c (arm_skip_stub): Update.
|
||
* auxv.c (ld_so_xfer_auxv): Update.
|
||
* avr-tdep.c (avr_scan_prologue): Update.
|
||
* ax-gdb.c (gen_var_ref): Update.
|
||
* breakpoint.c (struct breakpoint_objfile_data)
|
||
<overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
|
||
type to bound_minimal_symbol.
|
||
(create_overlay_event_breakpoint)
|
||
(create_longjmp_master_breakpoint)
|
||
(create_std_terminate_master_breakpoint)
|
||
(create_exception_master_breakpoint): Update.
|
||
* bsd-uthread.c (bsd_uthread_lookup_address): Update.
|
||
* c-exp.y (classify_name): Update.
|
||
* coffread.c (coff_symfile_read): Update.
|
||
* common/agent.c (agent_look_up_symbols): Update.
|
||
* d-lang.c (d_main_name): Update.
|
||
* dbxread.c (find_stab_function_addr, end_psymtab): Update.
|
||
* dec-thread.c (enable_dec_thread): Update.
|
||
* dwarf2loc.c (call_site_to_target_addr): Update.
|
||
* elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
|
||
* eval.c (evaluate_subexp_standard): Update.
|
||
* findvar.c (struct minsym_lookup_data) <result>: Change type
|
||
to bound_minimal_symbol.
|
||
<objfile>: Remove.
|
||
(minsym_lookup_iterator_cb, default_read_var_value): Update.
|
||
* frame.c (inside_main_func): Update.
|
||
* frv-tdep.c (frv_frame_this_id): Update.
|
||
* gcore.c (call_target_sbrk): Update.
|
||
* glibc-tdep.c (glibc_skip_solib_resolver): Update.
|
||
* gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
|
||
Update.
|
||
* go-lang.c (go_main_name): Update.
|
||
* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
|
||
(hppa_hpux_find_import_stub_for_addr): Update.
|
||
* hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
|
||
Update. Change return type.
|
||
* hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
|
||
type.
|
||
* jit.c (jit_breakpoint_re_set_internal): Update.
|
||
* linux-fork.c (inferior_call_waitpid, checkpoint_command):
|
||
Update.
|
||
* linux-nat.c (get_signo): Update.
|
||
* linux-thread-db.c (inferior_has_bug): Update
|
||
* m32c-tdep.c (m32c_return_value)
|
||
(m32c_m16c_address_to_pointer): Update.
|
||
* m32r-tdep.c (m32r_frame_this_id): Update.
|
||
* m68hc11-tdep.c (m68hc11_get_register_info): Update.
|
||
* machoread.c (macho_resolve_oso_sym_with_minsym): Update.
|
||
* minsyms.c (lookup_minimal_symbol_internal): Rename to
|
||
lookup_minimal_symbol. Change return type.
|
||
(lookup_minimal_symbol): Remove.
|
||
(lookup_bound_minimal_symbol): Update.
|
||
(lookup_minimal_symbol_text): Change return type.
|
||
(lookup_minimal_symbol_solib_trampoline): Change return type.
|
||
* minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
|
||
(lookup_minimal_symbol_solib_trampoline): Change return type.
|
||
* mips-linux-tdep.c (mips_linux_skip_resolver): Update.
|
||
* objc-lang.c (lookup_objc_class, lookup_child_selector)
|
||
(value_nsstring, find_imps): Update.
|
||
* obsd-tdep.c (obsd_skip_solib_resolver): Update.
|
||
* p-lang.c (pascal_main_name): Update.
|
||
* ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
|
||
* ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
|
||
* proc-service.c (ps_pglobal_lookup): Update.
|
||
* ravenscar-thread.c (get_running_thread_msymbol): Change
|
||
return type.
|
||
(has_ravenscar_runtime, get_running_thread_id): Update.
|
||
* remote.c (remote_check_symbols): Update.
|
||
* sol-thread.c (ps_pglobal_lookup): Update.
|
||
* sol2-tdep.c (sol2_skip_solib_resolver): Update.
|
||
* solib-dsbt.c (lm_base): Update.
|
||
* solib-frv.c (lm_base, frv_relocate_section_addresses):
|
||
Update.
|
||
* solib-irix.c (locate_base): Update.
|
||
* solib-som.c (som_solib_create_inferior_hook)
|
||
(som_solib_desire_dynamic_linker_symbols, link_map_start):
|
||
Update.
|
||
* solib-spu.c (spu_enable_break): Update.
|
||
* solib-svr4.c (elf_locate_base, enable_break): Update.
|
||
* spu-tdep.c (spu_get_overlay_table, spu_catch_start)
|
||
(flush_ea_cache): Update.
|
||
* stabsread.c (define_symbol): Update.
|
||
* symfile.c (simple_read_overlay_table): Update.
|
||
* symtab.c (find_pc_sect_line): Update.
|
||
* tracepoint.c (scope_info): Update.
|
||
* tui-disasm.c (tui_get_begin_asm_address): Update.
|
||
* value.c (value_static_field): Update.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* minsyms.c (prim_record_minimal_symbol_full): Use
|
||
SET_MSYMBOL_VALUE_ADDRESS.
|
||
* objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
|
||
* sh64-tdep.c (sh64_elf_make_msymbol_special): Use
|
||
SET_MSYMBOL_VALUE_ADDRESS.
|
||
* symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
|
||
(SET_MSYMBOL_VALUE_ADDRESS): New macro.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
|
||
(MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
|
||
(MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
|
||
(MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
|
||
(MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
|
||
(MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
|
||
(MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
|
||
* ada-lang.c (ada_main_name): Update.
|
||
(ada_lookup_simple_minsym): Update.
|
||
(ada_make_symbol_completion_list): Update.
|
||
(ada_add_standard_exceptions): Update.
|
||
* ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
|
||
* aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
|
||
* amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
|
||
* arm-tdep.c (skip_prologue_function): Update.
|
||
(arm_skip_stack_protector, arm_skip_stub): Update.
|
||
* arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
|
||
(arm_wince_skip_main_prologue): Update.
|
||
* auxv.c (ld_so_xfer_auxv): Update.
|
||
* avr-tdep.c (avr_scan_prologue): Update.
|
||
* ax-gdb.c (gen_var_ref): Update.
|
||
* block.c (call_site_for_pc): Update.
|
||
* blockframe.c (get_pc_function_start): Update.
|
||
(find_pc_partial_function_gnu_ifunc): Update.
|
||
* breakpoint.c (create_overlay_event_breakpoint): Update.
|
||
(create_longjmp_master_breakpoint): Update.
|
||
(create_std_terminate_master_breakpoint): Update.
|
||
(create_exception_master_breakpoint): Update.
|
||
(resolve_sal_pc): Update.
|
||
* bsd-uthread.c (bsd_uthread_lookup_address): Update.
|
||
* btrace.c (ftrace_print_function_name, ftrace_function_switched):
|
||
Update.
|
||
* c-valprint.c (c_val_print): Update.
|
||
* coff-pe-read.c (add_pe_forwarded_sym): Update.
|
||
* coffread.c (coff_symfile_read): Update.
|
||
* common/agent.c (agent_look_up_symbols): Update.
|
||
* dbxread.c (find_stab_function_addr): Update.
|
||
(end_psymtab): Update.
|
||
* dwarf2loc.c (call_site_to_target_addr): Update.
|
||
(func_verify_no_selftailcall): Update.
|
||
(tailcall_dump): Update.
|
||
(call_site_find_chain_1): Update.
|
||
(dwarf_expr_reg_to_entry_parameter): Update.
|
||
* elfread.c (elf_gnu_ifunc_record_cache): Update.
|
||
(elf_gnu_ifunc_resolve_by_got): Update.
|
||
* f-valprint.c (info_common_command): Update.
|
||
* findvar.c (read_var_value): Update.
|
||
* frame.c (get_prev_frame_1): Update.
|
||
(inside_main_func): Update.
|
||
* frv-tdep.c (frv_skip_main_prologue): Update.
|
||
(frv_frame_this_id): Update.
|
||
* glibc-tdep.c (glibc_skip_solib_resolver): Update.
|
||
* gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
|
||
* gnu-v3-abi.c (gnuv3_rtti_type): Update.
|
||
(gnuv3_skip_trampoline): Update.
|
||
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
|
||
(hppa64_hpux_in_solib_call_trampoline): Update.
|
||
(hppa_hpux_skip_trampoline_code): Update.
|
||
(hppa64_hpux_search_dummy_call_sequence): Update.
|
||
(hppa_hpux_find_import_stub_for_addr): Update.
|
||
(hppa_hpux_find_dummy_bpaddr): Update.
|
||
* hppa-tdep.c (hppa_symbol_address)
|
||
(hppa_lookup_stub_minimal_symbol): Update.
|
||
* i386-tdep.c (i386_skip_main_prologue): Update.
|
||
(i386_pe_skip_trampoline_code): Update.
|
||
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
|
||
* infcall.c (get_function_name): Update.
|
||
* infcmd.c (until_next_command): Update.
|
||
* jit.c (jit_breakpoint_re_set_internal): Update.
|
||
(jit_inferior_init): Update.
|
||
* linespec.c (minsym_found): Update.
|
||
(add_minsym): Update.
|
||
* linux-fork.c (info_checkpoints_command): Update.
|
||
* linux-nat.c (get_signo): Update.
|
||
* linux-thread-db.c (inferior_has_bug): Update.
|
||
* m32c-tdep.c (m32c_return_value): Update.
|
||
(m32c_m16c_address_to_pointer): Update.
|
||
(m32c_m16c_pointer_to_address): Update.
|
||
* m32r-tdep.c (m32r_frame_this_id): Update.
|
||
* m68hc11-tdep.c (m68hc11_get_register_info): Update.
|
||
* machoread.c (macho_resolve_oso_sym_with_minsym): Update.
|
||
* maint.c (maintenance_translate_address): Update.
|
||
* minsyms.c (add_minsym_to_hash_table): Update.
|
||
(add_minsym_to_demangled_hash_table): Update.
|
||
(msymbol_objfile): Update.
|
||
(lookup_minimal_symbol): Update.
|
||
(iterate_over_minimal_symbols): Update.
|
||
(lookup_minimal_symbol_text): Update.
|
||
(lookup_minimal_symbol_by_pc_name): Update.
|
||
(lookup_minimal_symbol_solib_trampoline): Update.
|
||
(lookup_minimal_symbol_by_pc_section_1): Update.
|
||
(lookup_minimal_symbol_and_objfile): Update.
|
||
(prim_record_minimal_symbol_full): Update.
|
||
(compare_minimal_symbols): Update.
|
||
(compact_minimal_symbols): Update.
|
||
(build_minimal_symbol_hash_tables): Update.
|
||
(install_minimal_symbols): Update.
|
||
(terminate_minimal_symbol_table): Update.
|
||
(find_solib_trampoline_target): Update.
|
||
(minimal_symbol_upper_bound): Update.
|
||
* mips-linux-tdep.c (mips_linux_skip_resolver): Update.
|
||
* mips-tdep.c (mips_stub_frame_sniffer): Update.
|
||
(mips_skip_pic_trampoline_code): Update.
|
||
* msp430-tdep.c (msp430_skip_trampoline_code): Update.
|
||
* objc-lang.c (selectors_info): Update.
|
||
(classes_info): Update.
|
||
(find_methods): Update.
|
||
(find_imps): Update.
|
||
(find_objc_msgsend): Update.
|
||
* objfiles.c (objfile_relocate1): Update.
|
||
* objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
|
||
* obsd-tdep.c (obsd_skip_solib_resolver): Update.
|
||
* p-valprint.c (pascal_val_print): Update.
|
||
* parse.c (write_exp_msymbol): Update.
|
||
* ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
|
||
(ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
|
||
* ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
|
||
* printcmd.c (build_address_symbolic): Update.
|
||
(sym_info): Update.
|
||
(address_info): Update.
|
||
* proc-service.c (ps_pglobal_lookup): Update.
|
||
* psymtab.c (find_pc_sect_psymtab_closer): Update.
|
||
(find_pc_sect_psymtab): Update.
|
||
* python/py-framefilter.c (py_print_frame): Update.
|
||
* ravenscar-thread.c (get_running_thread_id): Update.
|
||
* record-btrace.c (btrace_call_history, btrace_get_bfun_name):
|
||
Update.
|
||
* remote.c (remote_check_symbols): Update.
|
||
* rs6000-tdep.c (rs6000_skip_main_prologue): Update.
|
||
(rs6000_skip_trampoline_code): Update.
|
||
* sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
|
||
* sol2-tdep.c (sol2_skip_solib_resolver): Update.
|
||
* solib-dsbt.c (lm_base): Update.
|
||
* solib-frv.c (lm_base): Update.
|
||
(main_got): Update.
|
||
* solib-irix.c (locate_base): Update.
|
||
* solib-som.c (som_solib_create_inferior_hook): Update.
|
||
(som_solib_desire_dynamic_linker_symbols): Update.
|
||
(link_map_start): Update.
|
||
* solib-spu.c (spu_enable_break): Update.
|
||
(ocl_enable_break): Update.
|
||
* solib-svr4.c (elf_locate_base): Update.
|
||
(enable_break): Update.
|
||
* spu-tdep.c (spu_get_overlay_table): Update.
|
||
(spu_catch_start): Update.
|
||
(flush_ea_cache): Update.
|
||
* stabsread.c (define_symbol): Update.
|
||
(scan_file_globals): Update.
|
||
* stack.c (find_frame_funname): Update.
|
||
(frame_info): Update.
|
||
* symfile.c (simple_read_overlay_table): Update.
|
||
(simple_overlay_update): Update.
|
||
* symmisc.c (dump_msymbols): Update.
|
||
* symtab.c (fixup_section): Update.
|
||
(find_pc_sect_line): Update.
|
||
(skip_prologue_sal): Update.
|
||
(search_symbols): Update.
|
||
(print_msymbol_info): Update.
|
||
(rbreak_command): Update.
|
||
(MCOMPLETION_LIST_ADD_SYMBOL): New macro.
|
||
(completion_list_objc_symbol): Update.
|
||
(default_make_symbol_completion_list_break_on): Update.
|
||
* tracepoint.c (scope_info): Update.
|
||
* tui/tui-disasm.c (tui_find_disassembly_address): Update.
|
||
(tui_get_begin_asm_address): Update.
|
||
* valops.c (find_function_in_inferior): Update.
|
||
* value.c (value_static_field): Update.
|
||
(value_fn_field): Update.
|
||
|
||
2014-02-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* blockframe.c (find_pc_partial_function_gnu_ifunc): Use
|
||
bound minimal symbols. Move code that knows about minsym
|
||
table layout...
|
||
* minsyms.c (minimal_symbol_upper_bound): ... here. New
|
||
function.
|
||
* minsyms.h (minimal_symbol_upper_bound): Declare.
|
||
* objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
|
||
minimal_symbol_upper_bound.
|
||
|
||
2014-02-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
|
||
Use the type's name if its basic type does not have a tag.
|
||
|
||
2014-02-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2read.c (read_subrange_type): Add comment.
|
||
|
||
2014-02-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dwarf2read.c (update_enumeration_type_from_children): New
|
||
function, mostly extracted from process_structure_scope.
|
||
(read_enumeration_type): Call update_enumeration_type_from_children.
|
||
(process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
|
||
and flag_flag_enum fields.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
|
||
(bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
|
||
to_xfer_partial method.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* target.c (complete_target_initialization): Don't install
|
||
default_xfer_partial as to_xfer_partial hook.
|
||
(nomemory): Delete.
|
||
(update_current_target): Don't INHERIT nor de_fault
|
||
deprecated_xfer_memory. Delete de_fault macro.
|
||
(default_xfer_partial, deprecated_debug_xfer_memory): Delete.
|
||
(setup_target_debug): Don't install a deprecated_xfer_memory hook.
|
||
* target.h (struct target_ops) <deprecated_xfer_memory>: Delete
|
||
field.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c (my_write_child): New function.
|
||
(go32_xfer_memory): Rewrite as to_xfer_partial helper.
|
||
(go32_xfer_partial): New function.
|
||
(init_go32_ops): Don't install a deprecated_xfer_memory hook.
|
||
Instead install a to_xfer_partial hook.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* nto-procfs.c (procfs_xfer_memory): Adjust interface as a
|
||
to_xfer_partial helper. Rewrite.
|
||
(procfs_xfer_partial): New function.
|
||
(init_procfs_ops): Don't install a deprecated_xfer_memory hook.
|
||
Install a to_xfer_partial hook.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
|
||
(m32r_xfer_memory): Adjust as a to_xfer_partial helper.
|
||
(m32r_xfer_partial): New function.
|
||
(init_m32r_ops): Don't install a deprecated_xfer_memory hook.
|
||
Install a to_xfer_partial hook.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
|
||
helper.
|
||
(mips_xfer_partial): New function.
|
||
(_initialize_remote_mips): Don't install a deprecated_xfer_memory
|
||
hook. Install a to_xfer_partial hook.
|
||
|
||
2014-02-26 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbtypes.h (create_array_type_with_stride): Add declaration.
|
||
* gdbtypes.c (create_array_type_with_stride): New function,
|
||
renaming create_array_type, but with an added parameter
|
||
called "bit_stride".
|
||
(create_array_type): Re-implement using
|
||
create_array_type_with_stride.
|
||
* dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
|
||
and DW_AT_bit_stride attributes.
|
||
|
||
2014-02-26 Pedro Alves <palves@redhat.com>
|
||
|
||
* breakpoint.c (bpstat_check_breakpoint_conditions): Handle
|
||
task-specific breakpoints.
|
||
|
||
2014-02-25 Pedro Alves <palves@redhat.com>
|
||
|
||
* ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
|
||
handling of object == TARGET_OBJECT_UNWIND_TABLE.
|
||
|
||
2014-02-25 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* defs.h: Annotate comments for Doxygen.
|
||
|
||
2014-02-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (target_ignore): Don't declare.
|
||
* target.c (target_ignore): Remove.
|
||
|
||
2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR gdb/16626
|
||
* auto-load.c (auto_load_objfile_script_1): Change filename to
|
||
debugfile.
|
||
|
||
2014-02-25 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
|
||
documentation. Adjust prototype to match the target_ops
|
||
to_xfer_partial method. Adjust implementation accordingly.
|
||
|
||
2014-02-25 Hui Zhu <hui@codesourcery.com>
|
||
|
||
* target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
|
||
to_traceframe_info.
|
||
|
||
2014-02-25 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
|
||
(RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
|
||
(RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
|
||
(RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
|
||
(RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
|
||
(RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
|
||
(RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
|
||
(RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
|
||
New constants.
|
||
(rl78_register_type): Use a data pointer type for SP and
|
||
new pseudo registers mentioned above. Use a 16 bit integer
|
||
type for all other register pairs.
|
||
(rl78_register_name, rl78_g10_register_name): Update for
|
||
new pseudo registers.
|
||
(rl78_pseudo_register_read): Likewise.
|
||
(rl78_pseudo_register_write): Likewise.
|
||
(rl78_dwarf_reg_to_regnum): Return register numbers representing
|
||
to the newly added pseudo registers.
|
||
|
||
2014-02-24 Doug Evans <dje@google.com>
|
||
|
||
* value.c (record_latest_value): Fix comment.
|
||
* printcmd.c (print_command_1): Remove code to handle -1 return from
|
||
record_latest_value.
|
||
|
||
2014-02-24 Pedro Alves <palves@redhat.com>
|
||
|
||
* procfs.c (procfs_target): Don't install procfs_xfer_memory as
|
||
deprecated_xfer_memory hook.
|
||
(procfs_xfer_partial): Call procfs_xfer_memory instead
|
||
of the deprecated_xfer_memory target hook.
|
||
(procfs_xfer_memory): Adjust interface as a to_xfer_partial
|
||
helper.
|
||
|
||
2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
|
||
|
||
* windows-nat.c (windows_xfer_shared_libraries): Return
|
||
TARGET_XFER_EOF if LEN is zero to fix an assert failure when
|
||
requested object is TARGET_OBJECT_LIBRARIES.
|
||
|
||
2014-02-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.h (enum target_xfer_status)
|
||
<TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
|
||
<TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
|
||
explicitly. New.
|
||
* corefile.c (memory_error_message): User updated.
|
||
* exec.c (section_table_read_available_memory): Likewise.
|
||
* record-btrace.c (record_btrace_xfer_partial): Likewise.
|
||
* target.c (target_xfer_status_to_string): Likewise.
|
||
(raw_memory_xfer_partial): Likewise.
|
||
(memory_xfer_partial_1, target_xfer_partial): Likewise.
|
||
* valops.c (read_value_memory): Likewise.
|
||
* exec.h: Update comments.
|
||
|
||
2014-02-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.c (target_xfer_status_to_string): Rename argument err
|
||
to status.
|
||
* target.h (target_xfer_status_to_string): Update declaration.
|
||
Replace target_xfer_error_to_string with
|
||
target_xfer_status_to_string in comment.
|
||
|
||
2014-02-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* mips-linux-nat.c (super_close): Update its type.
|
||
(mips_linux_close): Pass 'self' to super_close.
|
||
|
||
2014-02-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
|
||
* corefile.c (read_memory): Adjusted.
|
||
* target.c (target_write_with_progress): Adjusted.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
Revert two patches:
|
||
|
||
2013-10-25 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (remote_traceframe_info): Return early if
|
||
traceframe is not selected.
|
||
|
||
2013-07-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.c (update_current_target): Change the default action
|
||
of 'to_traceframe_info' from tcomplain to return_zero.
|
||
* target.h (struct target_ops) <to_traceframe_info>: Add more
|
||
comments.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* valops.c (read_value_memory): Rewrite it. Call
|
||
target_xfer_partial in a loop.
|
||
* exec.h (section_table_available_memory): Remove declaration.
|
||
Move comments to ...
|
||
* exec.c (section_table_available_memory): ... here. Make it
|
||
static.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* exec.c (section_table_read_available_memory): New function.
|
||
* exec.h (section_table_read_available_memory): Declare.
|
||
* ctf.c (ctf_xfer_partial): Call
|
||
section_table_read_available_memory.
|
||
* tracefile-tfile.c (tfile_xfer_partial): Likewise.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (ctf_xfer_partial): Move code to ...
|
||
* exec.c (exec_read_partial_read_only): ... it. New function.
|
||
* tracefile-tfile.c (tfile_xfer_partial): Likewise.
|
||
* tracefile.c: Include "exec.h".
|
||
* exec.h (exec_read_partial_read_only): Declare.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* tracefile-tfile.c (tfile_has_all_memory): Remove.
|
||
(tfile_has_memory): Remove.
|
||
(init_tfile_ops): Don't set fields to_has_all_memory and
|
||
to_has_memory of tfile_ops.
|
||
* tracefile.c (tracefile_has_all_memory): New function.
|
||
(tracefile_has_memory): New function.
|
||
(init_tracefile_ops): Initialize fields to_has_all_memory and
|
||
to_has_memory of 'ops'.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c (ctf_has_stack, ctf_has_registers): Remove.
|
||
(ctf_thread_alive, ctf_get_trace_status): Remove.
|
||
(init_ctf_ops): Don't set some fields of ctf_ops. Call
|
||
init_tracefile_ops.
|
||
* tracefile-tfile.c (tfile_get_trace_status): Remove.
|
||
(tfile_has_stack, tfile_has_registers): Remove.
|
||
(tfile_thread_alive): Remove.
|
||
(init_tfile_ops): Don't set some fields of tfile_ops. Call
|
||
init_tracefile_ops.
|
||
* tracefile.c (tracefile_has_stack): New function.
|
||
(tracefile_has_registers): New function.
|
||
(tracefile_thread_alive): New function.
|
||
(tracefile_get_trace_status): New function.
|
||
(init_tracefile_ops): New function.
|
||
* tracefile.h (init_tracefile_ops): Declare.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
|
||
(O_LARGEFILE): Likewise.
|
||
(tfile_ops): Likewise.
|
||
(TRACE_HEADER_SIZE): Likewise.
|
||
(trace_fd, trace_frames_offset, cur_offset): Likewise.
|
||
(cur_data_size): Likewise.
|
||
(tfile_read, tfile_open, tfile_interp_line): Likewise.
|
||
(tfile_close, tfile_files_info): Likewise.
|
||
(tfile_get_trace_status): Likewise.
|
||
(tfile_get_tracepoint_status): Likewise.
|
||
(tfile_get_traceframe_address): Likewise.
|
||
(tfile_trace_find, match_blocktype): Likewise.
|
||
(traceframe_walk_blocks, traceframe_find_block_type): Likewise.
|
||
(tfile_fetch_registers, tfile_xfer_partial): Likewise.
|
||
(tfile_get_trace_state_variable_value): Likewise.
|
||
(tfile_has_all_memory, tfile_has_memory): Likewise.
|
||
(tfile_has_stack, tfile_has_registers): Likewise.
|
||
(tfile_thread_alive, build_traceframe_info): Likewise.
|
||
(tfile_traceframe_info, init_tfile_ops): Likewise.
|
||
(_initialize_tracepoint): Don't call init_tfile_ops
|
||
and add_target_with_completer.
|
||
* tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
|
||
exec.h, completer.h and filenames.h.
|
||
(_initialize_tracefile_tfile): New function.
|
||
|
||
2014-02-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* Makefile.in (REMOTE_OBS): Append tracefile.o and
|
||
tracefile-tfile.o.
|
||
(HFILES_NO_SRCDIR): Add tracefile.h.
|
||
* ctf.c: Include "tracefile.h".
|
||
* tracefile.h: New file.
|
||
* tracefile.c: New file
|
||
* tracefile-tfile.c: New file.
|
||
* tracepoint.c: Include "tracefile.h".
|
||
(free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
|
||
(stop_reason_names): Add const.
|
||
(trace_file_writer_xfree): Move it to tracefile.c.
|
||
(trace_save, trace_save_command, trace_save_tfile): Likewise.
|
||
(trace_save_ctf): Likewise.
|
||
(struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
|
||
(tfile_target_save, tfile_dtor, tfile_start): Likewise.
|
||
(tfile_write_header, tfile_write_regblock_type): Likewise.
|
||
(tfile_write_status, tfile_write_uploaded_tsv): Likewise.
|
||
(tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
|
||
(tfile_write_raw_data, tfile_end): Likewise.
|
||
(tfile_trace_file_writer_new): Likewise.
|
||
(free_uploaded_tp): Make it extern.
|
||
(free_uploaded_tsv): Make it extern.
|
||
(_initialize_tracepoint): Move code to register command 'tsave'
|
||
to tracefile.c.
|
||
* tracepoint.h (stop_reason_names): Declare.
|
||
(struct trace_frame_write_ops): Move it to tracefile.h.
|
||
(struct trace_file_write_ops): Likewise.
|
||
(struct trace_file_writer): Likewise.
|
||
(free_uploaded_tsvs, free_uploaded_tps): Declare.
|
||
|
||
2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR gdb/16594
|
||
* common/linux-osdata.c (linux_common_core_of_thread): Find the end of
|
||
process name.
|
||
(get_cores_used_by_process): New parameter num_cores, use it.
|
||
(linux_xfer_osdata_processes): Pass num_cores to it.
|
||
* linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
|
||
process name.
|
||
|
||
2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
|
||
|
||
* target.c (memory_xfer_partial): Fix length arg in call to
|
||
breakpoint_xfer_memory.
|
||
|
||
2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
PR tdep/16397
|
||
* i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
|
||
number comes after the + or - signs. Adjust length of register
|
||
name to be extracted.
|
||
|
||
2014-02-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
|
||
(ada_varobj_ops): Mark "extern".
|
||
|
||
2014-02-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dbxread.c (read_dbx_symtab): Remove last_o_file_start.
|
||
|
||
2014-02-20 Doug Evans <xdje42@gmail.com>
|
||
|
||
* guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
|
||
All callers updated.
|
||
(gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
|
||
All callers updated.
|
||
* guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
|
||
(gdbscm_fill_eqable_gsmob_ptr_slot): Update.
|
||
|
||
2014-02-20 lin zuojian <manjian2006@gmail.com>
|
||
Joel Brobecker <brobecker@adacore.com>
|
||
Doug Evans <xdje42@gmail.com>
|
||
|
||
PR symtab/16581
|
||
* dwarf2read.c (struct die_info): New member in_process.
|
||
(reset_die_in_process): New function.
|
||
(process_die): Set it at the start, reset when returning.
|
||
(inherit_abstract_dies): Only call process_die if origin_child_die
|
||
not already being processed.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (handle_unload_dll): Add function documentation.
|
||
(do_initial_windows_stuff): Add comment explaining why we wait
|
||
until after inferior initialization has finished before
|
||
processing all DLLs.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (get_module_name): Delete.
|
||
(windows_get_exec_module_filename): New function, mostly
|
||
inspired from get_module_name.
|
||
(windows_pid_to_exec_file): Replace call to get_module_name
|
||
by call to windows_get_exec_module_filename.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (handle_load_dll): Rewrite this function's
|
||
introductory comment. Remove code using get_module_name
|
||
to get the DLL's name.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (get_windows_debug_event): Ignore
|
||
LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
|
||
if windows_initialization_done == 0.
|
||
(windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
|
||
Adjust implementation to always load all DLLs.
|
||
(do_initial_windows_stuff): Replace call to
|
||
windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (_initialize_windows_nat): Deprecate the
|
||
"dll-symbols" command. Turn the "add-shared-symbol-files"
|
||
and "assf" aliases into commands, and deprecate them as well.
|
||
* NEWS: Add entry explaining that "dll-symbols" and its two
|
||
aliases are now deprecated.
|
||
|
||
2014-02-20 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
|
||
new-line in debug string. Remove trailing spaces.
|
||
|
||
2014-02-19 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* darwin-nat.c (darwin_xfer_partial): Fix return type.
|
||
|
||
2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
* NEWS: Add entry for the new feature
|
||
* python/py-value.c (valpy_binop): Call value_x_binop for struct
|
||
and class values.
|
||
|
||
2014-02-19 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* MAINTAINERS: List Yao Qi as nios2 maintainer.
|
||
|
||
2014-02-19 Pedro Alves <palves@redhat.com>
|
||
|
||
* common/ptid.h (struct ptid): Mention that process_stratum
|
||
targets should prefer ptid.lwp.
|
||
|
||
2014-02-19 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (remote_thread_alive, write_ptid, read_ptid)
|
||
(read_ptid, remote_newthread_step, remote_threads_extra_info)
|
||
(remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
|
||
(threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
|
||
store remote thread ids rather than ptid.tid.
|
||
(_initialize_remote): Adjust.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (target_get_unwinder): Rewrite.
|
||
(target_get_tailcall_unwinder): Rewrite.
|
||
* record-btrace.c (record_btrace_to_get_unwinder): New function.
|
||
(record_btrace_to_get_tailcall_unwinder): New function.
|
||
(init_record_btrace_ops): Update.
|
||
* target.h (struct target_ops) <to_get_unwinder,
|
||
to_get_tailcall_unwinder>: Now function pointers. Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
|
||
argument.
|
||
(init_procfs_ops): Correctly set to_remove_hw_breakpoint.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* record-btrace.c (record_btrace_decr_pc_after_break): Delegate
|
||
directly.
|
||
* target-delegates.c: Rebuild.
|
||
* target.h (struct target_ops) <to_decr_pc_after_break>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
* target.c (default_target_decr_pc_after_break): Rename from
|
||
forward_target_decr_pc_after_break. Simplify.
|
||
(target_decr_pc_after_break): Rely on delegation.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (update_current_target): Do not INHERIT to_doc or
|
||
to_magic. Do not de_fault to_open or to_close.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gcore.h (objfile_find_memory_regions): Declare.
|
||
* gcore.c (objfile_find_memory_regions): No longer static. Add
|
||
"self" argument.
|
||
(_initialize_gcore): Don't call exec_set_find_memory_regions.
|
||
* exec.c: Include gcore.h.
|
||
(exec_set_find_memory_regions): Remove.
|
||
(exec_find_memory_regions): Remove.
|
||
(exec_do_find_memory_regions): Remove.
|
||
(init_exec_ops): Update.
|
||
* defs.h (exec_set_find_memory_regions): Remove.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.h (struct target_ops) <to_extra_thread_info,
|
||
to_thread_name, to_pid_to_exec_file, to_get_section_table,
|
||
to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
|
||
not 0, in TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (complete_target_initialization): Remove casts. Use
|
||
return_zero_has_execution.
|
||
(return_zero): Add "ignore" argument.
|
||
(return_zero_has_execution): New function.
|
||
(init_dummy_target): Remove casts. Use
|
||
return_zero_has_execution.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.c (update_current_target): Update comments. Do not
|
||
INHERIT to_stratum.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* arm-linux-nat.c (arm_linux_read_description): Delegate when
|
||
needed.
|
||
* corelow.c (core_read_description): Delegate when needed.
|
||
* remote.c (remote_read_description): Delegate when needed.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_read_description): Rewrite.
|
||
* target.h (struct target_ops) <to_read_description>: Update
|
||
comment. Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_run.
|
||
(find_default_run_target): Check against delegate_can_run.
|
||
* target.h (struct target_ops) <to_can_run>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_disconnect): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_disconnect>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* record.c (record_stop): Unconditionally delegate.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_stop_recording): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_stop_recording>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_enable_btrace): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_enable_btrace>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_read_btrace): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_read_btrace>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_teardown_btrace): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_teardown_btrace>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_disable_btrace): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_disable_btrace>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (default_search_memory): New function.
|
||
(simple_search_memory): Update comment.
|
||
(target_search_memory): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_search_memory>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* auxv.c (default_auxv_parse): No longer static.
|
||
(target_auxv_parse): Unconditionally delegate.
|
||
* auxv.h (default_auxv_parse): Declare.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c: Include auxv.h.
|
||
* target.h (struct target_ops) <to_auxv_parse>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_memory_map): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_memory_map>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_thread_alive): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_thread_alive>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_save_record): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_save_record>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_delete_record): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_delete_record>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_record_is_replaying): Unconditionally
|
||
delegate.
|
||
* target.h (struct target_ops) <to_record_is_replaying>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_goto_record_begin): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_goto_record_begin>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_goto_record_end): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_goto_record_end>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_goto_record): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_goto_record>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_insn_history): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_insn_history>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_insn_history_from): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_insn_history_from>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_insn_history_range): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_insn_history_range>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_call_history): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_call_history>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_call_history_from): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_call_history_from>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_call_history_range): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_call_history_range>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_verify_memory): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_verify_memory>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_core_of_thread): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_core_of_thread>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_flash_done): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_flash_done>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_flash_erase): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_flash_erase>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_get_section_table): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_get_section_table>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_pid_to_str): Unconditionally delegate.
|
||
(init_dummy_target): Don't initialize to_pid_to_str.
|
||
(default_pid_to_str): Rename from dummy_pid_to_str.
|
||
* target.h (struct target_ops) <to_pid_to_str>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_find_new_threads): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_find_new_threads>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_program_signals): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_program_signals>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_pass_signals): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_pass_signals>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (default_mourn_inferior): New function.
|
||
(target_mourn_inferior): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_mourn_inferior>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (default_follow_fork): New function.
|
||
(target_follow_fork): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_follow_fork>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_kill): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_kill>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_masked_watch_num_registers): Unconditionally
|
||
delegate.
|
||
* target.h (struct target_ops) <to_masked_watch_num_registers>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_remove_mask_watchpoint): Unconditionally
|
||
delegate.
|
||
* target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_insert_mask_watchpoint): Unconditionally
|
||
delegate.
|
||
* target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_ranged_break_num_registers): Unconditionally
|
||
delegate.
|
||
* target.h (struct target_ops) <to_ranged_break_num_registers>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_fetch_registers): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_fetch_registers>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_stop.
|
||
* target.h (struct target_ops) <to_stop>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_run_breakpoint_commands.
|
||
* target.h (struct target_ops) <to_can_run_breakpoint_commands>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_supports_evaluation_of_breakpoint_conditions.
|
||
* target.h (struct target_ops)
|
||
<to_supports_evaluation_of_breakpoint_conditions>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_augmented_libraries_svr4_read.
|
||
* target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_use_agent.
|
||
* target.h (struct target_ops) <to_can_use_agent>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_use_agent.
|
||
* target.h (struct target_ops) <to_use_agent>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_traceframe_info.
|
||
(return_null): Remove.
|
||
* target.h (struct target_ops) <to_traceframe_info>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_static_tracepoint_markers_by_strid.
|
||
* target.h (struct target_ops)
|
||
<to_static_tracepoint_markers_by_strid>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_static_tracepoint_marker_at.
|
||
* target.h (struct target_ops) <to_static_tracepoint_marker_at>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_set_permissions.
|
||
* target.h (struct target_ops) <to_set_permissions>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_tib_address.
|
||
* target.h (struct target_ops) <to_get_tib_address>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_set_trace_notes.
|
||
* target.h (struct target_ops) <to_set_trace_notes>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't initialize
|
||
to_set_trace_buffer_size.
|
||
* target.h (struct target_ops) <to_set_trace_buffer_size>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_set_circular_trace_buffer.
|
||
* target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_set_disconnected_tracing.
|
||
* target.h (struct target_ops) <to_set_disconnected_tracing>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_min_fast_tracepoint_insn_len.
|
||
(return_minus_one): Remove.
|
||
* target.h (struct target_ops)
|
||
<to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_raw_trace_data.
|
||
* target.h (struct target_ops) <to_get_raw_trace_data>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_upload_trace_state_variables.
|
||
* target.h (struct target_ops) <to_upload_trace_state_variables>:
|
||
Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_upload_tracepoints.
|
||
* target.h (struct target_ops) <to_upload_tracepoints>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_save_trace_data.
|
||
* target.h (struct target_ops) <to_save_trace_data>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_trace_state_variable_value.
|
||
* target.h (struct target_ops)
|
||
<to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_trace_find.
|
||
* target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_trace_stop.
|
||
* target.h (struct target_ops) <to_trace_stop>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_tracepoint_status.
|
||
* target.h (struct target_ops) <to_get_tracepoint_status>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_trace_status.
|
||
* target.h (struct target_ops) <to_get_trace_status>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_trace_start.
|
||
* target.h (struct target_ops) <to_trace_start>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_trace_set_readonly_regions.
|
||
* target.h (struct target_ops) <to_trace_set_readonly_regions>:
|
||
Use TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_disable_tracepoint.
|
||
* target.h (struct target_ops) <to_disable_tracepoint>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_enable_tracepoint.
|
||
* target.h (struct target_ops) <to_enable_tracepoint>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_download_trace_state_variable.
|
||
* target.h (struct target_ops) <to_download_trace_state_variable>:
|
||
Use TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_download_tracepoint.
|
||
* target.h (struct target_ops) <to_can_download_tracepoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_download_tracepoint.
|
||
* target.h (struct target_ops) <to_download_tracepoint>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_trace_init.
|
||
* target.h (struct target_ops) <to_trace_init>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_supports_string_tracing.
|
||
* target.h (struct target_ops) <to_supports_string_tracing>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_supports_enable_disable_tracepoint.
|
||
* target.h (struct target_ops)
|
||
<to_supports_enable_disable_tracepoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_supports_multi_process.
|
||
* target.h (struct target_ops) <to_supports_multi_process>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_ada_task_ptid.
|
||
* target.h (struct target_ops) <to_get_ada_task_ptid>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_thread_architecture.
|
||
* target.h (struct target_ops) <to_thread_architecture>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_execution_direction.
|
||
* target.h (struct target_ops) <to_execution_direction>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_execute_reverse.
|
||
* target.h (struct target_ops) <to_can_execute_reverse>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
(target_can_execute_reverse): Unconditionally delegate.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_goto_bookmark.
|
||
(dummy_goto_bookmark): Remove.
|
||
(init_dummy_target): Don't inherit or default to_goto_bookmark.
|
||
* target.h (struct target_ops) <to_goto_bookmark>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_get_bookmark.
|
||
(dummy_get_bookmark): Remove.
|
||
(init_dummy_target): Don't inherit or default to_get_bookmark.
|
||
* target.h (struct target_ops) <to_get_bookmark>: Use
|
||
TARGET_DEFAULT_NORETURN
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_make_corefile_notes.
|
||
(init_dummy_target): Don't initialize to_make_corefile_notes.
|
||
* target.h (struct target_ops) <to_make_corefile_notes>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_find_memory_regions.
|
||
(init_dummy_target): Don't initialize to_find_memory_regions.
|
||
* target.h (struct target_ops) <to_find_memory_regions>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_log_command.
|
||
* target.h (struct target_ops) <to_log_command>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
(target_log_command): Unconditionally delegate.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_pid_to_exec_file.
|
||
* target.h (struct target_ops) <to_pid_to_exec_file>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_thread_name.
|
||
(target_thread_name): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_thread_name>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_extra_thread_info.
|
||
* target.h (struct target_ops) <to_extra_thread_info>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_has_exited.
|
||
* target.h (struct target_ops) <to_has_exited>: Use
|
||
TARGET_DEFAULT_RETURN..
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_set_syscall_catchpoint.
|
||
(return_one): Remove.
|
||
* target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_exec_catchpoint.
|
||
* target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-01-08 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_exec_catchpoint.
|
||
* target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_remove_vfork_catchpoint.
|
||
* target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_vfork_catchpoint.
|
||
* target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_remove_fork_catchpoint.
|
||
* target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_fork_catchpoint.
|
||
* target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_post_startup_inferior.
|
||
* target.h (struct target_ops) <to_post_startup_inferior>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_load.
|
||
* target.h (struct target_ops) <to_load>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_info.
|
||
* target.h (struct target_ops) <to_terminal_info>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_save_ours.
|
||
* target.h (struct target_ops) <to_terminal_save_ours>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_ours.
|
||
* target.h (struct target_ops) <to_terminal_ours>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_ours_for_output.
|
||
* target.h (struct target_ops) <to_terminal_ours_for_output>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_inferior.
|
||
* target.h (struct target_ops) <to_terminal_inferior>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_terminal_init.
|
||
* target.h (struct target_ops) <to_terminal_init>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_accel_watchpoint_condition.
|
||
* target.h (struct target_ops)
|
||
<to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_region_ok_for_hw_watchpoint.
|
||
* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
|
||
Use TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_watchpoint_addr_within_range.
|
||
* target.h (struct target_ops) <to_watchpoint_addr_within_range>:
|
||
Use TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_remove_watchpoint.
|
||
* target.h (struct target_ops) <to_remove_watchpoint>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_watchpoint.
|
||
* target.h (struct target_ops) <to_insert_watchpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_remove_hw_breakpoint.
|
||
* target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_insert_hw_breakpoint.
|
||
* target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_can_use_hw_breakpoint.
|
||
* target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
|
||
TARGET_DEFAULT_RETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_files_info.
|
||
* target.h (struct target_ops) <to_files_info>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_store.
|
||
* target.h (struct target_ops) <to_store>: Use
|
||
TARGET_DEFAULT_NORETURN.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_post_attach.
|
||
* target.h (struct target_ops) <to_post_attach>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_rcmd.
|
||
(default_rcmd): New function.
|
||
(do_monitor_command): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_rmcd>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (init_dummy_target): Don't initialize to_attach.
|
||
(target_attach): Unconditionally delegate.
|
||
* target.h (struct target_ops) <to_attach>: Use
|
||
TARGET_DEFAULT_FUNC.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_detach): Unconditionally delegate.
|
||
(init_dummy_target): Don't initialize to_detach.
|
||
* target.h (struct target_ops) <to_detach>: Use
|
||
TARGET_DEFAULT_IGNORE.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
|
||
Add argument.
|
||
(target_augmented_libraries_svr4_read): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_augmented_libraries_svr4_read): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_call_history_range>: Add
|
||
argument.
|
||
* target.c (target_call_history_range): Add argument.
|
||
* record-btrace.c (record_btrace_call_history_range): Add 'self'
|
||
argument.
|
||
(record_btrace_call_history_from): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_call_history_from>: Add
|
||
argument.
|
||
* target.c (target_call_history_from): Add argument.
|
||
* record-btrace.c (record_btrace_call_history_from): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_call_history>: Add argument.
|
||
* target.c (target_call_history): Add argument.
|
||
* record-btrace.c (record_btrace_call_history): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insn_history_range>: Add
|
||
argument.
|
||
* target.c (target_insn_history_range): Add argument.
|
||
* record-btrace.c (record_btrace_insn_history_range): Add 'self'
|
||
argument.
|
||
(record_btrace_insn_history_from): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insn_history_from>: Add
|
||
argument.
|
||
* target.c (target_insn_history_from): Add argument.
|
||
* record-btrace.c (record_btrace_insn_history_from): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insn_history>: Add argument.
|
||
* target.c (target_insn_history): Add argument.
|
||
* record-btrace.c (record_btrace_insn_history): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_goto_record>: Add argument.
|
||
* target.c (target_goto_record): Add argument.
|
||
* record-full.c (record_full_goto): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_goto): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_goto_record_end>: Add argument.
|
||
* target.c (target_goto_record_end): Add argument.
|
||
* record-full.c (record_full_goto_end): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_goto_end): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_goto_record_begin>: Add
|
||
argument.
|
||
* target.c (target_goto_record_begin): Add argument.
|
||
* record-full.c (record_full_goto_begin): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_goto_begin): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_record_is_replaying>: Add
|
||
argument.
|
||
* target.c (target_record_is_replaying): Add argument.
|
||
* record-full.c (record_full_is_replaying): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_is_replaying): Add 'self'
|
||
argument.
|
||
(record_btrace_xfer_partial, record_btrace_store_registers)
|
||
(record_btrace_prepare_to_store, record_btrace_resume)
|
||
(record_btrace_wait, record_btrace_decr_pc_after_break)
|
||
(record_btrace_find_new_threads, record_btrace_thread_alive):
|
||
Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_delete_record>: Add argument.
|
||
* target.c (target_delete_record): Add argument.
|
||
* record-full.c (record_full_delete): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_save_record>: Add argument.
|
||
* target.c (target_save_record): Add argument.
|
||
* record-full.c (record_full_save): Add 'self' argument.
|
||
(record_full_save): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_info_record>: Add argument.
|
||
* target.c (target_info_record): Add argument.
|
||
* record.c (info_record_command): Add argument.
|
||
* record-full.c (record_full_info): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_info): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_stop_recording>: Add argument.
|
||
* target.c (target_stop_recording): Add argument.
|
||
* record.c (record_stop): Add argument.
|
||
* record-btrace.c (record_btrace_stop_recording): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_read_btrace>: Add argument.
|
||
* target.c (struct target_ops) <to_read_btrace>: Add argument.
|
||
* remote.c (struct target_ops) <to_read_btrace>: Add 'self'
|
||
argument.
|
||
* amd64-linux-nat.c (amd64_linux_read_btrace): New function.
|
||
(_initialize_amd64_linux_nat): Use it.
|
||
* i386-linux-nat.c (i386_linux_read_btrace): New function.
|
||
(_initialize_i386_linux_nat): Use it.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_teardown_btrace>: Add argument.
|
||
* target.c (target_teardown_btrace): Add argument.
|
||
* remote.c (remote_teardown_btrace): Add 'self' argument.
|
||
* i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
|
||
argument.
|
||
* amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_disable_btrace>: Add argument.
|
||
* target.c (target_disable_btrace): Add argument.
|
||
* remote.c (remote_disable_btrace): Add 'self' argument.
|
||
* i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
|
||
argument.
|
||
* amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_enable_btrace>: Add argument.
|
||
* target.c (target_enable_btrace): Add argument.
|
||
* remote.c (remote_enable_btrace): Add 'self' argument.
|
||
* i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
|
||
argument.
|
||
* amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_can_use_agent>: Add argument.
|
||
(target_can_use_agent): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_can_use_agent): Add 'self' argument.
|
||
* inf-child.c (inf_child_can_use_agent): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_use_agent>: Add argument.
|
||
(target_use_agent): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_use_agent): Add 'self' argument.
|
||
* inf-child.c (inf_child_use_agent): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c (tfile_traceframe_info): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_traceframe_info>: Add argument.
|
||
(target_traceframe_info): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_traceframe_info): Add 'self' argument.
|
||
* ctf.c (ctf_traceframe_info): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (target_static_tracepoint_markers_by_strid): Add
|
||
argument.
|
||
(struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
|
||
'self' argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (struct target_ops)
|
||
<to_static_tracepoint_markers_by_strid>: Add 'self' argument.
|
||
* linux-nat.c (struct target_ops)
|
||
<to_static_tracepoint_markers_by_strid>: Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_static_tracepoint_marker_at>:
|
||
Add argument.
|
||
(target_static_tracepoint_marker_at): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_static_tracepoint_marker_at): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_permissions>: Add argument.
|
||
(target_set_permissions): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_set_permissions): Add 'self' argument.
|
||
(remote_start_remote): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_get_tib_address): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_get_tib_address>: Add argument.
|
||
(target_get_tib_address): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_tib_address): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_trace_notes>: Add argument.
|
||
(target_set_trace_notes): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_set_trace_notes): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_trace_buffer_size>: Add
|
||
argument.
|
||
(target_set_trace_buffer_size): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_set_trace_buffer_size): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
|
||
argument.
|
||
(target_set_circular_trace_buffer): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_set_circular_trace_buffer): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_disconnected_tracing>: Add
|
||
argument.
|
||
(target_set_disconnected_tracing): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_set_disconnected_tracing): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops)
|
||
<to_get_min_fast_tracepoint_insn_len>: Add argument.
|
||
(target_get_min_fast_tracepoint_insn_len): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_get_raw_trace_data>: Add
|
||
argument.
|
||
(target_get_raw_trace_data): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_raw_trace_data): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_upload_trace_state_variables>:
|
||
Add argument.
|
||
(target_upload_trace_state_variables): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_upload_trace_state_variables): Add 'self'
|
||
argument.
|
||
(remote_start_remote): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_upload_tracepoints>: Add
|
||
argument.
|
||
(target_upload_tracepoints): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_upload_tracepoints): Add 'self' argument.
|
||
(remote_start_remote): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_save_trace_data>: Add argument.
|
||
(target_save_trace_data): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_save_trace_data): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
|
||
argument.
|
||
* target.h (struct target_ops)
|
||
<to_get_trace_state_variable_value>: Add argument.
|
||
(target_get_trace_state_variable_value): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_trace_state_variable_value): Add 'self'
|
||
argument.
|
||
* ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c (tfile_trace_find): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_trace_find>: Add argument.
|
||
(target_trace_find): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_trace_find): Add 'self' argument.
|
||
* ctf.c (ctf_trace_find): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_trace_stop>: Add argument.
|
||
(target_trace_stop): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_trace_stop): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_get_tracepoint_status>: Add
|
||
argument.
|
||
(target_get_tracepoint_status): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_tracepoint_status): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c (tfile_get_trace_status): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_get_trace_status>: Add
|
||
argument.
|
||
(target_get_trace_status): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_get_trace_status): Add 'self' argument.
|
||
(remote_start_remote, remote_can_download_tracepoint): Update.
|
||
* ctf.c (ctf_get_trace_status): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_trace_start>: Add argument.
|
||
(target_trace_start): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_trace_start): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_trace_set_readonly_regions>:
|
||
Add argument.
|
||
(target_trace_set_readonly_regions): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_trace_set_readonly_regions): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_disable_tracepoint>: Add
|
||
argument.
|
||
(target_disable_tracepoint): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_disable_tracepoint): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_enable_tracepoint>: Add
|
||
argument.
|
||
(target_enable_tracepoint): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_enable_tracepoint): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_download_trace_state_variable>:
|
||
Add argument.
|
||
(target_download_trace_state_variable): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_download_trace_state_variable): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_can_download_tracepoint>: Add
|
||
argument.
|
||
(target_can_download_tracepoint): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_can_download_tracepoint): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_download_tracepoint>: Add
|
||
argument.
|
||
(target_download_tracepoint): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_download_tracepoint): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_trace_init>: Add argument.
|
||
(target_trace_init): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_trace_init): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_readlink>: Add argument.
|
||
* target.c (target_fileio_readlink): Add argument.
|
||
* remote.c (remote_hostio_readlink): Add 'self' argument.
|
||
* inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_unlink>: Add argument.
|
||
* target.c (target_fileio_unlink): Add argument.
|
||
* remote.c (remote_hostio_unlink): Add 'self' argument.
|
||
(remote_file_delete): Update.
|
||
* inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_close>: Add argument.
|
||
* target.c (target_fileio_close): Add argument.
|
||
* remote.c (remote_hostio_close): Add 'self' argument.
|
||
(remote_hostio_close_cleanup): Update.
|
||
(remote_bfd_iovec_close, remote_file_put, remote_file_get):
|
||
Update.
|
||
* inf-child.c (inf_child_fileio_close): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_pread>: Add argument.
|
||
* target.c (target_fileio_pread): Add argument.
|
||
* remote.c (remote_hostio_pread): Add 'self' argument.
|
||
(remote_bfd_iovec_pread, remote_file_get): Update.
|
||
* inf-child.c (inf_child_fileio_pread): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
|
||
* target.c (target_fileio_pwrite): Add argument.
|
||
* remote.c (remote_hostio_pwrite): Add 'self' argument.
|
||
(remote_file_put): Update.
|
||
* inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_fileio_open>: Add argument.
|
||
* target.c (target_fileio_open): Add argument.
|
||
* remote.c (remote_hostio_open): Add 'self' argument.
|
||
(remote_bfd_iovec_open): Add 'self' argument.
|
||
(remote_file_put): Add 'self' argument.
|
||
(remote_file_get): Add 'self' argument.
|
||
* inf-child.c (inf_child_fileio_open): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_can_run_breakpoint_commands>:
|
||
Add argument.
|
||
(target_can_run_breakpoint_commands): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_can_run_breakpoint_commands): Add 'self'
|
||
argument.
|
||
(remote_insert_breakpoint): Add 'self' argument.
|
||
(remote_insert_hw_breakpoint): Add 'self' argument.
|
||
(remote_can_run_breakpoint_commands): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops)
|
||
<to_supports_evaluation_of_breakpoint_conditions>: Add argument.
|
||
(target_supports_evaluation_of_breakpoint_conditions): Add
|
||
argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_supports_cond_breakpoints): Add 'self'
|
||
argument.
|
||
(remote_insert_breakpoint): Add 'self' argument.
|
||
(remote_insert_hw_breakpoint): Add 'self' argument.
|
||
(remote_supports_cond_breakpoints): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_supports_string_tracing>: Add
|
||
argument.
|
||
(target_supports_string_tracing): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_supports_string_tracing): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops)
|
||
<to_supports_disable_randomization>: Add argument.
|
||
* target.c (find_default_supports_disable_randomization): Add
|
||
argument.
|
||
(target_supports_disable_randomization): Add argument.
|
||
(find_default_supports_disable_randomization): Add 'self'
|
||
argument.
|
||
* remote.c (extended_remote_supports_disable_randomization): Add
|
||
'self' argument.
|
||
(remote_supports_disable_randomization): Add 'self' argument.
|
||
(extended_remote_create_inferior): Update.
|
||
* linux-nat.c (linux_nat_supports_disable_randomization): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops)
|
||
<to_supports_enable_disable_tracepoint>: Add argument.
|
||
(target_supports_enable_disable_tracepoint): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_supports_multi_process>: Add
|
||
argument.
|
||
(target_supports_multi_process): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_supports_multi_process): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_supports_multi_process): Add 'self'
|
||
argument.
|
||
* darwin-nat.c (darwin_supports_multi_process): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_execution_direction>: Add
|
||
argument.
|
||
(target_execution_direction): Add argument.
|
||
* target.c (default_execution_direction): Add 'self' argument.
|
||
* record-full.c (record_full_execution_direction): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_can_execute_reverse>: Add
|
||
argument.
|
||
(target_can_execute_reverse): Add argument.
|
||
* remote.c (remote_can_execute_reverse): Add 'self' argument.
|
||
* record-full.c (record_full_can_execute_reverse): Add 'self'
|
||
argument.
|
||
* record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_get_ada_task_ptid>: Add
|
||
argument.
|
||
(target_get_ada_task_ptid): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
(default_get_ada_task_ptid): Add 'self' argument.
|
||
* sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
|
||
* remote.c (remote_get_ada_task_ptid): Add 'self' argument.
|
||
* ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
|
||
argument.
|
||
* linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
|
||
argument.
|
||
* inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
|
||
argument.
|
||
* dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
|
||
argument.
|
||
* darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
|
||
* aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_goto_bookmark>: Add argument.
|
||
(target_goto_bookmark): Add argument.
|
||
* target.c (dummy_goto_bookmark): Add 'self' argument.
|
||
* record-full.c (record_full_goto_bookmark): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_get_bookmark>: Add argument.
|
||
(target_get_bookmark): Add argument.
|
||
* target.c (dummy_get_bookmark): Add 'self' argument.
|
||
* record-full.c (record_full_get_bookmark): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_make_corefile_notes>: Add
|
||
argument.
|
||
(target_make_corefile_notes): Add argument.
|
||
* target.c (dummy_make_corefile_notes): Add 'self' argument.
|
||
* procfs.c (procfs_make_note_section): Add 'self' argument.
|
||
(procfs_make_note_section): Add 'self' argument.
|
||
(procfs_make_note_section): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
|
||
argument.
|
||
* fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
|
||
* fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
|
||
* exec.c (exec_make_note_section): Add 'self' argument.
|
||
(exec_make_note_section): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_find_memory_regions>: Add
|
||
argument.
|
||
(target_find_memory_regions): Add argument.
|
||
* target.c (dummy_find_memory_regions): Add 'self' argument.
|
||
* procfs.c (proc_find_memory_regions): Add 'self' argument.
|
||
* gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
|
||
* fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
|
||
* fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
|
||
* exec. (exec_do_find_memory_regions): New global.
|
||
(exec_set_find_memory_regions): Rewrite.
|
||
(exec_find_memory_regions): New function.
|
||
(init_exec_ops): Use exec_find_memory_regions.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_supports_non_stop>: Add
|
||
argument.
|
||
* target.c (find_default_supports_non_stop): Add argument.
|
||
(target_supports_non_stop): Add argument.
|
||
(find_default_supports_non_stop): Add 'self' argument.
|
||
* remote.c (remote_supports_non_stop): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_log_command>: Add argument.
|
||
(target_log_command): Add argument.
|
||
* serial.h (serial_log_command): Add 'self' argument.
|
||
* serial.c (serial_log_command): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_pid_to_exec_file>: Add
|
||
argument.
|
||
(target_pid_to_exec_file): Add argument.
|
||
* target.c (debug_to_pid_to_exec_file): Add argument.
|
||
(update_current_target): Update.
|
||
* nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
|
||
* nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
|
||
* linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
|
||
(linux_handle_extended_wait): Update.
|
||
* inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
|
||
* fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
|
||
* fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
|
||
* darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_rcmd>: Add argument.
|
||
(target_rcmd): Add argument.
|
||
* target.c (debug_to_rcmd): Add argument.
|
||
(update_current_target, do_monitor_command): Update.
|
||
* remote.c (remote_rcmd): Add 'self' argument.
|
||
* monitor.c (monitor_rcmd): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_stop): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_stop>: Add argument.
|
||
* target.c (target_stop): Add argument.
|
||
(debug_to_stop): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_stop): Add 'self' argument.
|
||
* remote-sim.c (gdbsim_stop): Add 'self' argument.
|
||
(gdbsim_cntrl_c): Update.
|
||
* remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
|
||
* procfs.c (procfs_stop): Add 'self' argument.
|
||
* nto-procfs.c (procfs_stop): Add 'self' argument.
|
||
* monitor.c (monitor_stop): Add 'self' argument.
|
||
(monitor_open): Update.
|
||
* linux-nat.c (linux_nat_stop): Add argument.
|
||
* inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
|
||
* gnu-nat.c (gnu_stop): Add 'self' argument.
|
||
* darwin-nat.c (darwin_stop): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_thread_name>: Add argument.
|
||
* target.c (target_thread_name): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_nat_thread_name): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_extra_thread_info>: Add
|
||
argument.
|
||
(target_extra_thread_info): Add argument.
|
||
* target.c (update_current_target): Update.
|
||
* remote.c (remote_threads_extra_info): Add 'self' argument.
|
||
* ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
|
||
argument.
|
||
* nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
|
||
* nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
|
||
* linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
|
||
argument.
|
||
* inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
|
||
argument.
|
||
* bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
|
||
argument.
|
||
* aix-thread.c (aix_thread_extra_thread_info): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_program_signals>: Add argument.
|
||
* target.c (target_program_signals): Add argument.
|
||
* remote.c (remote_program_signals): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_pass_signals>: Add argument.
|
||
* target.c (target_pass_signals): Add argument.
|
||
* remote.c (remote_pass_signals): Add 'self' argument.
|
||
(remote_start_remote): Update.
|
||
* procfs.c (procfs_pass_signals): Add 'self' argument.
|
||
* nto-procfs.c (procfs_pass_signals): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
|
||
(linux_nat_create_inferior, linux_nat_attach): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_can_run): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_can_run>: Add argument.
|
||
(target_can_run): Add argument.
|
||
* target.c (debug_to_can_run): Add argument.
|
||
(update_current_target): Update.
|
||
* nto-procfs.c (procfs_can_run): Add 'self' argument.
|
||
* inf-child.c (inf_child_can_run): Add 'self' argument.
|
||
* go32-nat.c (go32_can_run): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_has_exited>: Add argument.
|
||
(target_has_exited): Add argument.
|
||
* target.c (debug_to_has_exited): Add argument.
|
||
(update_current_target): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
|
||
argument.
|
||
(target_set_syscall_catchpoint): Add argument.
|
||
* linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
|
||
argument.
|
||
* target.c (update_current_target): Update.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
|
||
argument.
|
||
(target_remove_exec_catchpoint): Add argument.
|
||
* target.c (debug_to_remove_exec_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
|
||
argument.
|
||
(target_insert_exec_catchpoint): Add argument.
|
||
* target.c (debug_to_insert_exec_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
|
||
argument.
|
||
(target_remove_vfork_catchpoint): Add argument.
|
||
* target.c (debug_to_remove_vfork_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
|
||
argument.
|
||
(target_insert_vfork_catchpoint): Add argument.
|
||
* target.c (debug_to_insert_vfork_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
|
||
argument.
|
||
(target_remove_fork_catchpoint): Add argument.
|
||
* target.c (debug_to_remove_fork_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
|
||
argument.
|
||
(target_insert_fork_catchpoint): Add argument.
|
||
* target.c (debug_to_insert_fork_catchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
|
||
argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_post_startup_inferior>: Add
|
||
argument.
|
||
(target_post_startup_inferior): Add argument.
|
||
* target.c (debug_to_post_startup_inferior): Add argument.
|
||
(update_current_target): Update.
|
||
* spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
|
||
argument.
|
||
* linux-nat.c (linux_child_post_startup_inferior): Add 'self'
|
||
argument.
|
||
* inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
|
||
argument.
|
||
* inf-child.c (inf_child_post_startup_inferior): Add 'self'
|
||
argument.
|
||
* i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
|
||
'self' argument.
|
||
(super_post_startup_inferior): Likewise.
|
||
* amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
|
||
'self' argument.
|
||
(super_post_startup_inferior): Likewise.
|
||
* aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
|
||
Add 'self' argument.
|
||
(super_post_startup_inferior): Likewise.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_load>: Add argument.
|
||
* target.c (target_load): Add argument.
|
||
(debug_to_load): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_load): Add 'self' argument.
|
||
* remote-sim.c (gdbsim_load): Add 'self' argument.
|
||
* remote-mips.c (mips_load): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_load): Add 'self' argument.
|
||
* monitor.c (monitor_load): Add 'self' argument.
|
||
* m32r-rom.c (m32r_load_gen): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_info>: Add argument.
|
||
(target_terminal_info): Add argument.
|
||
* target.c (debug_to_terminal_info): Add argument.
|
||
(default_terminal_info): Likewise.
|
||
* inflow.c (child_terminal_info): Add 'self' argument.
|
||
* inferior.h (child_terminal_info): Add 'self' argument.
|
||
* go32-nat.c (go32_terminal_info): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_save_ours>: Add
|
||
argument.
|
||
(target_terminal_save_ours): Add argument.
|
||
* target.c (debug_to_terminal_save_ours): Add argument.
|
||
(update_current_target): Update.
|
||
* inflow.c (terminal_save_ours): Add 'self' argument.
|
||
* inferior.h (terminal_save_ours): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_ours>: Add argument.
|
||
(target_terminal_ours): Add argument.
|
||
* target.c (debug_to_terminal_ours): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_terminal_ours): Add 'self' argument.
|
||
(remote_close): Update.
|
||
* linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
|
||
* inflow.c (terminal_ours): Add 'self' argument.
|
||
* inferior.h (terminal_ours): Add 'self' argument.
|
||
* go32-nat.c (go32_terminal_ours): Add 'self' argument.
|
||
|
||
2014-02-19 Pedro Alves <palves@redhat.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_ours_for_output>: Add
|
||
argument.
|
||
(target_terminal_ours_for_output): Add argument.
|
||
* target.c (debug_to_terminal_ours_for_output): Add argument.
|
||
(update_current_target): Update.
|
||
* inflow.c (terminal_ours_for_output): Add 'self' argument.
|
||
* inferior.h (terminal_ours_for_output): Add 'self' argument.
|
||
* go32-nat.c (go32_terminal_ours): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_inferior>: Add
|
||
argument.
|
||
* target.c (target_terminal_inferior): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_terminal_inferior): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
|
||
* inflow.c (terminal_inferior): Add 'self' argument.
|
||
* inferior.h (terminal_inferior): Add 'self' argument.
|
||
* go32-nat.c (go32_terminal_inferior): Add 'self' argument.
|
||
(go32_terminal_inferior): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_terminal_init>: Add argument.
|
||
(target_terminal_init): Add argument.
|
||
* target.c (debug_to_terminal_init): Add argument.
|
||
(update_current_target): Update.
|
||
* inflow.c (terminal_init_inferior): Add 'self' argument.
|
||
* inferior.h (terminal_init_inferior): Add 'self' argument.
|
||
* go32-nat.c (go32_terminal_init): Add 'self' argument.
|
||
* gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops)
|
||
<to_can_accel_watchpoint_condition>: Add argument.
|
||
(target_can_accel_watchpoint_condition): Add argument.
|
||
* target.c (debug_to_can_accel_watchpoint_condition): Add
|
||
argument.
|
||
(update_current_target): Update.
|
||
* ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
|
||
Add argument.
|
||
(target_region_ok_for_hw_watchpoint): Add argument.
|
||
* target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
|
||
(default_region_ok_for_hw_watchpoint): Add argument.
|
||
* spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
|
||
* s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
|
||
argument.
|
||
* remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
|
||
argument.
|
||
* procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
|
||
argument.
|
||
* ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
|
||
'self' argument.
|
||
* mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
|
||
'self' argument.
|
||
* inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
|
||
'self' argument.
|
||
* i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
|
||
'self' argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
|
||
Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insert_watchpoint>: Add
|
||
argument.
|
||
(target_insert_watchpoint): Add argument.
|
||
* target.c (debug_to_insert_watchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
|
||
* remote.c (remote_insert_watchpoint): Add 'self' argument.
|
||
* remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
|
||
* procfs.c (procfs_insert_watchpoint): Add 'self' argument.
|
||
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
|
||
argument.
|
||
* nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
|
||
(procfs_insert_hw_watchpoint): Add 'self' argument.
|
||
* mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
|
||
argument.
|
||
* inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
|
||
argument.
|
||
* ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
|
||
argument.
|
||
* i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
|
||
argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_remove_watchpoint>: Add
|
||
argument.
|
||
(target_remove_watchpoint): Add argument.
|
||
* target.c (debug_to_remove_watchpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
|
||
* remote.c (remote_remove_watchpoint): Add 'self' argument.
|
||
* remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
|
||
* procfs.c (procfs_remove_watchpoint): Add 'self' argument.
|
||
* ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
|
||
argument.
|
||
* nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
|
||
* mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
|
||
argument.
|
||
* inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
|
||
argument.
|
||
* ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
|
||
argument.
|
||
* i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
|
||
argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
|
||
argument.
|
||
(target_remove_hw_breakpoint): Add argument.
|
||
* target.c (debug_to_remove_hw_breakpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
|
||
* ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
|
||
argument.
|
||
(target_insert_hw_breakpoint): Add argument.
|
||
* target.c (debug_to_insert_hw_breakpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
|
||
* ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
|
||
* i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
|
||
argument.
|
||
(target_can_use_hardware_watchpoint): Add argument.
|
||
* target.c (debug_to_can_use_hw_breakpoint): Add argument.
|
||
(update_current_target): Update.
|
||
* spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* remote.c (remote_check_watch_resources): Add 'self' argument.
|
||
* remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
|
||
argument.
|
||
* procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
|
||
* ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
|
||
* arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
|
||
argument.
|
||
* aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
|
||
'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (struct target_ops) <to_post_attach>: Add argument.
|
||
(target_post_attach): Add argument.
|
||
* target.c (debug_to_post_attach): Add argument.
|
||
(update_current_target): Update.
|
||
* spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
|
||
* nto-procfs.c (procfs_post_attach): Add 'self' argument.
|
||
* linux-nat.c (linux_child_post_attach): Add 'self' argument.
|
||
* inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
|
||
* inf-child.c (inf_child_post_attach): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_close): Add 'self' argument.
|
||
* tracepoint.c (tfile_close): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_close>: Add argument.
|
||
* target.c (target_close): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_close): Add 'self' argument.
|
||
* remote-sim.c (gdbsim_close): Add 'self' argument.
|
||
* remote-mips.c (mips_close): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_close): Add 'self' argument.
|
||
* record-full.c (record_full_close): Add 'self' argument.
|
||
* record-btrace.c (record_btrace_close): Add 'self' argument.
|
||
* monitor.h (monitor_close): Add 'self' argument.
|
||
* monitor.c (monitor_close): Add 'self' argument.
|
||
* mips-linux-nat.c (mips_linux_close): Add 'self' argument.
|
||
* linux-nat.c (linux_nat_close): Add argument.
|
||
* go32-nat.c (go32_close): Add 'self' argument.
|
||
* exec.c (exec_close_1): Add 'self' argument.
|
||
* ctf.c (ctf_close): Add 'self' argument.
|
||
* corelow.c (core_close): Add 'self' argument.
|
||
(core_close_cleanup): Update.
|
||
* bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
|
||
* bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* remote.c (remote_load): New function.
|
||
(init_remote_ops): Use it.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/linux-btrace.c (linux_supports_btrace): Add "ops"
|
||
argument.
|
||
* common/linux-btrace.h (linux_supports_btrace): Update.
|
||
* remote.c (remote_supports_btrace): Add "self" argument.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (target_supports_btrace): Remove.
|
||
* target.h (struct target_ops) <to_supports_btrace>: Add
|
||
target_ops argument.
|
||
(target_supports_btrace): New define.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* record-full.c (record_full_beneath_to_resume_ops)
|
||
(record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
|
||
(record_full_beneath_to_wait)
|
||
(record_full_beneath_to_store_registers_ops)
|
||
(record_full_beneath_to_store_registers)
|
||
(record_full_beneath_to_xfer_partial_ops)
|
||
(record_full_beneath_to_xfer_partial)
|
||
(record_full_beneath_to_insert_breakpoint_ops)
|
||
(record_full_beneath_to_insert_breakpoint)
|
||
(record_full_beneath_to_remove_breakpoint_ops)
|
||
(record_full_beneath_to_remove_breakpoint)
|
||
(record_full_beneath_to_stopped_by_watchpoint)
|
||
(record_full_beneath_to_stopped_data_address)
|
||
(record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
|
||
(tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
|
||
(tmp_to_store_registers, tmp_to_xfer_partial_ops)
|
||
(tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
|
||
(tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
|
||
(tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
|
||
(tmp_to_stopped_data_address, tmp_to_async): Remove.
|
||
(record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
|
||
(record_full_resume, record_full_wait_1)
|
||
(record_full_stopped_by_watchpoint, record_full_stopped_data_address)
|
||
(record_full_store_registers, record_full_xfer_partial)
|
||
(record_full_insert_breakpoint, record_full_remove_breakpoint)
|
||
(record_full_async, record_full_core_xfer_partial): Use target
|
||
delegation.
|
||
* target-delegates.c: Rebuild.
|
||
* target.c (current_xfer_partial): Remove.
|
||
(update_current_target): Do not INHERIT or de_fault
|
||
to_insert_breakpoint, to_remove_breakpoint,
|
||
to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
|
||
to_is_async_p, to_async. Do not set to_xfer_partial field.
|
||
(default_xfer_partial): Simplify.
|
||
(current_xfer_partial): Remove.
|
||
(target_wait, target_resume): Simplify.
|
||
(find_default_can_async_p, find_default_is_async_p): Update.
|
||
(init_dummy_target): Don't set to_can_async_p, to_is_async_p,
|
||
to_xfer_partial, to_stopped_by_watchpoint,
|
||
to_stopped_data_address.
|
||
(target_store_registers): Simplify.
|
||
(forward_target_remove_breakpoint)
|
||
(forward_target_insert_breakpoint): Remove.
|
||
(target_remove_breakpoint, target_insert_breakpoint)
|
||
(debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
|
||
* target.h (struct target_ops) <to_resume, to_wait,
|
||
to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
|
||
to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
|
||
to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
|
||
markup.
|
||
(forward_target_remove_breakpoint)
|
||
(forward_target_insert_breakpoint): Remove.
|
||
* record-btrace.c (record_btrace_remove_breakpoint): Delegate
|
||
directly.
|
||
(record_btrace_insert_breakpoint): Delegate directly.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR build/7701:
|
||
* target-delegates.c: New file.
|
||
* target.c: Include target-delegates.c.
|
||
(init_dummy_target): Call install_dummy_methods.
|
||
(complete_target_initialization): Call install_delegators.
|
||
* target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
|
||
(TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
|
||
* make-target-delegates: New file.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* record.c (find_record_target): Use find_target_at.
|
||
* target.c (find_target_at): New function.
|
||
* target.h (find_target_at): Declare.
|
||
|
||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
|
||
Add 'ops' argument.
|
||
* arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
|
||
'ops' argument.
|
||
* i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
|
||
* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
|
||
'ops' argument.
|
||
* inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
|
||
argument.
|
||
* linux-nat.c (save_sigtrap): Update.
|
||
(linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
|
||
(linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
|
||
(linux_nat_close): Update.
|
||
* mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
|
||
argument.
|
||
* ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
|
||
argument.
|
||
* procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
|
||
* record-full.c (record_full_beneath_to_stopped_by_watchpoint)
|
||
(record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
|
||
(tmp_to_async): Add 'ops' argument.
|
||
(record_full_stopped_by_watchpoint, record_full_async)
|
||
(record_full_can_async_p, record_full_is_async_p): Add 'ops'
|
||
argument.
|
||
* remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
|
||
(m32r_stopped_by_watchpoint): Add 'ops' argument.
|
||
* remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
|
||
* remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
|
||
(remote_is_async_p, remote_async): Add 'ops' argument.
|
||
(remote_stopped_data_address): Update.
|
||
* s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
|
||
* target.c (update_current_target)
|
||
(find_default_can_async_p, find_default_is_async_p): Update.
|
||
(init_dummy_target): Update.
|
||
(debug_to_stopped_by_watchpoint): Add 'ops' argument.
|
||
* target.h (struct target_ops) <to_stopped_by_watchpoint,
|
||
to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
|
||
(target_can_async_p, target_is_async_p, target_async)
|
||
(target_stopped_by_watchpoint): Update.
|
||
|
||
2014-02-19 Yao Qi <yao@codesourcery.com>
|
||
|
||
PR gdb/16220
|
||
* gdbarch.sh: Remove startup_gdbarch.
|
||
* gdbarch.c: Regenerated.
|
||
* gdbarch.h: Likewise.
|
||
|
||
2014-02-17 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* rl78-tdep.c (rl78_g10_register_name): New function.
|
||
(rl78_return_value): Add g10 support.
|
||
(rl78_gdbarch_init): Register rl78_g10_register_name for the
|
||
g10.
|
||
|
||
2014-02-17 Doug Evans <xdje42@gmail.com>
|
||
|
||
* Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
|
||
(SUBDIR_GUILE_SRCS): Ditto.
|
||
(scm-gsmob.o): Ditto.
|
||
|
||
2014-02-17 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (ILL_RPC): Declare defined function.
|
||
|
||
2014-02-17 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
|
||
mach_msg_type_number_t.
|
||
(gnu_write_inferior): Likewise.
|
||
|
||
2014-02-17 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
|
||
in format string.
|
||
(proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
|
||
(inf_validate_procs, inf_signal): Likewise.
|
||
(S_exception_raise_request): Likewise.
|
||
(do_mach_notify_dead_name): Likewise.
|
||
(steal_exc_port): Likewise.
|
||
(gnu_read_inferior): Change 'copy_count''s type to
|
||
mach_msg_type_number_t.
|
||
(gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
|
||
format string.
|
||
|
||
2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
|
||
|
||
* gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
|
||
flag. Adjust all users; in particular...
|
||
(gnu_wait): ..., don't decrement its value in here...
|
||
(gnu_create_inferior): ..., and instead set the flag in here,
|
||
around the startup_inferior call, and call that one with
|
||
START_INFERIOR_TRAPS_EXPECTED.
|
||
|
||
* gnu-nat.c (ill_rpc): Remove function; replaced with this...
|
||
(ILL_RPC): ... new macro.
|
||
(do_mach_notify_no_senders, do_mach_notify_port_deleted)
|
||
(do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
|
||
(do_mach_notify_send_once, S_proc_setmsgport_reply)
|
||
(S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
|
||
functions with ILL_RPC macro.
|
||
(S_proc_pid2task_reply, S_proc_task2pid_reply)
|
||
(S_proc_task2proc_reply, S_proc_proc2task_reply)
|
||
(S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
|
||
(S_proc_getprocargs_reply, S_proc_getprocenv_reply)
|
||
(S_proc_getloginid_reply, S_proc_getloginpids_reply)
|
||
(S_proc_getlogin_reply, S_proc_getsid_reply)
|
||
(S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
|
||
(S_proc_getsidport_reply, S_proc_getpgrp_reply)
|
||
(S_proc_getpgrppids_reply, S_proc_get_tty_reply)
|
||
(S_proc_getnports_reply, S_proc_is_important_reply)
|
||
(S_proc_get_code_reply): New stub functions, generated with
|
||
ILL_RPC macro.
|
||
|
||
* reply_mig_hack.awk: In phase 5, keep going if we have not yet
|
||
collected the type check structures.
|
||
|
||
* reply_mig_hack.awk: Don't expect to see the auto keyword.
|
||
|
||
2014-02-14 Doug Evans <dje@google.com>
|
||
|
||
* target.c (target_write_partial): Fix result type.
|
||
|
||
2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
|
||
|
||
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
|
||
the proper offsets to access fpregset_t.
|
||
|
||
2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* cris-tdep.c (cris_supply_gregset): Remove zerobuf.
|
||
(_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
|
||
* h8300-tdep.c (setmachinelist): Remove global.
|
||
* hppa-tdep.c (hppa_sigtramp): Remove global.
|
||
* mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
|
||
RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
|
||
* ravenscar-thread.c (update_target_observer): Remove global.
|
||
* rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.c: Update comments.
|
||
* common/rsp-low.h: Update comments.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.c (convert_ascii_to_int): Remove.
|
||
* common/rsp-low.h (convert_ascii_to_int): Don't declare.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.h (unhexify): Don't declare.
|
||
* common/rsp-low.c (unhexify): Remove.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.h (convert_int_to_ascii): Don't declare.
|
||
* common/rsp-low.c (convert_int_to_ascii): Remove.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.h (hexify): Don't declare.
|
||
* common/rsp-low.c (hexify): Remove.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.c (hexify): Never take strlen of argument.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* common/rsp-low.c (bin2hex): Never take strlen of argument.
|
||
* remote.c (extended_remote_run, remote_rcmd)
|
||
(remote_download_trace_state_variable, remote_save_trace_data)
|
||
(remote_set_trace_notes): Update.
|
||
* tracepoint.c (encode_source_string, tfile_write_status)
|
||
(tfile_write_uploaded_tsv): Update.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* tracepoint.c: Include rsp-low.h.
|
||
* remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
|
||
* remote.c: Include rsp-low.h.
|
||
(hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
|
||
(fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
|
||
(remote_unescape_input): Move to common/rsp-low.c.
|
||
* common/rsp-low.h: New file.
|
||
* common/rsp-low.c: New file.
|
||
* Makefile.in (SFILES): Add common/rsp-low.c.
|
||
(HFILES_NO_SRCDIR): Add common/rsp-low.h.
|
||
(COMMON_OBS): Add rsp-low.o.
|
||
(rsp-low.o): New target.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* utils.h: Include print-utils.h.
|
||
(host_address_to_string, plongest, pulongest, phex, phex_nz)
|
||
(int_string, core_addr_to_string, core_addr_to_string_nz)
|
||
(hex_string, hex_string_custom): Don't declare.
|
||
* utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
|
||
(plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
|
||
(hex_string_custom, int_string, core_addr_to_string)
|
||
(core_addr_to_string_nz, host_address_to_string): Move to
|
||
common/print-utils.c.
|
||
* common/print-utils.h: New file.
|
||
* common/print-utils.c: New file
|
||
* Makefile.in (SFILES): Add common/print-utils.c.
|
||
(HFILES_NO_SRCDIR): Add common/print-utils.h.
|
||
(COMMON_OBS): Add print-utils.o.
|
||
(print-utils.o): New target.
|
||
|
||
2014-02-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* nios2-tdep.c (nios2_stub_frame_base_address): Remove.
|
||
|
||
2014-02-12 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
|
||
|
||
2014-02-12 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
|
||
if a PT_IO ptrace request returns sucessfully but indicates that 0
|
||
bytes were transferred.
|
||
|
||
2014-02-12 Pedro Alves <palves@redhat.com>
|
||
Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
|
||
TYPE_INSTANCE_FLAG_CODE_SPACE.
|
||
|
||
2014-02-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* h8300-tdep.c (pseudo_from_raw_register)
|
||
(raw_from_pseudo_register): New functions.
|
||
(h8300_pseudo_register_read, h8300_pseudo_register_write): Use
|
||
them.
|
||
|
||
2014-02-12 Pedro Alves <palves@redhat.com>
|
||
|
||
* h8300-tdep.c (h8300_register_sim_regno): New function.
|
||
(h8300_gdbarch_init): Install h8300_register_sim_regno as
|
||
gdbarch_register_sim_regno hook.
|
||
|
||
2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* nios2-tdep.c (nios2_stub_frame_base): Remove global.
|
||
|
||
2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
|
||
|
||
* tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
|
||
|
||
2014-02-12 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* obsd-tdep.h (obsd_init_abi): New prototype.
|
||
* obsd-tdep.c: Define enum with OpenBSD signal numbers.
|
||
(obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
|
||
(obsd_init_abi): New functions.
|
||
* i386obsd-tdep.c: Include "obsd-tdep.h".
|
||
(i386obsd_init_abi): Call obsd_init_abi.
|
||
* amd64obsd-tdep.c: Include "obsd-tdep.h".
|
||
(amd64obsd_init_abi): Call obsd_init_abi.
|
||
* configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
|
||
obsd-tdep.c to gdb_target_obs.
|
||
|
||
2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
|
||
|
||
* sparc64-tdep.c (sparc64_store_arguments): Do not align complex
|
||
double float arguments to 16-byte in the argument slots.
|
||
|
||
2014-02-11 Doug Evans <xdje42@gmail.com>
|
||
|
||
* configure.ac: Don't crash if pkg-config is not found and guile
|
||
wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
|
||
in guile checks.
|
||
* configure: Regenerate.
|
||
|
||
2014-02-11 Yao Qi <yao@codesourcery.com>
|
||
|
||
* aix-thread.c (aix_thread_xfer_partial): Update comments.
|
||
* auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
|
||
* bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
|
||
* gnu-nat.c (gnu_xfer_memory): Likewise.
|
||
* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
|
||
* rs6000-nat.c (rs6000_xfer_partial): Likewise.
|
||
* sparc-nat.c (sparc_xfer_wcookie): Likewise.
|
||
* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
|
||
|
||
2014-02-11 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.h (enum target_xfer_error): Rename to ...
|
||
(enum target_xfer_status): ... it. New. All users updated.
|
||
(enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
|
||
New.
|
||
(TARGET_XFER_STATUS_ERROR_P): New macro.
|
||
(target_xfer_error_to_string): Remove declaration.
|
||
(target_xfer_status_to_string): Declare.
|
||
(target_xfer_partial_ftype): Adjust it.
|
||
(struct target_ops) <to_xfer_partial>: Return
|
||
target_xfer_status. Add argument xfered_len. Update
|
||
comments.
|
||
* target.c (target_xfer_error_to_string): Rename to ...
|
||
(target_xfer_status_to_string): ... it. New. All callers
|
||
updated.
|
||
(target_read_live_memory): Likewise. Call target_xfer_partial
|
||
instead of target_read.
|
||
(memory_xfer_live_readonly_partial): Return
|
||
target_xfer_status. Add argument xfered_len.
|
||
(raw_memory_xfer_partial): Likewise.
|
||
(memory_xfer_partial_1): Likewise.
|
||
(memory_xfer_partial): Likewise.
|
||
(target_xfer_partial): Likewise. Check *XFERED_LEN is set
|
||
properly. Update debug message.
|
||
(default_xfer_partial, current_xfer_partial): Likewise.
|
||
(target_write_partial): Likewise.
|
||
(target_read_partial): Likewise. All callers updated.
|
||
(read_whatever_is_readable): Likewise.
|
||
(target_write_with_progress): Likewise.
|
||
(target_read_alloc_1): Likewise.
|
||
|
||
* aix-thread.c (aix_thread_xfer_partial): Likewise.
|
||
* auxv.c (procfs_xfer_auxv): Likewise.
|
||
(ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
|
||
* bfd-target.c (target_bfd_xfer_partial): Likewise.
|
||
* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
|
||
* bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
|
||
* corefile.c (read_memory): Adjust.
|
||
* corelow.c (core_xfer_partial): Likewise.
|
||
* ctf.c (ctf_xfer_partial): Likewise.
|
||
* darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
|
||
updated.
|
||
(darwin_xfer_partial): Likewise.
|
||
* exec.c (section_table_xfer_memory_partial): Likewise. All
|
||
callers updated.
|
||
(exec_xfer_partial): Likewise.
|
||
* exec.h (section_table_xfer_memory_partial): Update
|
||
declaration.
|
||
* gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
|
||
negative.
|
||
(gnu_xfer_partial): Likewise.
|
||
* ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
|
||
(ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
|
||
(ia64_hpux_xfer_solib_got): Likewise.
|
||
* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
|
||
type of 'partial_len' to ULONGEST.
|
||
* inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
|
||
* linux-nat.c (linux_xfer_siginfo ): Likewise.
|
||
(linux_nat_xfer_partial): Likewise.
|
||
(linux_proc_xfer_partial, linux_xfer_partial): Likewise.
|
||
(linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
|
||
* monitor.c (monitor_xfer_memory): Likewise.
|
||
(monitor_xfer_partial): Likewise.
|
||
* procfs.c (procfs_xfer_partial): Likewise.
|
||
* record-btrace.c (record_btrace_xfer_partial): Likewise.
|
||
* record-full.c (record_full_xfer_partial): Likewise.
|
||
(record_full_core_xfer_partial): Likewise.
|
||
* remote-sim.c (gdbsim_xfer_memory): Likewise.
|
||
(gdbsim_xfer_partial): Likewise.
|
||
* remote.c (remote_write_bytes_aux): Likewise. All callers
|
||
updated.
|
||
(remote_write_bytes, remote_read_bytes): Likewise. All
|
||
callers updated.
|
||
(remote_flash_erase): Likewise. All callers updated.
|
||
(remote_write_qxfer): Likewise. All callers updated.
|
||
(remote_read_qxfer): Likewise. All callers updated.
|
||
(remote_xfer_partial): Likewise.
|
||
* rs6000-nat.c (rs6000_xfer_partial): Likewise.
|
||
(rs6000_xfer_shared_libraries): Likewise.
|
||
* sol-thread.c (sol_thread_xfer_partial): Likewise.
|
||
(sol_thread_xfer_partial): Likewise.
|
||
* sparc-nat.c (sparc_xfer_wcookie): Likewise.
|
||
(sparc_xfer_partial): Likewise.
|
||
* spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
|
||
updated.
|
||
(spu_xfer_partial): Likewise.
|
||
* spu-multiarch.c (spu_xfer_partial): Likewise.
|
||
* tracepoint.c (tfile_xfer_partial): Likewise.
|
||
* windows-nat.c (windows_xfer_memory): Likewise.
|
||
(windows_xfer_shared_libraries): Likewise.
|
||
(windows_xfer_partial): Likewise.
|
||
* valprint.c: Replace 'target_xfer_error' with
|
||
'target_xfer_status' in comments.
|
||
|
||
2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
|
||
|
||
Checked in by Joel Brobecker <brobecker@adacore.com>.
|
||
* mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
|
||
|
||
2014-02-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
|
||
function parameters.
|
||
|
||
2014-02-10 Will Newton <will.newton@linaro.org>
|
||
|
||
* elfread.c (elf_rel_plt_read): Look for a .got section if
|
||
looking up .got.plt fails.
|
||
(elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
|
||
on address passed to elf_gnu_ifunc_record_cache.
|
||
(elf_gnu_ifunc_resolve_addr): Likewise.
|
||
(elf_gnu_ifunc_resolver_return_stop): Likewise.
|
||
|
||
2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
|
||
|
||
* sparc-tdep.c (sparc_in_function_epilogue_p): New function.
|
||
(X_RETTURN): New macro.
|
||
* sparc-tdep.h: sparc_in_function_epilogue_p prototype.
|
||
|
||
* sparc64-tdep.c (sparc64_init_abi): Hook
|
||
sparc_in_function_epilogue_p.
|
||
|
||
2014-02-10 Gary Benson <gbenson@redhat.com>
|
||
|
||
* symfile-debug.c (debug_qf_expand_symtabs_matching):
|
||
Rename name_matcher to symbol_matcher.
|
||
|
||
2014-02-10 Gary Benson <gbenson@redhat.com>
|
||
|
||
* symfile-debug.c (debug_qf_expand_symtabs_matching):
|
||
Use expand_symtabs_file_matcher_ftype and
|
||
expand_symtabs_symbol_matcher_ftype.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
|
||
(struct ada_symbol_cache): New.
|
||
(ada_free_symbol_cache): Forward declare.
|
||
(struct ada_pspace_data): New.
|
||
(ada_pspace_data_handle): New static global.
|
||
(get_ada_pspace_data, ada_pspace_data_cleanup)
|
||
(ada_init_symbol_cache, ada_free_symbol_cache): New functions.
|
||
(cache_space, cache): Delete, now folded inside struct
|
||
ada_pspace_data.
|
||
(ada_get_symbol_cache): New function.
|
||
(ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
|
||
implementation.
|
||
(_initialize_ada_language): Remove initialization of cache_space.
|
||
Move call to observer_attach_inferior_exit up, grouping it
|
||
with the other observer registrations inside this function.
|
||
Rename command to be more general. Add call to
|
||
register_program_space_data_with_cleanup.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-tasks.c (ada_tasks_new_objfile_observer): Renames
|
||
ada_new_objfile_observer.
|
||
(ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
|
||
(_initialize_tasks): Update uses of ada_new_objfile_observer
|
||
and ada_tasks_normal_stop_observer.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp): Set the type of the value
|
||
returned by the 'Length attribute to integer.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (_initialize_ada_language): Initialize
|
||
cache_space obstack.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (HASH_SIZE): New macro.
|
||
(struct cache_entry): New type.
|
||
(cache_space, cache): New static globals.
|
||
(ada_clear_symbol_cache, find_entry): New functions.
|
||
(lookup_cached_symbol, cache_symbol): Implement.
|
||
(ada_new_objfile_observer, ada_free_objfile_observer): New.
|
||
(_initialize_ada_language): Attach ada_new_objfile_observer
|
||
and ada_free_objfile_observer.
|
||
|
||
2014-02-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
|
||
(lookup_cached_symbol, ada_add_local_symbols): Add "const" to
|
||
struct block * parameter.
|
||
(ada_lookup_symbol_list_worker): Constify local variable "block".
|
||
Remove cast which is no longer necessary.
|
||
|
||
2014-02-10 Doug Evans <xdje42@gmail.com>
|
||
|
||
Add Guile as an extension language.
|
||
* NEWS: Mention Guile scripting.
|
||
* Makefile.in (SUBDIR_GUILE_OBS): New variable.
|
||
(SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
|
||
(SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
|
||
(INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
|
||
(CLIBS): Add GUILE_LIBS.
|
||
(install-guile): New rule.
|
||
(guile.o): New rule.
|
||
(scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
|
||
(scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
|
||
(scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
|
||
(scm-math.o, scm-objfile.o, scm-ports.o): New rules.
|
||
(scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
|
||
(scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
|
||
(scm-type.o, scm-utils.o, scm-value.o): New rules.
|
||
* configure.ac: New option --with-guile.
|
||
* configure: Regenerate.
|
||
* config.in: Regenerate.
|
||
* auto-load.c: Remove #include "python/python.h". Add #include
|
||
"gdb/section-scripts.h".
|
||
(source_section_scripts): Handle Guile scripts.
|
||
(_initialize_auto_load): Add name of Guile objfile script to
|
||
scripts-directory help text.
|
||
* breakpoint.c (condition_command): Tweak comment to include Scheme.
|
||
* breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
|
||
(struct breakpoint): New member scm_bp_object.
|
||
* defs.h (enum command_control_type): New value guile_control.
|
||
* cli/cli-cmds.c: Remove #include "python/python.h". Add #include
|
||
"extension.h".
|
||
(show_user): Update comment.
|
||
(_initialize_cli_cmds): Update help text for "show user". Update help
|
||
text for max-user-call-depth.
|
||
* cli/cli-script.c: Remove #include "python/python.h". Add #include
|
||
"extension.h".
|
||
(multi_line_command_p): Add guile_control.
|
||
(print_command_lines): Handle guile_control.
|
||
(execute_control_command, recurse_read_control_structure): Ditto.
|
||
(process_next_line): Recognize "guile" commands.
|
||
* disasm.c (gdb_disassemble_info): Make non-static.
|
||
* disasm.h: #include "dis-asm.h".
|
||
(struct gdbarch): Add forward decl.
|
||
(gdb_disassemble_info): Declare.
|
||
* extension.c: #include "guile/guile.h".
|
||
(extension_languages): Add guile.
|
||
(get_ext_lang_defn): Handle EXT_LANG_GDB.
|
||
* extension.h (enum extension_language): New value EXT_LANG_GUILE.
|
||
* gdbtypes.c (get_unsigned_type_max): New function.
|
||
(get_signed_type_minmax): New function.
|
||
* gdbtypes.h (get_unsigned_type_max): Declare.
|
||
(get_signed_type_minmax): Declare.
|
||
* guile/README: New file.
|
||
* guile/guile-internal.h: New file.
|
||
* guile/guile.c: New file.
|
||
* guile/guile.h: New file.
|
||
* guile/scm-arch.c: New file.
|
||
* guile/scm-auto-load.c: New file.
|
||
* guile/scm-block.c: New file.
|
||
* guile/scm-breakpoint.c: New file.
|
||
* guile/scm-disasm.c: New file.
|
||
* guile/scm-exception.c: New file.
|
||
* guile/scm-frame.c: New file.
|
||
* guile/scm-gsmob.c: New file.
|
||
* guile/scm-iterator.c: New file.
|
||
* guile/scm-lazy-string.c: New file.
|
||
* guile/scm-math.c: New file.
|
||
* guile/scm-objfile.c: New file.
|
||
* guile/scm-ports.c: New file.
|
||
* guile/scm-pretty-print.c: New file.
|
||
* guile/scm-safe-call.c: New file.
|
||
* guile/scm-string.c: New file.
|
||
* guile/scm-symbol.c: New file.
|
||
* guile/scm-symtab.c: New file.
|
||
* guile/scm-type.c: New file.
|
||
* guile/scm-utils.c: New file.
|
||
* guile/scm-value.c: New file.
|
||
* guile/lib/gdb.scm: New file.
|
||
* guile/lib/gdb/boot.scm: New file.
|
||
* guile/lib/gdb/experimental.scm: New file.
|
||
* guile/lib/gdb/init.scm: New file.
|
||
* guile/lib/gdb/iterator.scm: New file.
|
||
* guile/lib/gdb/printing.scm: New file.
|
||
* guile/lib/gdb/types.scm: New file.
|
||
* data-directory/Makefile.in (GUILE_SRCDIR): New variable.
|
||
(VPATH): Add $(GUILE_SRCDIR).
|
||
(GUILE_DIR): New variable.
|
||
(GUILE_INSTALL_DIR, GUILE_FILES): New variables.
|
||
(all): Add stamp-guile dependency.
|
||
(stamp-guile): New rule.
|
||
(clean-guile, install-guile, uninstall-guile): New rules.
|
||
(install-only): Add install-guile dependency.
|
||
(uninstall): Add uninstall-guile dependency.
|
||
(clean): Add clean-guile dependency.
|
||
|
||
2014-02-09 Doug Evans <xdje42@gmail.com>
|
||
|
||
Revert this patch (which I approved, mea culpa).
|
||
|
||
2014-02-08 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* Makefile.in (all-lib): Remove.
|
||
($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
|
||
|
||
2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix Python stack corruption.
|
||
* python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
|
||
gdb_py_longest.
|
||
|
||
2014-02-08 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* Makefile.in (all-lib): Remove.
|
||
($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
|
||
|
||
2014-02-07 Doug Evans <dje@google.com>
|
||
|
||
* extension-priv.h (extension_language_script_ops): Add comment.
|
||
(extension_language_ops): Add comment.
|
||
(active_ext_lang_state): Fix typo in comment.
|
||
|
||
2014-02-07 Pedro Alves <palves@redhat.com>
|
||
|
||
PR breakpoints/16292
|
||
* infrun.c (handle_signal_stop) <signal arrives while stepping
|
||
over a breakpoint>: Switch back to the stepping thread.
|
||
|
||
2014-02-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.c (target_xfer_partial): Return zero if LEN is zero.
|
||
|
||
2014-02-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
|
||
(ld_so_xfer_auxv): Likewise.
|
||
* bfd-target.c (target_bfd_xfer_partial): Likewise.
|
||
* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
|
||
* corelow.c (core_xfer_partial): Likewise.
|
||
* ctf.c (ctf_xfer_partial): Likewise.
|
||
* darwin-nat.c (darwin_read_dyld_info): Likewise.
|
||
(darwin_xfer_partial): Likewise.
|
||
* exec.c (exec_xfer_partial): Likewise.
|
||
* gnu-nat.c (gnu_xfer_partial): Likewise.
|
||
* ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
|
||
* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
|
||
* inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
|
||
* linux-nat.c (linux_xfer_siginfo): Likewise.
|
||
(linux_proc_xfer_spu): Likewise.
|
||
* procfs.c (procfs_xfer_partial): Likewise.
|
||
* record-full.c (record_full_xfer_partial): Likewise.
|
||
(record_full_core_xfer_partial): Likewise.
|
||
* remote-sim.c (gdbsim_xfer_partial): Likewise.
|
||
* remote.c (remote_write_qxfer): Likewise.
|
||
(remote_write_qxfer, remote_read_qxfer): Likewise.
|
||
(remote_xfer_partial): Likewise.
|
||
* rs6000-nat.c (rs6000_xfer_partial): Likewise.
|
||
(rs6000_xfer_shared_libraries): Likewise.
|
||
* sparc-nat.c (sparc_xfer_wcookie): Likewise.
|
||
* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
|
||
(spu_xfer_partial): Likewise.
|
||
* target.c (memory_xfer_partial_1): Likewise.
|
||
* tracepoint.c (tfile_xfer_partial): Likewise.
|
||
* windows-nat.c (windows_xfer_shared_libraries): Likewise.
|
||
(windows_xfer_partial): Likewise.
|
||
|
||
2014-02-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
|
||
comments.
|
||
(core_xfer_shared_libraries_aix): Likewise.
|
||
* gdbarch.c, gdbarch.h: Regenerated.
|
||
* i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
|
||
ULONGEST. Change 'len_avail' type to ULONGEST.
|
||
* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
|
||
* rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
|
||
declaration.
|
||
(rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
|
||
|
||
2014-02-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* corefile.c (memory_error): Get 'exception' from ERR and pass
|
||
'exception' to throw_error.
|
||
|
||
2014-02-06 Doug Evans <xdje42@gmail.com>
|
||
|
||
* configure.ac (libpython checking): Remove all but python.o from
|
||
CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
|
||
* configure: Regenerate.
|
||
|
||
* Makefile.in (SFILES): Add extension.c.
|
||
(HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
|
||
(COMMON_OBS): Add extension.o.
|
||
* extension.h: New file.
|
||
* extension-priv.h: New file.
|
||
* extension.c: New file.
|
||
|
||
* python/python-internal.h: #include "extension.h".
|
||
(gdbpy_auto_load_enabled): Declare.
|
||
(gdbpy_apply_val_pretty_printer): Declare.
|
||
(gdbpy_apply_frame_filter): Declare.
|
||
(gdbpy_preserve_values): Declare.
|
||
(gdbpy_breakpoint_cond_says_stop): Declare.
|
||
(gdbpy_breakpoint_has_cond): Declare.
|
||
(void source_python_script_for_objfile): Delete.
|
||
* python/python.c: #include "extension-priv.h".
|
||
Delete inclusion of "observer.h".
|
||
(extension_language_python): Moved here and renamed from
|
||
script_language_python in py-auto-load.c.
|
||
Redefined to be of type extension_language_defn.
|
||
(python_extension_script_ops): New global.
|
||
(python_extension_ops): New global.
|
||
(struct python_env): New member previous_active.
|
||
(restore_python_env): Call restore_active_ext_lang.
|
||
(ensure_python_env): Call set_active_ext_lang.
|
||
(gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
|
||
New arg extlang.
|
||
(gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
|
||
New arg extlang.
|
||
(gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
|
||
New arg extlang.
|
||
(gdbpy_eval_from_control_command): Renamed from
|
||
eval_python_from_control_command, made static. New arg extlang.
|
||
(gdbpy_source_script) Renamed from source_python_script, made static.
|
||
New arg extlang.
|
||
(gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
|
||
result to int. New arg extlang.
|
||
(gdbpy_source_objfile_script): Renamed from
|
||
source_python_script_for_objfile, made static. New arg extlang.
|
||
(gdbpy_start_type_printers): Renamed from start_type_printers, made
|
||
static. New args extlang, extlang_printers. Change result type to
|
||
"void".
|
||
(gdbpy_apply_type_printers): Renamed from apply_type_printers, made
|
||
static. New arg extlang. Rename arg printers to extlang_printers
|
||
and change type to ext_lang_type_printers *.
|
||
(gdbpy_free_type_printers): Renamed from free_type_printers, made
|
||
static. Replace argument arg with extlang, extlang_printers.
|
||
(!HAVE_PYTHON, eval_python_from_control_command): Delete.
|
||
(!HAVE_PYTHON, source_python_script): Delete.
|
||
(!HAVE_PYTHON, gdbpy_should_stop): Delete.
|
||
(!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
|
||
(!HAVE_PYTHON, start_type_printers): Delete.
|
||
(!HAVE_PYTHON, apply_type_printers): Delete.
|
||
(!HAVE_PYTHON, free_type_printers): Delete.
|
||
(_initialize_python): Delete call to observer_attach_before_prompt.
|
||
(finalize_python): Set/restore active extension language.
|
||
(gdbpy_finish_initialization) Renamed from
|
||
finish_python_initialization, made static. New arg extlang.
|
||
(gdbpy_initialized): New function.
|
||
* python/python.h: #include "extension.h". Delete #include
|
||
"value.h", "mi/mi-cmds.h".
|
||
(extension_language_python): Declare.
|
||
(GDBPY_AUTO_FILE_NAME): Delete.
|
||
(enum py_bt_status): Moved to extension.h and renamed to
|
||
ext_lang_bt_status.
|
||
(enum frame_filter_flags): Moved to extension.h.
|
||
(enum py_frame_args): Moved to extension.h and renamed to
|
||
ext_lang_frame_args.
|
||
(finish_python_initialization): Delete.
|
||
(eval_python_from_control_command): Delete.
|
||
(source_python_script): Delete.
|
||
(apply_val_pretty_printer): Delete.
|
||
(apply_frame_filter): Delete.
|
||
(preserve_python_values): Delete.
|
||
(gdbpy_script_language_defn): Delete.
|
||
(gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
|
||
(start_type_printers, apply_type_printers, free_type_printers): Delete.
|
||
|
||
* auto-load.c: #include "extension.h".
|
||
(GDB_AUTO_FILE_NAME): Delete.
|
||
(auto_load_gdb_scripts_enabled): Make public. New arg extlang.
|
||
(script_language_gdb): Delete, moved to extension.c and renamed to
|
||
extension_language_gdb.
|
||
(source_gdb_script_for_objfile): Delete.
|
||
(auto_load_pspace_info): New member unsupported_script_warning_printed.
|
||
(loaded_script): Change type of language member to
|
||
struct extension_language_defn *.
|
||
(init_loaded_scripts_info): Initialize
|
||
unsupported_script_warning_printed.
|
||
(maybe_add_script): Make static. Change type of language arg to
|
||
struct extension_language_defn *.
|
||
(clear_section_scripts): Reset unsupported_script_warning_printed.
|
||
(auto_load_objfile_script_1): Rewrite to use extension language API.
|
||
(auto_load_objfile_script): Make public. Remove support-compiled-in
|
||
and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
|
||
(source_section_scripts): Rewrite to use extension language API.
|
||
(load_auto_scripts_for_objfile): Rewrite to use
|
||
auto_load_scripts_for_objfile.
|
||
(collect_matching_scripts_data): Change type of language member to
|
||
struct extension_language_defn *.
|
||
(auto_load_info_scripts): Change type of language arg to
|
||
struct extension_language_defn *.
|
||
(unsupported_script_warning_print): New function.
|
||
(script_not_found_warning_print): Make static.
|
||
(_initialize_auto_load): Rewrite construction of scripts-directory
|
||
help.
|
||
* auto-load.h (struct objfile): Add forward decl.
|
||
(struct script_language): Delete.
|
||
(struct auto_load_pspace_info): Add forward decl.
|
||
(struct extension_language_defn): Add forward decl.
|
||
(maybe_add_script): Delete.
|
||
(auto_load_objfile_script): Declare.
|
||
(script_not_found_warning_print): Delete.
|
||
(auto_load_info_scripts): Update prototype.
|
||
(auto_load_gdb_scripts_enabled): Declare.
|
||
* python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
|
||
auto_load_python_scripts_enabled and made public.
|
||
(script_language_python): Delete, moved to python.c.
|
||
(gdbpy_script_language_defn): Delete.
|
||
(info_auto_load_python_scripts): Update to use
|
||
extension_language_python.
|
||
|
||
* breakpoint.c (condition_command): Replace call to
|
||
gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
|
||
(bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
|
||
with call to breakpoint_ext_lang_cond_says_stop.
|
||
* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
|
||
from gdbpy_should_stop. Change result type to enum scr_bp_stop.
|
||
New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
|
||
(gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
|
||
New arg slang.
|
||
(local_setattro): Print name of extension language with existing
|
||
stop condition.
|
||
|
||
* valprint.c (val_print, value_print): Update to call
|
||
apply_ext_lang_val_pretty_printer.
|
||
* cp-valprint.c (cp_print_value): Update call to
|
||
apply_ext_lang_val_pretty_printer.
|
||
* python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
|
||
(gdbpy_apply_val_pretty_printer): Renamed from
|
||
apply_val_pretty_printer. New arg extlang.
|
||
(!HAVE_PYTHON, apply_val_pretty_printer): Delete.
|
||
|
||
* cli/cli-cmds.c (source_script_from_stream): Rewrite to use
|
||
extension language API.
|
||
* cli/cli-script.c (execute_control_command): Update to call
|
||
eval_ext_lang_from_control_command.
|
||
|
||
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
|
||
enum ext_lang_bt_status values. Update call to
|
||
apply_ext_lang_frame_filter.
|
||
(mi_cmd_stack_list_locals): Ditto.
|
||
(mi_cmd_stack_list_args): Ditto.
|
||
(mi_cmd_stack_list_variables): Ditto.
|
||
* mi/mi-main.c: Delete #include "python/python-internal.h".
|
||
Add #include "extension.h".
|
||
(mi_cmd_list_features): Replace reference to python internal variable
|
||
gdb_python_initialized with call to ext_lang_initialized_p.
|
||
|
||
* stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
|
||
Update to use enum ext_lang_frame_args. Update to call
|
||
apply_ext_lang_frame_filter.
|
||
* python/py-framefilter.c (extract_sym): Update to use enum
|
||
ext_lang_bt_status.
|
||
(extract_value, py_print_type, py_print_value): Ditto.
|
||
(py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
|
||
(py_mi_print_variables, py_print_locals, py_print_args): Ditto.
|
||
(py_print_frame): Ditto.
|
||
(gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
|
||
New arg extlang. Update to use enum ext_lang_bt_status.
|
||
|
||
* top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
|
||
finish_python_initialization. Replace with call to
|
||
finish_ext_lang_initialization.
|
||
|
||
* typeprint.c (do_free_global_table): Update to call
|
||
free_ext_lang_type_printers.
|
||
(create_global_typedef_table): Update to call
|
||
start_ext_lang_type_printers.
|
||
(find_global_typedef): Update to call apply_ext_lang_type_printers.
|
||
* typeprint.h (struct ext_lang_type_printers): Add forward decl.
|
||
(type_print_options): Change type of global_printers from "void *"
|
||
to "struct ext_lang_type_printers *".
|
||
|
||
* value.c (preserve_values): Update to call preserve_ext_lang_values.
|
||
* python/py-value.c: Remove #ifdef HAVE_PYTHON.
|
||
(gdbpy_preserve_values): Renamed from preserve_python_values.
|
||
New arg extlang.
|
||
(!HAVE_PYTHON, preserve_python_values): Delete.
|
||
|
||
* utils.c (quit_flag): Delete, moved to extension.c.
|
||
(clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
|
||
extension.c.
|
||
|
||
* eval.c: Delete #include "python/python.h".
|
||
* main.c: Delete #include "python/python.h".
|
||
|
||
* defs.h: Update comment.
|
||
|
||
2014-02-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.7 released.
|
||
|
||
2014-02-05 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
|
||
defined.
|
||
|
||
2014-02-05 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (remote_pass_signals): Remove local 'buf' and use
|
||
rs->buf.
|
||
(remote_program_signals): Likewise.
|
||
|
||
2014-02-05 Yao Qi <yao@codesourcery.com>
|
||
|
||
* ctf.c: Include "inferior.h" and "gdbthread.h".
|
||
(CTF_PID): A new macro.
|
||
(ctf_open): Call inferior_appeared and add_thread_silent.
|
||
(ctf_close): Call exit_inferior_silent and set inferior_ptid.
|
||
(ctf_thread_alive): New function.
|
||
(init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
|
||
|
||
2014-02-05 Yao Qi <yao@codesourcery.com>
|
||
|
||
Revert this patch:
|
||
|
||
2013-05-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* tracepoint.c (TFILE_PID): Remove.
|
||
(tfile_open): Don't add thread and inferior.
|
||
(tfile_close): Don't set 'inferior_ptid'. Don't call
|
||
exit_inferior_silent.
|
||
(tfile_thread_alive): Remove.
|
||
(init_tfile_ops): Don't set field 'to_thread_alive' of
|
||
tfile_ops.
|
||
|
||
2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
|
||
|
||
* remote.c (remote_start_remote): Call remote_check_symbols even
|
||
if only symbol-file (not file) has been given.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* gdbarch.sh (skip_entrypoint): New callback.
|
||
* gdbarch.c, gdbarch.h: Regenerate.
|
||
* symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
|
||
* infrun.c (fill_in_stop_func): Likewise.
|
||
* ppc-linux-tdep.c: Include "elf/ppc64.h".
|
||
(ppc_elfv2_elf_make_msymbol_special): New function.
|
||
(ppc_elfv2_skip_entrypoint): Likewise.
|
||
(ppc_linux_init_abi): Install them for ELFv2.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
|
||
(ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
|
||
(ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
|
||
(ppc64_sysv_abi_return_value): Likewise. Also, handle small
|
||
structures returned in GPRs.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
|
||
offset to the stack parameter list for the ELFv2 ABI.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-linux-tdep.c (ppc_linux_init_abi): Only call
|
||
set_gdbarch_convert_from_func_ptr_addr and
|
||
set_gdbarch_elf_make_msymbol_special for ELFv1.
|
||
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
|
||
function descriptors on ELFv1.
|
||
(ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
|
||
set up r12 at function entry.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-tdep.h (enum powerpc_elf_abi): New data type.
|
||
(struct gdbarch_tdep): New member elf_abi.
|
||
|
||
* rs6000-tdep.c: Include "elf/ppc64.h".
|
||
(rs6000_gdbarch_init): Detect ELF ABI version.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
|
||
within a register pair holding a DFP 128-bit value on little-endian.
|
||
(ppc64_sysv_abi_return_value_base): Likewise.
|
||
* rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
|
||
(dfp_pseudo_register_write): Likewise.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
|
||
offset on little-endian when passing _Decimal32.
|
||
(ppc64_sysv_abi_return_value_base): Likewise for return values.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
|
||
of the overlapped FP register within the VSX register on little-
|
||
endian platforms.
|
||
(efpr_pseudo_register_write): Likewise.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
|
||
offset on little-endian when passing small structures.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
|
||
(struct ppc64_sysv_argpos): New data structure.
|
||
(ppc64_sysv_abi_push_float): Remove.
|
||
(ppc64_sysv_abi_push_val): New function.
|
||
(ppc64_sysv_abi_push_integer): Likewise.
|
||
(ppc64_sysv_abi_push_freg): Likewise.
|
||
(ppc64_sysv_abi_push_vreg): Likewise.
|
||
(ppc64_sysv_abi_push_param): Likewise.
|
||
(ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
|
||
(ppc64_sysv_abi_return_value_base): New function.
|
||
(ppc64_sysv_abi_return_value): Refactor to use it.
|
||
|
||
2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* NEWS: Document new target powerpc64le-*-linux*.
|
||
|
||
2014-02-04 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
|
||
(sparc64obsd_supply_gregset): Handle registers sets used in ELF
|
||
core dumps.
|
||
(sparc64obsd_init_abi): Adjust minimum size of the general purpose
|
||
register set used in ELF core dumps. Add floating-point register set.
|
||
|
||
2014-02-03 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
|
||
dwarf2_to_gdb[] table using symbolic constants. Adjust
|
||
penultimate entry from number representing the PC register
|
||
to symbolic constant representing the MDR register. Add
|
||
constant for the PC register to the end of the table.
|
||
|
||
2014-02-03 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* bsd-kvm.c: Include <sys/param.h>
|
||
|
||
2014-02-03 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
|
||
|
||
2014-01-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.h (clear_ada_sym_cache): Delete.
|
||
|
||
2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
|
||
|
||
2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
|
||
|
||
* sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
|
||
the sigreturn register save area only if the syscall is
|
||
sigreturn.
|
||
|
||
2014-01-29 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* valops.c (value_slice): Minor reformatting.
|
||
|
||
2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
|
||
|
||
2014-01-28 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
|
||
New static globals.
|
||
(maint_set_ada_cmd, maint_show_ada_cmd): New functions.
|
||
(ada_ignore_descriptive_types_p): New static global.
|
||
(find_parallel_type_by_descriptive_type): Return immediately
|
||
if ada_ignore_descriptive_types_p is set.
|
||
(_initialize_ada_language): Register new commands "maintenance
|
||
set ada", "maintenance show ada", "maintenance set ada
|
||
ignore-descriptive-types" and "maintenance show ada
|
||
ignore-descriptive-types".
|
||
* NEWS: Add entry for new "maint ada set/show
|
||
ignore-descriptive-types" commands.
|
||
|
||
2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_close): Call btrace_teardown
|
||
for all threads.
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c: Remove "#ifdef UI_OUT" condition for including
|
||
"ui-out.h".
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-typeprint (type_is_full_subrange_of_target_type):
|
||
New function.
|
||
(print_range): Add parameter bounds_prefered_p. If not set,
|
||
try printing range types using the name of their base type.
|
||
(print_range_type): Add parameter bounds_prefered_p.
|
||
Use it in call to print_range.
|
||
(print_array_type, ada_print_type): Update calls to print_range
|
||
and print_range_type.
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-typeprint.c (print_array_type, print_choices, print_range)
|
||
(print_range_bound, print_dynamic_range_bound, print_range_type):
|
||
Remove declaration.
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-typeprint.c (print_range): Add missing empty line
|
||
after local declaration.
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (print_optional_low_bound): Get index_type's
|
||
target type for as long as it is a TYPE_CODE_RANGE.
|
||
|
||
2014-01-27 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* procfs.c (procfs_make_note_section): Remove assertion and
|
||
associated comment.
|
||
|
||
2014-01-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (remote_read_bytes): Change type of len to ULONGEST.
|
||
* corelow.c (get_core_siginfo): Likewise.
|
||
|
||
2014-01-24 Yao Qi <yao@codesourcery.com>
|
||
|
||
* remote.c (remote_write_bytes_aux): Change type of 'len' to
|
||
ULONGEST. Don't check 'len' is negative.
|
||
(remote_write_bytes): Change type of 'len' to ULONGEST.
|
||
|
||
2014-01-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR python/16485:
|
||
* python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
|
||
Handle exception from frame.block.
|
||
(FrameVars.fetch_frame_locals): Likewise.
|
||
|
||
2014-01-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR python/16487:
|
||
* python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
|
||
on a NULL pointer. Move "goto error" to correct place.
|
||
|
||
2014-01-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR python/16491:
|
||
* python/py-framefilter.c (apply_frame_filter): Call
|
||
ensure_python_env after computing gdbarch.
|
||
|
||
2014-01-23 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.c (raw_memory_xfer_partial): Change argument type
|
||
from void * to gdb_byte *.
|
||
(memory_xfer_partial_1, memory_xfer_partial): Likewise.
|
||
|
||
2014-01-22 Doug Evans <dje@google.com>
|
||
|
||
New gdbserver option --debug-format=timestamp.
|
||
* NEWS: Mention it.
|
||
|
||
2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
|
||
|
||
* syscalls/s390x-linux.xml: New file.
|
||
* syscalls/s390-linux.xml: New file.
|
||
* s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
|
||
(XML_SYSCALL_FILENAME_S390X): Likewise.
|
||
(op_svc): New enum value for SVC opcode.
|
||
(s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
|
||
(s390_linux_get_syscall_number): New function.
|
||
(s390_gdbarch_init): Register '*get_syscall_number' and the
|
||
syscall xml file name.
|
||
* data-directory/Makefile.in (SYSCALLS_FILES): Add
|
||
"s390-linux.xml" and "s390x-linux.xml".
|
||
* NEWS: Announce new feature.
|
||
|
||
2014-01-22 Baruch Siach <baruch@tkos.co.il>
|
||
|
||
* xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
|
||
|
||
2014-01-22 Pedro Alves <palves@redhat.com>
|
||
|
||
* xtensa-config.c: Include defs.h.
|
||
|
||
2014-01-22 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* common/common-utils.h: Add "ARI:" comment beside __func__
|
||
reference.
|
||
|
||
2014-01-22 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* common/common-utils.h (FUNCTION_NAME): Expand the macro's
|
||
documentation a bit.
|
||
|
||
2014-01-21 Roland McGrath <mcgrathr@google.com>
|
||
|
||
* configure.ac: Call AM_PROG_INSTALL_STRIP.
|
||
* configure: Regenerate.
|
||
* aclocal.m4: Regenerate.
|
||
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
|
||
New substituted variables.
|
||
(install-strip): New target.
|
||
(INSTALL_SCRIPT): New substituted variable.
|
||
(FLAGS_TO_PASS): Add it.
|
||
(install-only): Use $(INSTALL_SCRIPT) rather than
|
||
$(INSTALL_PROGRAM) for gcore.
|
||
|
||
2014-01-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.h (struct cmd_list_element): Move all bitfields
|
||
together.
|
||
|
||
2014-01-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
|
||
(add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
|
||
(deprecated_cmd_warning, complete_on_cmdlist): Update.
|
||
* cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
|
||
(MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
|
||
(struct cmd_list_element) <flags>: Remove.
|
||
<cmd_deprecated, deprecated_warn_user, malloced_replacement,
|
||
doc_allocated>: New fields.
|
||
<hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
|
||
bitfields.
|
||
* maint.c (maintenance_do_deprecate): Update.
|
||
* top.c (execute_command): Update.
|
||
|
||
2014-01-20 Baruch Siach <baruch@tkos.co.il>
|
||
|
||
* xtensa-linux-nat.c: Include asm/ptrace.h.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* Makefile.in (SFILES): Add d-support.c.
|
||
(COMMON_OBS): Add d-support.o.
|
||
* d-lang.h (d_parse_symbol): Add comment, now defined in
|
||
d-support.c.
|
||
* d-lang.c (parse_call_convention)
|
||
(parse_attributes, parse_function_types)
|
||
(parse_function_args, parse_type, parse_identifier)
|
||
(call_convention_p, d_parse_symbol): Move functions to ...
|
||
* d-support.c: ... New file.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* d-lang.h (d_parse_symbol): Add declaration.
|
||
* d-lang.c (extract_identifiers)
|
||
(extract_type_info): Remove functions.
|
||
(parse_call_convention, parse_attributes)
|
||
(parse_function_types, parse_function_args)
|
||
(parse_type, parse_identifier, call_convention_p)
|
||
(d_parse_symbol): New functions.
|
||
(d_demangle): Use d_parse_symbol to demangle D symbols.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* d-lang.h (struct builtin_d_type): New data type.
|
||
(builtin_d_type): Add declaration.
|
||
* d-lang.c (d_language_arch_info, build_d_types)
|
||
(builtin_d_type): New functions.
|
||
(enum d_primitive_types): New data type.
|
||
(d_language_defn): Change c_language_arch_info to
|
||
d_language_arch_info.
|
||
(d_type_data): New static variable.
|
||
(_initialize_d_language): Initialize d_type_data.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* d-lang.h (d_main_name): Add declaration.
|
||
* d-lang.c (d_main_name): New function.
|
||
* symtab.c (find_main_name): Add call to d_main_name.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* d-lang.c (d_language_defn): Change macro_expansion_c to
|
||
macro_expansion_no.
|
||
|
||
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
|
||
|
||
* MAINTAINERS: Add myself as a write-after-approval maintainer.
|
||
|
||
2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
|
||
gdb_exception" declaration.
|
||
* remote.c (getpkt_or_notif_sane): Likewise.
|
||
|
||
2014-01-17 Doug Evans <dje@google.com>
|
||
|
||
* common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
|
||
function, contents of dirnames_to_char_ptr_vec_append moved here.
|
||
(delim_string_to_char_ptr_vec): New function.
|
||
(dirnames_to_char_ptr_vec_append): Rewrite.
|
||
* common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
|
||
|
||
2014-01-17 Doug Evans <dje@google.com>
|
||
|
||
* common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
|
||
and moved here ...
|
||
* common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
|
||
#include "common-utils.h".
|
||
(gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
|
||
* common/vec.h (VEC_ASSERT_PASS): Update.
|
||
* darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
|
||
(MACH_CHECK_ERROR): Update.
|
||
|
||
2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
* gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
|
||
comments.
|
||
* gdbarch.h: Regenerate.
|
||
|
||
2014-01-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* value.c (struct value) <regnum>: Move earlier.
|
||
|
||
2014-01-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* remote.c (extended_remote_create_inferior): Rename from
|
||
extended_remote_create_inferior_1. Add "ops" argument. Remove
|
||
old implementation.
|
||
|
||
2014-01-16 Pedro Alves <palves@redhat.com>
|
||
|
||
* s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
|
||
NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
|
||
the backchain.
|
||
|
||
2014-01-16 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.h (btrace_thread_flag): New.
|
||
(struct btrace_thread_info) <flags>: New.
|
||
* record-btrace.c (record_btrace_resume_thread)
|
||
(record_btrace_find_thread_to_move, btrace_step_no_history)
|
||
(btrace_step_stopped, record_btrace_start_replaying)
|
||
(record_btrace_step_thread, record_btrace_decr_pc_after_break)
|
||
(record_btrace_find_resume_thread): New.
|
||
(record_btrace_resume, record_btrace_wait): Extend.
|
||
(record_btrace_can_execute_reverse): New.
|
||
(record_btrace_open): Fail in non-stop mode.
|
||
(record_btrace_set_replay): Split into this, ...
|
||
(record_btrace_stop_replaying): ... this, ...
|
||
(record_btrace_clear_histories): ... and this.
|
||
(init_record_btrace_ops): Init to_can_execute_reverse.
|
||
* NEWS: Announce it.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* target.h (struct target_ops) <to_decr_pc_after_break>: New.
|
||
(forward_target_decr_pc_after_break)
|
||
(target_decr_pc_after_break): New.
|
||
* target.c (forward_target_decr_pc_after_break)
|
||
(target_decr_pc_after_break): New.
|
||
* aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
* darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
* infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
* linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
* linux-thread-db.c (check_event): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
* record-full.c (record_full_wait_1): Call target_decr_pc_after_break
|
||
instead of gdbarch_decr_pc_after_break.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.c: Include regcache.h.
|
||
(btrace_add_pc): New.
|
||
(btrace_enable): Call btrace_add_pc.
|
||
(btrace_is_empty): New.
|
||
* btrace.h (btrace_is_empty): New.
|
||
* record-btrace.c (require_btrace, record_btrace_info): Call
|
||
btrace_is_empty.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
|
||
Support delta reads.
|
||
(linux_disable_btrace): Change return type.
|
||
* common/linux-btrace.h (linux_read_btrace): Change parameters
|
||
and return type to allow error reporting. Update users.
|
||
(linux_disable_btrace): Change return type. Update users.
|
||
* common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
|
||
New.
|
||
(btrace_error): New.
|
||
(btrace_block) <begin>: Comment on BEGIN == 0.
|
||
* btrace.c (btrace_compute_ftrace): Start from the end of
|
||
the current trace.
|
||
(btrace_stitch_trace, btrace_clear_history): New.
|
||
(btrace_fetch): Read delta trace, return if replaying.
|
||
(btrace_clear): Move clear history code to btrace_clear_history.
|
||
(parse_xml_btrace): Throw an error if parsing failed.
|
||
* target.h (struct target_ops) <to_read_btrace>: Change parameters
|
||
and return type to allow error reporting.
|
||
(target_read_btrace): Change parameters and return type to allow
|
||
error reporting.
|
||
* target.c (target_read_btrace): Update.
|
||
* remote.c (remote_read_btrace): Support delta reads. Pass
|
||
errors on.
|
||
* NEWS: Announce it.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record.h (record_btrace_frame_unwind)
|
||
(record_btrace_tailcall_frame_unwind): New declarations.
|
||
* dwarf2-frame: Include record.h
|
||
(dwarf2_frame_cfa): Throw an error for btrace frames.
|
||
* record-btrace.c: Include hashtab.h.
|
||
(btrace_get_bfun_name): New.
|
||
(btrace_call_history): Call btrace_get_bfun_name.
|
||
(struct btrace_frame_cache): New.
|
||
(bfcache): New.
|
||
(bfcache_hash, bfcache_eq, bfcache_new): New.
|
||
(btrace_get_frame_function): New.
|
||
(record_btrace_frame_unwind_stop_reason): Allow unwinding.
|
||
(record_btrace_frame_this_id): Compute own id.
|
||
(record_btrace_frame_prev_register): Provide PC, throw_error
|
||
for all other registers.
|
||
(record_btrace_frame_sniffer): Detect btrace frames.
|
||
(record_btrace_tailcall_frame_sniffer): New.
|
||
(record_btrace_frame_dealloc_cache): New.
|
||
(record_btrace_frame_unwind): Add new functions.
|
||
(record_btrace_tailcall_frame_unwind): New.
|
||
(_initialize_record_btrace): Allocate cache.
|
||
* btrace.c (btrace_clear): Call reinit_frame_cache.
|
||
* NEWS: Announce it.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_set_replay)
|
||
(record_btrace_goto_begin, record_btrace_goto_end)
|
||
(record_btrace_goto): New.
|
||
(init_record_btrace_ops): Initialize them.
|
||
* NEWS: Announce it.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_find_new_threads)
|
||
(record_btrace_thread_alive): New.
|
||
(init_record_btrace_ops): Initialize to_find_new_threads and
|
||
to_thread_alive.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_resume): New.
|
||
(record_btrace_wait): New.
|
||
(init_record_btrace_ops): Initialize to_wait and to_resume.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_xfer_partial)
|
||
(record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
|
||
(record_btrace_allow_memory_access): New.
|
||
(init_record_btrace_ops): Initialize new methods.
|
||
* target.c (raw_memory_xfer_partial): Bail out if target reports
|
||
that this memory is not available.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* target.h (target_ops) <to_insert_breakpoint>
|
||
<to_remove_breakpoint>: Add target_ops parameter.
|
||
(forward_target_insert_breakpoint): New.
|
||
(forward_target_remove_breakpoint): New.
|
||
(memory_remove_breakpoint, memory_insert_breakpoint):
|
||
Add target_ops parameter.
|
||
* target.c (target_insert_breakpoint): Split into this and ...
|
||
(forward_target_insert_breakpoint): ... this.
|
||
(target_remove_breakpoint): Split into this and ...
|
||
(forward_target_remove_breakpoint): ... this.
|
||
(debug_to_insert_breakpoint): Add target_ops parameter.
|
||
Call forward_target_insert_breakpoint.
|
||
(debug_to_remove_breakpoint): Add target_ops parameter.
|
||
Call forward_target_remove_breakpoint.
|
||
(update_current_target): Do not inherit or default to_insert_breakpoint
|
||
and to_remove_breakpoint.
|
||
* corelow.c (ignore): Add target_ops parameter.
|
||
* exec.c (ignore): Add target_ops parameter.
|
||
* mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
|
||
Add target_ops parameter.
|
||
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
|
||
Add target_ops parameter.
|
||
* nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
|
||
Add target_ops parameter.
|
||
* record-full.c (record_full_beneath_to_insert_breakpoint)
|
||
(record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
|
||
(tmp_to_remove_breakpoint, record_full_insert_breakpoint)
|
||
(record_full_remove_breakpoint, record_full_core_insert_breakpoint)
|
||
(record_full_core_remove_breakpoint): Add target_ops parameter.
|
||
Update users.
|
||
(record_full_beneath_to_insert_breakpoint_ops)
|
||
(record_full_beneath_to_remove_breakpoint_ops)
|
||
(tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
|
||
(record_full_open): Initialize tmp_to_insert_breakpoint_ops,
|
||
tmp_to_remove_breakpoint_ops,
|
||
record_full_beneath_to_insert_breakpoint_ops, and
|
||
record_full_beneath_to_remove_breakpoint_ops.
|
||
* remote-m32r-sdi.c (m32r_insert_breakpoint)
|
||
(m32r_remove_breakpoint): Add target_ops parameter.
|
||
* remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
|
||
Add target_ops parameter.
|
||
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
|
||
Add target_ops parameter.
|
||
|
||
2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c: Include frame-unwind.h.
|
||
(record_btrace_frame_unwind_stop_reason)
|
||
(record_btrace_frame_this_id, record_btrace_frame_prev_register)
|
||
(record_btrace_frame_sniffer, record_btrace_frame_unwind):
|
||
New.
|
||
(init_record_btrace_ops): Install it.
|
||
|
||
2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* frame.c (get_frame_unwind_stop_reason): Unconditionally call
|
||
get_prev_frame_1.
|
||
|
||
2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
|
||
earlier.
|
||
|
||
2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* frame-unwind.c: Include target.h.
|
||
(frame_unwind_try_unwinder): New function with code from ...
|
||
(frame_unwind_find_by_frame): ... here. New variable
|
||
unwinder_from_target, call also target_get_unwinder)
|
||
(target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
|
||
* target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
|
||
* target.h (struct target_ops): New fields to_get_unwinder and
|
||
to_get_tailcall_unwinder.
|
||
(target_get_unwinder, target_get_tailcall_unwinder): New declarations.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_fetch_registers)
|
||
(record_btrace_store_registers)
|
||
(record_btrace_to_prepare_to_store): New.
|
||
(init_record_btrace_ops): Add the above.
|
||
|
||
2014-01-16 Tom Tromey <tromey@redhat.com>
|
||
|
||
* windows-nat.c (windows_prepare_to_store): Add 'self' argument.
|
||
* target.h (struct target_ops) <to_prepare_to_store>: Add
|
||
argument.
|
||
(target_prepare_to_store): Add argument.
|
||
* target.c (debug_to_prepare_to_store): Add argument.
|
||
(update_current_target): Update.
|
||
* remote.c (remote_prepare_to_store): Add 'self' argument.
|
||
* remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
|
||
* remote-mips.c (mips_prepare_to_store): Add 'self' argument.
|
||
* remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
|
||
* record-full.c (record_full_core_prepare_to_store): Add 'self'
|
||
argument.
|
||
* ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
|
||
* nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
|
||
* monitor.c (monitor_prepare_to_store): Add 'self' argument.
|
||
* inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
|
||
* go32-nat.c (go32_prepare_to_store): Add 'self' argument.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.h (replay) <replay>: New.
|
||
(btrace_is_replaying): New.
|
||
* btrace.c (btrace_clear): Free replay iterator.
|
||
(btrace_is_replaying): New.
|
||
* record-btrace.c (record_btrace_is_replaying): New.
|
||
(record_btrace_info): Print insn number if replaying.
|
||
(record_btrace_insn_history): Start at replay position.
|
||
(record_btrace_call_history): Start at replay position.
|
||
(init_record_btrace_ops): Init to_record_is_replaying.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (record_btrace_insn_history_range): Include
|
||
end.
|
||
(record_btrace_insn_history_from): Adjust range.
|
||
(record_btrace_call_history_range): Include
|
||
end.
|
||
(record_btrace_call_history_from): Adjust range.
|
||
* NEWS: Announce changes.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record.h (enum record_print_flag)
|
||
<record_print_indent_calls>: New.
|
||
* record.c (get_call_history_modifiers): Recognize /c modifier.
|
||
(_initialize_record): Document /c modifier.
|
||
* record-btrace.c (btrace_call_history): Add btinfo parameter.
|
||
Reorder fields. Optionally indent the function name. Update
|
||
all users.
|
||
* NEWS: Announce changes.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.c (ftrace_new_function): Start counting at one.
|
||
* record-btrace.c (record_btrace_info): Adjust number of calls
|
||
and insns.
|
||
* NEWS: Announce it.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* record-btrace.c (btrace_call_history_insn_range): Print
|
||
insn range as [begin, end].
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.h (struct btrace_func_link): New.
|
||
(enum btrace_function_flag): New.
|
||
(struct btrace_inst): Rename to ...
|
||
(struct btrace_insn): ...this. Update all users.
|
||
(struct btrace_func) <ibegin, iend>: Remove.
|
||
(struct btrace_func_link): New.
|
||
(struct btrace_func): Rename to ...
|
||
(struct btrace_function): ...this. Update all users.
|
||
(struct btrace_function) <segment, flow, up, insn, insn_offset)
|
||
(number, level, flags>: New.
|
||
(struct btrace_insn_iterator): Rename to ...
|
||
(struct btrace_insn_history): ...this.
|
||
Update all users.
|
||
(struct btrace_insn_iterator, btrace_call_iterator): New.
|
||
(struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
|
||
(struct btrace_target_info) <begin, end, level>
|
||
<insn_history, call_history>: New.
|
||
(btrace_insn_get, btrace_insn_number, btrace_insn_begin)
|
||
(btrace_insn_end, btrace_insn_prev, btrace_insn_next)
|
||
(btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
|
||
(btrace_call_number, btrace_call_begin, btrace_call_end)
|
||
(btrace_call_prev, btrace_call_next, btrace_call_cmp)
|
||
(btrace_find_function_by_number, btrace_set_insn_history)
|
||
(btrace_set_call_history): New.
|
||
* btrace.c (btrace_init_insn_iterator)
|
||
(btrace_init_func_iterator, compute_itrace): Remove.
|
||
(ftrace_print_function_name, ftrace_print_filename)
|
||
(ftrace_skip_file): Change
|
||
parameter to const.
|
||
(ftrace_init_func): Remove.
|
||
(ftrace_debug): Use new btrace_function fields.
|
||
(ftrace_function_switched): Also consider gaining and
|
||
losing symbol information).
|
||
(ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
|
||
(ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
|
||
(ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
|
||
New.
|
||
(ftrace_new_function): Move. Remove debug print.
|
||
(ftrace_update_lines, ftrace_update_insns): New.
|
||
(ftrace_update_function): Check for call, ret, and jump.
|
||
(compute_ftrace): Renamed to ...
|
||
(btrace_compute_ftrace): ...this. Rewritten to compute call
|
||
stack.
|
||
(btrace_fetch, btrace_clear): Updated.
|
||
(btrace_insn_get, btrace_insn_number, btrace_insn_begin)
|
||
(btrace_insn_end, btrace_insn_prev, btrace_insn_next)
|
||
(btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
|
||
(btrace_call_number, btrace_call_begin, btrace_call_end)
|
||
(btrace_call_prev, btrace_call_next, btrace_call_cmp)
|
||
(btrace_find_function_by_number, btrace_set_insn_history)
|
||
(btrace_set_call_history): New.
|
||
* record-btrace.c (require_btrace): Use new btrace thread
|
||
info fields.
|
||
(record_btrace_info, btrace_insn_history)
|
||
(record_btrace_insn_history, record_btrace_insn_history_range):
|
||
Use new btrace thread info fields and new iterator.
|
||
(btrace_func_history_src_line): Rename to ...
|
||
(btrace_call_history_src_line): ...this. Use new btrace
|
||
thread info fields.
|
||
(btrace_func_history): Rename to ...
|
||
(btrace_call_history): ...this. Use new btrace thread info
|
||
fields and new iterator.
|
||
(record_btrace_call_history, record_btrace_call_history_range):
|
||
Use new btrace thread info fields and new iterator.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* frame.h (frame_id_build_unavailable_stack_special): New.
|
||
* frame.c (frame_id_build_unavailable_stack_special): New.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
|
||
(amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
|
||
(amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
|
||
to gdbarch.
|
||
* i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
|
||
(i386_insn_is_jump, i386_jmp_p): New.
|
||
(i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
|
||
insn_is_jump to gdbarch.
|
||
* gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
|
||
* gdbarch.h: Regenerated.
|
||
* gdbarch.c: Regenerated.
|
||
* arch-utils.h (default_insn_is_call, default_insn_is_ret)
|
||
(default_insn_is_jump): New.
|
||
* arch-utils.c (default_insn_is_call, default_insn_is_ret)
|
||
(default_insn_is_jump): New.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* common/btrace-common.h (btrace_read_type) <btrace_read_all>:
|
||
Change to ...
|
||
(btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
|
||
(btrace_read_type) <btrace_read_new>: Change to ...
|
||
(btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
|
||
|
||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* common/linux-btrace.c (linux_read_btrace): Free trace from
|
||
previous iteration.
|
||
|
||
2014-01-15 Doug Evans <dje@google.com>
|
||
|
||
* dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
|
||
uint32_t.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dbxread.c (process_one_symbol): Use set_objfile_main_name.
|
||
* dwarf2read.c (read_partial_die): Use set_objfile_main_name.
|
||
* objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
|
||
(set_objfile_main_name): New function.
|
||
* objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
|
||
language_of_main>: New fields.
|
||
(set_objfile_main_name): Declare.
|
||
* symtab.c (find_main_name): Loop over objfiles to find the main
|
||
name and language.
|
||
(set_main_name): Now static.
|
||
(get_main_info): Add comment.
|
||
* symtab.h (set_main_name): Don't declare.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.c (main_progspace_key): New global.
|
||
(struct main_info): New.
|
||
(name_of_main, language_of_main): Remove.
|
||
(get_main_info, main_info_cleanup): New function.
|
||
(set_main_name, main_name, main_language): Use get_main_info.
|
||
(_initialize_symtab): Initialize main_progspace_key.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dbxread.c (process_one_symbol): Update.
|
||
* dwarf2read.c (read_partial_die): Update.
|
||
* symfile.c (set_initial_language): Call main_language.
|
||
* symtab.c (language_of_main): Now static.
|
||
(set_main_name): Add 'lang' parameter.
|
||
(find_main_name): Update.
|
||
(main_language): New function.
|
||
(symtab_observer_executable_changed): Update.
|
||
* symtab.h (set_main_name): Update.
|
||
(language_of_main): Remove.
|
||
(main_language): Declare.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symfile.c (init_entry_point_info): Use new "initialized" field.
|
||
Update.
|
||
* objfiles.h (struct entry_point) <initialized>: New field.
|
||
(struct objfile_per_bfd_storage) <ei>: New field, moved from...
|
||
(struct objfile) <ei>: ...here. Remove.
|
||
* objfiles.c (entry_point_address_query): Update.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* objfiles.c (entry_point_address_query): Relocate entry point
|
||
address.
|
||
(objfile_relocate1): Do not relocate entry point address.
|
||
* objfiles.h (struct entry_info) <entry_point>: Update comment.
|
||
<the_bfd_section_index>: New field.
|
||
* symfile.c (init_entry_point_info): Find the entry point's
|
||
section.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* solib-frv.c (enable_break): Use entry_point_address_query.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* NEWS: Add note on improved process record-replay on
|
||
arm*-linux* targets.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (enum arm_record_result): New enum.
|
||
(arm_record_unsupported_insn): New function.
|
||
(arm_record_coproc_data_proc): Removed.
|
||
(thumb2_record_ld_st_multiple): New function.
|
||
(thumb2_record_ld_st_dual_ex_tbb): New function.
|
||
(thumb2_record_data_proc_sreg_mimm): New function.
|
||
(thumb2_record_ps_dest_generic): New function.
|
||
(thumb2_record_branch_misc_cntrl): New function.
|
||
(thumb2_record_str_single_data): New function.
|
||
(thumb2_record_ld_mem_hints): New function.
|
||
(thumb2_record_ld_word): New function.
|
||
(thumb2_record_lmul_lmla_div): New function.
|
||
(thumb2_record_decode_insn_handler): New function.
|
||
(decode_insn): Add thumb32 instruction handlers.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
|
||
(struct arm_linux_record_tdep): Declare.
|
||
(arm_canonicalize_syscall): New function.
|
||
(arm_all_but_pc_registers_record): New function.
|
||
(arm_linux_syscall_record): New function.
|
||
(arm_linux_init_abi): Add syscall recording constructs.
|
||
* arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
|
||
decoding. (arm_record_coproc_data_proc): Update arm syscall
|
||
decoding.
|
||
* arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
|
||
<arm_syscall_record>: New field.
|
||
* configure.tgt (arm*-*-linux*): Add linux-record.o to
|
||
gdb_target_obs.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (thumb_record_misc): Update to use sp as base
|
||
register for push instruction recording.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (thumb_record_misc): Update to correct logical
|
||
error while recording ldm, ldmia and pop instructions.
|
||
|
||
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
|
||
|
||
* arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
|
||
|
||
2014-01-15 Pedro Alves <palves@redhat.com>
|
||
|
||
* go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
|
||
(go32_resume, go32_fetch_registers, store_register)
|
||
(go32_store_registers, go32_prepare_to_store)
|
||
(go32_xfer_memory, go32_files_info, go32_kill_inferior)
|
||
(go32_create_inferior, go32_can_run, go32_terminal_init)
|
||
(go32_terminal_inferior, go32_terminal_ours): Delete forward
|
||
declarations.
|
||
|
||
2014-01-15 Tom Tromey <tromey@redhat.com>
|
||
|
||
* target.h (async_callback_ftype): New typedef.
|
||
(struct target_ops) <to_async>: Use it.
|
||
|
||
2014-01-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* python/py-value.c (get_field_type): Remove unnecessary curly
|
||
braces for single-statement if block.
|
||
|
||
2014-01-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* python/py-type.c (convert_field): Add missing empty line
|
||
after declarations.
|
||
|
||
2014-01-14 Doug Evans <dje@google.com>
|
||
|
||
* symfile.h (expand_symtabs_matching): Renamed from
|
||
expand_partial_symbol_names. Update prototype.
|
||
(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
|
||
* symfile.c (expand_symtabs_matching): Renamed from
|
||
expand_partial_symbol_names. New args file_matcher, kind.
|
||
Rename arg fun to symbol_matcher.
|
||
(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
|
||
* ada-lang.c (ada_complete_symbol_matcher): Renamed from
|
||
ada_expand_partial_symbol_name.
|
||
(ada_make_symbol_completion_list): Update to call
|
||
expand_symtabs_matching.
|
||
(ada_add_global_exceptions): Call expand_symtabs_matching.
|
||
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
|
||
call map_symbol_filenames.
|
||
* symtab.c (sources_info): Update to call map_symbol_filenames.
|
||
(search_symbols): Call expand_symtabs_matching.
|
||
(symbol_completion_matcher): Renamed from expand_partial_symbol_name.
|
||
(default_make_symbol_completion_list_break_on): Update to call
|
||
expand_symtabs_matching.
|
||
(make_source_files_completion_list): Update to call
|
||
map_symbol_filenames.
|
||
|
||
2014-01-14 Doug Evans <dje@google.com>
|
||
|
||
* symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
|
||
(expand_symtabs_symbol_matcher_ftype): New typedef.
|
||
(quick_symbol_functions.expand_symtabs_matching): Update to use.
|
||
expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
|
||
* symfile.c (expand_partial_symbol_names): Update to use
|
||
expand_symtabs_symbol_matcher_ftype.
|
||
* dwarf2read.c (dw2_expand_symtabs_matching): Update to use
|
||
expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
|
||
Arg name_matcher renamed to symbol_matcher.
|
||
* psymtab.c (recursively_search_psymtabs): Update to use
|
||
expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
|
||
sym_matcher.
|
||
(expand_symtabs_matching_via_partial): Update to use
|
||
expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
|
||
Arg name_matcher renamed to symbol_matcher.
|
||
|
||
2014-01-14 Doug Evans <dje@google.com>
|
||
|
||
* psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
|
||
(map_partial_symbol_filenames): Ditto.
|
||
* psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
|
||
(map_partial_symbol_filenames): Ditto.
|
||
* symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
|
||
(map_partial_symbol_filenames): Ditto.
|
||
* symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
|
||
(map_partial_symbol_filenames): Ditto.
|
||
* symtab.c: Delete #include "psymtab.h".
|
||
|
||
2014-01-14 Pedro Alves <palves@redhat.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
* infrun.c (use_displaced_stepping): Use find_record_target
|
||
instead of RECORD_IS_USED.
|
||
(adjust_pc_after_break): Use record_full_is_used instead of
|
||
RECORD_IS_USED.
|
||
* record-btrace.c (record_btrace_open): Call record_preopen
|
||
instead of checking RECORD_IS_USED.
|
||
* record-full.c (record_full_shortname)
|
||
(record_full_core_shortname): New globals.
|
||
(record_full_is_used): New function.
|
||
(find_full_open): Call record_preopen instead of checking
|
||
RECORD_IS_USED.
|
||
(init_record_full_ops): Set the target's shortname to
|
||
record_full_shortname.
|
||
(init_record_full_core_ops): Set the target's shortname to
|
||
record_full_core_shortname.
|
||
* record-full.h (record_full_is_used): Declare.
|
||
* record.c (find_record_target): Make extern.
|
||
(record_preopen): New function.
|
||
* record.h (RECORD_IS_USED): Delete macro.
|
||
(find_record_target, record_preopen): Declare functions.
|
||
|
||
2014-01-14 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbarch.sh (core_xfer_shared_libraries): Change its argument
|
||
'len''s type to ULONGEST.
|
||
(core_xfer_shared_libraries_aix): Likewise.
|
||
* gdbarch.c, gdbarch.h: Regenerated.
|
||
* i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
|
||
Change type of 'len' to ULONGEST.
|
||
* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
|
||
(rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
|
||
|
||
2014-01-14 Yao Qi <yao@codesourcery.com>
|
||
|
||
* common/linux-osdata.c (linux_xfer_osdata_processes): Change
|
||
type of 'len' to ULONGEST.
|
||
(linux_xfer_osdata_processgroups): Likewise.
|
||
(linux_xfer_osdata_threads): Likewise.
|
||
(linux_xfer_osdata_fds): Likewise.
|
||
(linux_xfer_osdata_isockets): Likewise.
|
||
(linux_xfer_osdata_shm): Likewise.
|
||
(linux_xfer_osdata_sem): Likewise.
|
||
(linux_xfer_osdata_msg): Likewise.
|
||
(linux_common_xfer_osdata): Likewise.
|
||
(struct osdata_type) <getter>: Likewise.
|
||
* common/linux-osdata.h (linux_common_xfer_osdata): Update
|
||
the declaration.
|
||
|
||
2014-01-14 Yao Qi <yao@codesourcery.com>
|
||
|
||
* target.h (target_xfer_partial_ftype): Update.
|
||
(struct target_ops) <to_xfer_partial>: Change 'len' type to
|
||
ULONGEST.
|
||
* aix-thread.c (aix_thread_xfer_partial): Change type of
|
||
argument 'len' to ULONGEST.
|
||
* auxv.c (procfs_xfer_auxv): Likewise.
|
||
(ld_so_xfer_auxv): Likewise.
|
||
(memory_xfer_auxv): Likewise.
|
||
* bfd-target.c (target_bfd_xfer_partial): Likewise.
|
||
* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
|
||
* bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
|
||
* corelow.c (core_xfer_partial): Likewise.
|
||
* ctf.c (ctf_xfer_partial): Likewise.
|
||
* darwin-nat.c (darwin_read_write_inferior): Likewise. Use
|
||
'%u'.
|
||
(darwin_read_dyld_info): Likewise.
|
||
(darwin_xfer_partial): Likewise.
|
||
* exec.c (section_table_xfer_memory_partial): Likewise.
|
||
(exec_xfer_partial): Likewise.
|
||
* exec.h (section_table_xfer_memory_partial): Update
|
||
declaration.
|
||
* gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
|
||
instead of plongest.
|
||
(gnu_xfer_partial): Likewise.
|
||
* ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
|
||
(ia64_hpux_xfer_solib_got): Likewise.
|
||
(ia64_hpux_xfer_partial): Likewise.
|
||
* ia64-linux-nat.c (ia64_linux_xfer_partial):
|
||
* inf-ptrace.c (inf_ptrace_xfer_partial):
|
||
* inf-ttrace.c (inf_ttrace_xfer_partial):
|
||
* linux-nat.c (linux_xfer_siginfo): Likewise.
|
||
(linux_nat_xfer_partial): Likewise.
|
||
(spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
|
||
(linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
|
||
* monitor.c (monitor_xfer_memory): Likewise.
|
||
(monitor_xfer_partial): Likewise.
|
||
* procfs.c (procfs_xfer_partial): Likewise.
|
||
* record-full.c (record_full_xfer_partial): Likewise.
|
||
(record_full_core_xfer_partial): Likewise.
|
||
* remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
|
||
instead of plongest.
|
||
(gdbsim_xfer_partial): Likewise.
|
||
* remote.c (remote_xfer_partial): Likewise.
|
||
* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
|
||
* rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
|
||
declaration.
|
||
* rs6000-nat.c (rs6000_xfer_partial): Likewise.
|
||
(rs6000_xfer_shared_libraries): Likewise.
|
||
* sol-thread.c (sol_thread_xfer_partial): Likewise.
|
||
* sparc-nat.c (sparc_xfer_wcookie): Likewise.
|
||
(sparc_xfer_partial): Likewise.
|
||
* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
|
||
(spu_xfer_partial): Likewise.
|
||
* spu-multiarch.c (spu_xfer_partial): Likewise.
|
||
* target.c (target_read_live_memory): Likewise.
|
||
(memory_xfer_live_readonly_partial): Likewise.
|
||
(memory_xfer_partial, memory_xfer_partial_1): Likewise.
|
||
(target_xfer_partial, default_xfer_partial): Likewise.
|
||
(current_xfer_partial): Likewise.
|
||
* tracepoint.c (tfile_xfer_partial): Likewise.
|
||
* windows-nat.c (windows_xfer_memory): Likewise. Call
|
||
pulongest instead of plongest.
|
||
(windows_xfer_partial): Likewise.
|
||
(windows_xfer_shared_libraries): Likewise.
|
||
|
||
2014-01-14 Yao Qi <yao@codesourcery.com>
|
||
|
||
* rs6000-nat.c (rs6000_xfer_shared_libraries): Use
|
||
target_xfer_partial_ftype.
|
||
|
||
2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
|
||
|
||
PR python/15464
|
||
PR python/16113
|
||
* valops.c (value_struct_elt_bitpos): New function
|
||
* py-type.c (convert_field): Set 'name' attribute of a gdb.Field
|
||
object to 'None' if the field name is an empty string ("").
|
||
* python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
|
||
attribute to look for a field when 'name' is 'None'.
|
||
(get_field_type): New function
|
||
|
||
2014-01-13 Doug Evans <dje@google.com>
|
||
|
||
PR symtab/16426
|
||
* dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
|
||
(try_open_dwop_file): Ditto.
|
||
* gdb_bfd.c: #include "vec.h".
|
||
(bfdp): New typedef.
|
||
(struct gdb_bfd_data): New member included_bfds.
|
||
(gdb_bfd_unref): Unref all included bfds.
|
||
(gdb_bfd_record_inclusion): New function.
|
||
* gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gdbcore.h (deprecated_core_resize_section_table): Remove.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (use_windows): Remove.
|
||
* gdb.c (main): Update.
|
||
* main.c (captured_main, gdb_main): Update.
|
||
* main.h (struct captured_main_args) <use_windows>: Remove.
|
||
* top.c (use_windows): Remove.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (deprecated_flush_hook): Remove.
|
||
|
||
2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR threads/16216
|
||
* linux-thread-db.c (try_thread_db_load): Add parameter
|
||
check_auto_load_safe. Move here the file_is_auto_load_safe call.
|
||
(try_thread_db_load_from_pdir_1): Move it there from here.
|
||
(try_thread_db_load_from_sdir): Update caller.
|
||
(try_thread_db_load_from_dir): Move it there from here.
|
||
|
||
2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
|
||
|
||
* regformats/regdat.sh: Always rewrite the register file.
|
||
|
||
2014-01-13 Pedro Alves <palves@redhat.com>
|
||
|
||
* Makefile.in (CHECK_HEADERS): New variable.
|
||
(check-headers:): New rule.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-setshow.c (do_set_command): Update.
|
||
* defs.h (deprecated_set_hook): Remove.
|
||
* top.c (deprecated_set_hook): Remove.
|
||
|
||
2014-01-13 Pedro Alves <palves@redhat.com>
|
||
|
||
* tracepoint.c (tfile_fetch_registers): Don't infer the PC from
|
||
the tracepoint if the PC is a pseudo-register.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (XCALLOC): Remove.
|
||
* bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
|
||
(print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
|
||
* dwarf2loc.c (allocate_piece_closure): Likewise.
|
||
* elfread.c (elf_symfile_segments): Likewise.
|
||
(elf_symfile_segments): Likewise.
|
||
* gdbtypes.c (copy_type_recursive): Likewise.
|
||
* i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
|
||
* jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
|
||
* minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
|
||
XCALLOC.
|
||
* mt-tdep.c (mt_gdbarch_init): Likewise.
|
||
* opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
|
||
XCALLOC.
|
||
* psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
|
||
* regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
|
||
* registry.c (registry_alloc_data): Likewise.
|
||
* rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
|
||
* s390-linux-tdep.c (s390_gdbarch_init): Likewise.
|
||
* serial.c (serial_fdopen_ops): Likewise.
|
||
* solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
|
||
XCALLOC.
|
||
* spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
|
||
* symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
|
||
not XCALLOC.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (XMALLOC): Remove.
|
||
* avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
|
||
* bfin-tdep.c (bfin_gdbarch_init): Likewise.
|
||
* cli-out.c (struct ui_out *): Likewise.
|
||
* cli/cli-dump.c (add_dump_command): Likewise.
|
||
(add_dump_command): Likewise.
|
||
* complaints.c (get_complaints): Likewise.
|
||
(find_complaint): Likewise.
|
||
* dwarf2-frame.c (execute_cfa_program): Likewise.
|
||
* dwarf2read.c (abbrev_table_read_table): Likewise.
|
||
* gdbarch.sh: Likewise.
|
||
* gdbarch.c: Rebuild.
|
||
* inf-ttrace.c (inf_ttrace_add_page): Likewise.
|
||
* interps.c (interp_new): Likewise.
|
||
* lm32-tdep.c (lm32_gdbarch_init): Likewise.
|
||
* m32r-tdep.c (m32r_gdbarch_init): Likewise.
|
||
* mi/mi-console.c (mi_console_file_new): Likewise.
|
||
* mi/mi-interp.c (mi_interpreter_init): Likewise.
|
||
* mi/mi-out.c (mi_out_new): Likewise.
|
||
* mi/mi-parse.c (mi_parse): Likewise.
|
||
* microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
|
||
* moxie-tdep.c (moxie_gdbarch_init): Likewise.
|
||
* observer.c (xalloc_observer_list_node): Likewise.
|
||
* regcache.c (regcache_xmalloc_1): Likewise.
|
||
* reggroups.c (reggroup_new): Likewise.
|
||
(_initialize_reggroup): Likewise.
|
||
* registry.c (register_data_with_cleanup): Likewise.
|
||
* remote.c (remote_notif_stop_alloc_reply): Likewise.
|
||
* ser-base.c (serial_ttystate): Likewise.
|
||
* ser-mingw.c (make_pipe_state): Likewise.
|
||
* ser-pipe.c (pipe_open): Likewise.
|
||
* serial.c (serial_open): Likewise.
|
||
* sh64-tdep.c (sh64_gdbarch_init): Likewise.
|
||
* tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
|
||
(tui_alloc_win_info): Likewise.
|
||
(tui_add_content_elements): Likewise.
|
||
* tui/tui-file.c (tui_file_new): Likewise.
|
||
* tui/tui-out.c (tui_out_new): Likewise.
|
||
* ui-file.c (mem_file_new): Likewise.
|
||
* ui-out.c (push_level): Likewise.
|
||
(make_cleanup_ui_out_end): Likewise.
|
||
(append_header_to_list): Likewise.
|
||
(ui_out_new): Likewise.
|
||
* user-regs.c (user_reg_add_builtin): Likewise.
|
||
|
||
2014-01-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* defs.h (XZALLOC): Remove.
|
||
* ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
|
||
* ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
|
||
(get_ada_tasks_inferior_data): Likewise.
|
||
* auto-load.c (get_auto_load_pspace_data): Likewise.
|
||
* auxv.c (get_auxv_inferior_data): Likewise.
|
||
* bfd-target.c (target_bfd_reopen): Likewise.
|
||
* breakpoint.c (get_catch_syscall_inferior_data): Likewise.
|
||
(deprecated_insert_raw_breakpoint): Likewise.
|
||
* bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
|
||
* corelow.c (core_open): Likewise.
|
||
* darwin-nat.c (darwin_check_new_threads): Likewise.
|
||
(darwin_attach_pid): Likewise.
|
||
* dummy-frame.c (dummy_frame_push): Likewise.
|
||
* dwarf2-frame.c (dwarf2_frame_cache): Likewise.
|
||
* dwarf2loc.c (allocate_piece_closure): Likewise.
|
||
* elfread.c (elf_symfile_segments): Likewise.
|
||
* eval.c (ptrmath_type_p): Likewise.
|
||
* exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
|
||
* gdbtypes.c (alloc_type_arch): Likewise.
|
||
(alloc_type_instance): Likewise.
|
||
* hppa-tdep.c (hppa_gdbarch_init): Likewise.
|
||
* inf-child.c (inf_child_can_use_agent): Likewise.
|
||
* inflow.c (get_inflow_inferior_data): Likewise.
|
||
* infrun.c (save_infcall_suspend_state): Likewise.
|
||
* jit.c (jit_reader_load): Likewise.
|
||
(get_jit_objfile_data): Likewise.
|
||
(get_jit_program_space_data): Likewise.
|
||
(jit_object_open_impl): Likewise.
|
||
(jit_symtab_open_impl): Likewise.
|
||
(jit_block_open_impl): Likewise.
|
||
(jit_frame_sniffer): Likewise.
|
||
* linux-fork.c (add_fork): Likewise.
|
||
* maint.c (make_command_stats_cleanup): Likewise.
|
||
* objfiles.c (get_objfile_pspace_data): Likewise.
|
||
* opencl-lang.c (struct lval_closure): Likewise.
|
||
* osdata.c (osdata_start_osdata): Likewise.
|
||
* progspace.c (new_address_space): Likewise.
|
||
(add_program_space): Likewise.
|
||
* remote-sim.c (get_sim_inferior_data): Likewise.
|
||
* sh-tdep.c (sh_gdbarch_init): Likewise.
|
||
* skip.c (Ignore): Likewise.
|
||
(skip_delete_command): Likewise.
|
||
* solib-aix.c (get_solib_aix_inferior_data): Likewise.
|
||
(library_list_start_library): Likewise.
|
||
(solib_aix_current_sos): Likewise.
|
||
* solib-darwin.c (get_darwin_info): Likewise.
|
||
(darwin_current_sos): Likewise.
|
||
* solib-dsbt.c (get_dsbt_info): Likewise.
|
||
* solib-ia64-hpux.c (new_so_list): Likewise.
|
||
(ia64_hpux_get_solib_linkage_addr): Likewise.
|
||
* solib-spu.c (append_ocl_sos): Likewise.
|
||
(spu_current_sos): Likewise.
|
||
* solib-svr4.c (get_svr4_info): Likewise.
|
||
(svr4_keep_data_in_core): Likewise.
|
||
(library_list_start_library): Likewise.
|
||
(svr4_default_sos): Likewise.
|
||
(svr4_read_so_list): Likewise.
|
||
* solib-target.c (library_list_start_library): Likewise.
|
||
(solib_target_current_sos): Likewise.
|
||
* sparc-tdep.c (sparc32_gdbarch_init): Likewise.
|
||
* symfile-debug.c (install_symfile_debug_logging): Likewise.
|
||
* symfile.c (default_symfile_segments): Likewise.
|
||
* target-descriptions.c (tdesc_data_init): Likewise.
|
||
(tdesc_create_reg): Likewise.
|
||
(struct tdesc_type *): Likewise.
|
||
(tdesc_create_vector): Likewise.
|
||
(tdesc_set_struct_size): Likewise.
|
||
(struct tdesc_type *): Likewise.
|
||
(tdesc_free_feature): Likewise.
|
||
(tdesc_create_feature): Likewise.
|
||
* windows-nat.c (windows_add_thread): Likewise.
|
||
(windows_make_so): Likewise.
|
||
* xml-support.c (gdb_xml_body_text): Likewise.
|
||
(gdb_xml_create_parser_and_cleanup): Likewise.
|
||
(xml_process_xincludes): Likewise.
|
||
* xml-syscall.c (allocate_syscalls_info): Likewise.
|
||
(syscall_create_syscall_desc): Likewise.
|
||
|
||
2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
|
||
|
||
* i386-tdep.c (i386_stap_parse_special_token_triplet): New
|
||
function, with code from i386_stap_parse_special_token.
|
||
(i386_stap_parse_special_token_three_arg_disp): Likewise.
|
||
(i386_stap_parse_special_token): Move code to the two functions
|
||
above; simplify it.
|
||
|
||
2014-01-09 Pedro Alves <palves@redhat.com>
|
||
Hui Zhu <hui@codesourcery.com>
|
||
|
||
PR gdb/16101
|
||
* breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
|
||
bp_err_string. Don't mark the location shlib_disabled if the
|
||
error thrown wasn't a generic or memory error. Catch errors
|
||
thrown while inserting breakpoints in overlayed code. Output
|
||
error message of software breakpoints.
|
||
* remote.c (remote_insert_breakpoint): If this breakpoint has
|
||
target-side commands but this stub doesn't support Z0 packets,
|
||
throw NOT_SUPPORTED_ERROR error.
|
||
* exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
|
||
* target.h (target_insert_breakpoint): Extend comment.
|
||
(target_insert_hw_breakpoint): Add comment.
|
||
|
||
2014-01-08 Pedro Alves <palves@redhat.com>
|
||
|
||
* remote.c (remote_add_thread): Add threads silently if starting
|
||
up.
|
||
(remote_notice_new_inferior): If in all-stop, and starting up,
|
||
don't call notice_new_inferior.
|
||
(get_current_thread): New function, factored out from ...
|
||
(add_current_inferior_and_thread): ... this. Adjust.
|
||
(remote_start_remote) <all-stop>: Fetch the thread list. If we
|
||
found any thread, then select the remote's current thread as GDB's
|
||
current thread too.
|
||
|
||
2014-01-08 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Create a new section for the next release branch.
|
||
Rename the section of the current branch, now that it has
|
||
been cut.
|
||
|
||
2014-01-08 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
|
||
* version.in: Bump version to 7.7.50.DATE-cvs.
|
||
|
||
2014-01-08 Yao Qi <yao@codesourcery.com>
|
||
|
||
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
|
||
type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
|
||
(spu_xfer_partial): Cast 'buf' to 'const char *'.
|
||
|
||
2014-01-08 Yao Qi <yao@codesourcery.com>
|
||
|
||
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
|
||
return value of bfd_get_filename to symbol_file_add_from_bfd.
|
||
|
||
2014-01-08 Pierre Muller <muller@sourceware.org>
|
||
|
||
Fix PR16201.
|
||
* coff-pe-read.c (struct read_pe_section_data): Add index field.
|
||
(add_pe_exported_sym): Use SECTION_DATA->INDEX for call
|
||
to prim_record_mininal_symbol_and_info.
|
||
(add_pe_forwarded_sym): Use known section number of forwarded symbol
|
||
in call to prim_record_minimal_symbol_and_info.
|
||
(read_pe_exported_syms): Set index field of section_data.
|
||
|
||
2014-01-07 Andrew Pinski <apinski@cavium.com>
|
||
|
||
* features/aarch64-core.xml (cpsr): Change to be 64bit.
|
||
* features/aarch64.c: Regenerate.
|
||
|
||
2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
|
||
|
||
* target.c (return_null): Define.
|
||
(update_current_target): Use it instead of return_zero for
|
||
functions that return a pointer.
|
||
|
||
2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
||
|
||
* source.c (add_path): Fix check for duplicated paths in the previously
|
||
included paths.
|
||
|
||
2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
|
||
|
||
* ada-lang.c: Remove duplicated include statements.
|
||
* alphabsd-nat.c: Ditto.
|
||
* amd64-darwin-tdep.c: Ditto.
|
||
* amd64fbsd-nat.c: Ditto.
|
||
* auto-load.c: Ditto.
|
||
* ax-gdb.c: Ditto.
|
||
* breakpoint.c: Ditto.
|
||
* dbxread.c: Ditto.
|
||
* fork-child.c: Ditto.
|
||
* gdb_usleep.c: Ditto.
|
||
* i386-darwin-tdep.c: Ditto.
|
||
* i386fbsd-nat.c: Ditto.
|
||
* infcmd.c: Ditto.
|
||
* inferior.c: Ditto.
|
||
* jv-lang.c: Ditto.
|
||
* linux-nat.c: Ditto.
|
||
* linux-tdep.c: Ditto.
|
||
* m68kbsd-nat.c: Ditto.
|
||
* m68klinux-nat.c: Ditto.
|
||
* microblaze-tdep.c: Ditto.
|
||
* mips-linux-tdep.c: Ditto.
|
||
* mn10300-tdep.c: Ditto.
|
||
* nto-tdep.c: Ditto.
|
||
* opencl-lang.c: Ditto.
|
||
* osdata.c: Ditto.
|
||
* printcmd.c: Ditto.
|
||
* regcache.c: Ditto.
|
||
* remote-m32r-sdi.c: Ditto.
|
||
* remote.c: Ditto.
|
||
* symfile.c: Ditto.
|
||
* symtab.c: Ditto.
|
||
* tilegx-linux-nat.c: Ditto.
|
||
* tilegx-tdep.c: Ditto.
|
||
* tracepoint.c: Ditto.
|
||
* valops.c: Ditto.
|
||
* vaxbsd-nat.c: Ditto.
|
||
* windows-nat.c: Ditto.
|
||
* xtensa-tdep.c: Ditto.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* spu-linux-nat.c (_initialize_spu_nat): Declare.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
|
||
(pdc_write_regs): Likewise.
|
||
(fetch_regs_kernel_thread): Likewise.
|
||
(store_regs_kernel_thread): Likewise.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
|
||
tagged type objects to their actual type.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (print_field_values): Add "language" parameter.
|
||
Update calls to print_field_values and print_variant_part.
|
||
Pass new parameter "language" in call to val_print instead
|
||
of "current_language". Replace call to ada_val_print by call
|
||
to val_print.
|
||
(print_variant_part): Add "language" parameter.
|
||
(ada_val_print_struct_union): Update call to print_field_values.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ui_memcpy): Delete.
|
||
(ada_print_floating): Update documentation. Add empty line
|
||
between between function documentation and implementation.
|
||
Delete variable "buffer". Use ui_file_xstrdup in place of
|
||
ui_file_put. Minor adjustments following this change.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_string): New function,
|
||
extracted from ada_val_print_array.
|
||
(ada_val_print_array): Replace extracted code by call
|
||
to ada_val_print_string followed by a return. Move
|
||
"else" branch to the function's top block.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_array): Move implementation
|
||
down. Rename parameter "offset" and "val" into "offset_aligned"
|
||
and "original_value" respectively. Add parameter "offset".
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_ref): Rewrite by mostly
|
||
re-organizing the code. Change the "???" message printed
|
||
when target type is a TYPE_CODE_UNDEF into
|
||
"<ref to undefined type>".
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (print_record): Delete, implementation inlined...
|
||
(ada_val_print_struct_union): ... here. Remove call to
|
||
ada_check_typedef in inlined implementation.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_gnat_array): New function,
|
||
extracted from ada_val_print_1;
|
||
(ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
|
||
(ada_val_print_flt, ada_val_print_struct_union)
|
||
(ada_val_print_ref): Likewise.
|
||
(ada_val_print_1): Delete variables i and elttype.
|
||
Replace extracted-out code by call to corresponding
|
||
new functions.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_1): Replace calls to
|
||
ada_val_print_1 by calls to val_print.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_val_print_1): Add parameter "language".
|
||
Update calls to self accordingly. Replace calls to c_val_print
|
||
by calls to val_print.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (print_record): Delete declaration.
|
||
(adjust_type_signedness, ada_val_print_1): Likewise.
|
||
(ada_val_print): Move function implementation down.
|
||
(print_variant_part, print_field_values, print_record):
|
||
Move function implementation up.
|
||
|
||
2014-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* python/py-type.c (typy_get_name): New function.
|
||
(type_object_getset): Add entry for attribute "name".
|
||
* NEWS: Add entry mentioning this new attribute.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
|
||
statement.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (info_port_rights): Add qualifier const to
|
||
argument args.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (trace_me): Use 'void' for empty argument list.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (make_inf) Update declaration.
|
||
(make_inf): Make it static.
|
||
(inf_set_traced): Likewise.
|
||
(inf_port_to_thread, inf_task_died_status): Likewise.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (inf_tid_to_proc): Remove declaration.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gnu-nat.c (_initialize_gnu_nat): Declare.
|
||
|
||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||
|
||
* gdbarch.sh (byte_order, byte_order_for_code): Change type to
|
||
'enum bfd_endian'.
|
||
(struct gdbarch_info) <byte_order>: Change type to
|
||
'enum bfd_endian'.
|
||
<byte_order_for_code>: Likewise.
|
||
* gdbarch.c, gdbarch.h: Regenerated.
|
||
|
||
2014-01-06 Sasha Smundak <asmundak@google.com>
|
||
|
||
* jit.c: (jit_reader_load_command): Fix JIT reader path creation.
|
||
|
||
2014-01-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
* doublest.c (convert_doublest_to_floatformat): Use const, not
|
||
CONST.
|
||
* somread.c (som_symtab_read): Likewise.
|
||
|
||
2014-01-07 Hui Zhu <hui@codesourcery.com>
|
||
|
||
* gdb_bfd.c (gdb_bfd_stash_filename): Removed.
|
||
(gdb_bfd_open): Removed gdb_bfd_stash_filename.
|
||
(gdb_bfd_fopen): Ditto.
|
||
(gdb_bfd_openr): Ditto.
|
||
(gdb_bfd_openw): Ditto.
|
||
(gdb_bfd_openr_iovec): Ditto.
|
||
(gdb_bfd_fdopenr): Ditto.
|
||
* gdb_bfd.h (gdb_bfd_stash_filename): Removed.
|
||
* solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
|
||
with xstrdup.
|
||
* solib-darwin.c (darwin_bfd_open): Alloc res->filename
|
||
with xstrdup.
|
||
* symfile-mem.c (symbol_file_add_from_memory): Removed
|
||
gdb_bfd_stash_filename.
|
||
|
||
2014-01-03 Doug Evans <dje@google.com>
|
||
|
||
* nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
|
||
output.
|
||
|
||
2014-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
2014-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* top.c (print_gdb_version): Set copyright year to 2014.
|
||
|
||
2014-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
|
||
|
||
For older changes see ChangeLog-2013.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
coding: utf-8
|
||
End:
|