Age | Commit message (Collapse) | Author | Files | Lines |
|
"name" parameter to const char ** from char **. All callers updated.
(find_pc_partial_function): Ditto.
(cache_pc_function_name): Change type to const char * from char *.
* symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
(find_pc_partial_function): Update.
* alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
All uses updated.
* arch-utils.c (generic_in_solib_return_trampoline): Change
type of "name" parameter to const char * from char *.
* arch-utils.h (generic_in_solib_return_trampoline): Update.
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
* gdbarch.sh (in_solib_return_trampoline): Ditto.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
* m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
type of "name" parameter to const char * from char *.
* skip.c (skip_function_pc): Ditto.
* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
* sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
* sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
* sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
* sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
* sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
* nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
* nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.
|
|
* gdb.reverse/until-precsave.exp: Also put "record save" under the
extended timeout.
|
|
* gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
* gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
|
|
* gdb.base/term.exp: Rewrite.
* gdb.base/term.c: New.
|
|
Try SIGKILL first, then PTRACE_KILL.
* linux-low.c (linux_kill_one_lwp): New.
(linux_kill_one_lwp): Rename to ...
(kill_one_lwp_callback): ... this. Use the new
linux_kill_one_lwp.
|
|
* gdb.base/default.exp (run "r" abbreviation, run): Add
extended-remote expected output.
|
|
2012-02-02 Pedro Alves <palves@redhat.com>
* tracepoint.c (cmd_qtminftpilen): Return 0 if there's no current
inferior.
gdb/
2012-02-02 Pedro Alves <palves@redhat.com>
* remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
the current inferior has no execution. Make sure the current
remote process matches gdb's current inferior.
|
|
* tui/tui-win.c (parse_scrolling_args): Don't write to possibly
read-only memory.
|
|
* symtab.c (lookup_language_this): Set block_found.
gdb/testsuite
* gdb.cp/dispcxx.exp: New file.
* gdb.cp/dispcxx.cc: New file.
|
|
|
|
* jit.c (struct jit_inferior_data): Rewrite.
(struct jit_objfile_data): New.
(get_jit_objfile_data): New function.
(add_objfile_entry): Update.
(jit_read_descriptor): Return int. Replace descriptor_addr
argument with inf_data. Update. Don't call error.
(jit_breakpoint_re_set_internal): Reorder logic. Update. Look up
descriptor here.
(jit_inferior_init): Don't look up descriptor. Don't call error.
(jit_reset_inferior_data_and_breakpoints)
(jit_inferior_created_observer): Remove.
(jit_inferior_exit_hook): Update.
(jit_executable_changed_observer): Remove.
(jit_event_handler): Update.
(free_objfile_data): Reset inferior data if needed.
(_initialize_jit): Update.
gdb/testsuite
* gdb.base/jit-simple.exp: New file.
* gdb.base/jit-simple.c: New file.
|
|
|
|
OVS: ----------------------------------------------------------------------
|
|
* libunwind-frame.c (libunwind_load): Display message if dlopen
failed.
|
|
* symtab.h (symbol_name_match_p_ftype): New typedef.
(iterate_over_symbols): Use the above.
* symtab.c (iterate_over_symbols): Likewise.
* language.h (language_defn->la_iterate_over_symbols): Likewise.
* ada-lang.c (ada_iterate_over_symbols): Likewise.
* linespec.c (iterate_over_all_matching_symtabs): Likewise.
(iterate_name_matcher): Document return values.
(collect_one_symbol): Likewise.
(collect_function_symbols): Likewise.
(collect_symbols): Likewise.
|
|
(ada_lookup_symbol_list): Add 'full_search' argument.
(ada_iterate_over_symbols): Pass 0 as full_search argument to
ada_lookup_symbol_list.
(ada_lookup_encoded_symbol): Update.
(get_var_value): Update.
* ada-exp.y (block_lookup): Update.
(write_var_or_type): Update.
(write_name_assoc): Update.
* ada-lang.h (ada_lookup_symbol_list): Update.
|
|
gdb/ChangeLog:
From: Josh Matthews <josh@joshmatthews.net> (tiny change)
Fix build error in Darwin port.
* i386-darwin-nat.c: Include i386-nat.h.
|
|
|
|
comment.
|
|
|
|
(SYMBOL_MATCHES_NATURAL_NAME): Tweak comment.
|
|
* gdb.base/skip.exp: Make test result unique.
|
|
|
|
* dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
argument. Check for recursive includes.
(dwarf_decode_macros): Create an include hash.
|
|
* configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
* ppc-linux-tdep.c: Include glibc-tdep.h.
(powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
(powerpc_linux_in_plt_stub): New function.
(powerpc_linux_in_dynsym_resolve_code): New function.
(ppc_skip_trampoline_code): New function.
(ppc_linux_init_abi): Use PPC specific functions rather than generic.
Use glibc_skip_solib_resolver.
|
|
* gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
compatibility with valgrind-3.7.0.
|
|
|
|
|
|
Code cleanup: Make 1440 bytes of data segment read-only.
* arch-utils.c (endian_enum): Make it const char *const [].
* arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
Likewise.
* breakpoint.c (always_inserted_enums): Likewise.
* cli/cli-cmds.c (script_ext_enums): Likewise.
* cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
enumlist parameter const char *const *.
* cli/cli-decode.h (struct cmd_list_element): Make the enums field
const char *const *.
* command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
parameter const char *const *.
* cris-tdep.c (cris_modes): Make it const char *const [].
* filesystem.c (target_file_system_kinds): Likewise.
* i386-tdep.c (valid_flavors, valid_conventions): Likewise.
* infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
(can_use_displaced_stepping_enum, scheduler_enums)
(exec_direction_names): Likewise.
* language.c (_initialize_language): Make the type_or_range_names and
case_sensitive_names variables const char *const [].
* mips-tdep.c (mips_abi_strings): Make it const char *const [].
* python/python.c (python_excp_enums): Likewise.
* remote.c (interrupt_sequence_modes): Likewise.
* rs6000-tdep.c (powerpc_vector_strings): Likewise.
* serial.c (logbase_enums): Likewise.
* sh-tdep.c (sh_cc_enum): Likewise.
* stack.c (print_frame_arguments_choices, print_entry_values_choices):
Likewise.
* symtab.c (multiple_symbols_modes): Likewise.
* tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
Likewise.
* utils.c (internal_problem_modes): Likewise.
|
|
|
|
Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
* linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
result.
|
|
* linux-low.c (linux_child_pid_to_exec_file): Delete.
(elf_64_file_p): Make static.
(linux_pid_exe_is_elf_64_file): New.
* linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p):
Delete declarations.
(linux_pid_exe_is_elf_64_file): Declare.
* linux-x86-low.c (x86_arch_setup): Use
linux_pid_exe_is_elf_64_file.
|
|
* configure: Regenerate.
|
|
* gdb.base/watchpoint.exp (no_hw): New global.
(maybe_clean_restart, maybe_reinitialize): If no_hw is set,
disable hw watchpoints.
(test_wide_location_1, test_wide_location_2): If no_hw is set,
don't expect hw watchpoints.
(no_hw_watchpoints): Always clean restart.
(do_tests): New procedure, factored out from the top level.
(top level): Run tests twice. Once with hw watchpoints enabled,
another time with hw watchpoints disabled.
|
|
* gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
out from the top level.
(top level): Call it instead.
|
|
* gdb.base/watchpoint.exp (top level): Re-enable hardware
watchpoints sooner.
|
|
* gdb.base/watchpoint.exp (top level): Delete watch ival3.
|
|
* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
"You may have requested too many hardware
breakpoints/watchpoints".
|
|
* gdb.base/watchpoint.exp (maybe_clean_restart)
(maybe_reinitialize): New.
(test_disabling_watchpoints): Call maybe_reinitialize. Don't
expect "hit N times".
(test_disabling_watchpoints, test_complex_watchpoint)
(test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
Call maybe_clean_restart.
(top level): Use clean_restart. Remove "mips-idt-*"
reinitialization.
|
|
* gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
|
|
* gdb.base/watchpoint.exp: Clean restart after tests that don't
require `initialize' anymore. Remove unnecessary `initialize'
calls.
|
|
* gdb.base/watchpoint.exp (wp_set): Delete.
(initialize, test_simple_watchpoint, top level): Remove dead code.
|
|
* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
typo.
|
|
* config/extended-gdbserver.exp: New file.
* lib/gdbserver-support.exp (gdbserver_start_extended): Extend
comment.
(gdbserver_start_multi, mi_gdbserver_start_multi): New.
* boards/native-extended-gdbserver.exp: New file.
|
|
|
|
|
|
|
|
(lookup_symbol_aux): Fix comment.
|
|
* psympriv.h (add_psymbol_to_list): Update.
|
|
|