2012-03-03 14:21:04 +00:00
|
|
|
|
2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (set_condition_evaluation_mode): Set
|
|
|
|
|
CONDITION_EVALUATION_MODE unconditionally.
|
|
|
|
|
|
2012-03-03 09:51:29 +00:00
|
|
|
|
2012-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
|
|
|
|
|
* common/agent.h: Update declaration.
|
|
|
|
|
* inf-child.c (inf_child_use_agent): New.
|
|
|
|
|
(inf_child_can_use_agent): New.
|
|
|
|
|
(inf_child_target): Initialize fields `to_use_agent'
|
|
|
|
|
and `to_can_use_agent'.
|
|
|
|
|
* agent.c (agent_new_objfile): New.
|
|
|
|
|
(_initialize_agent): Add agent_new_objfile to new_objfile
|
|
|
|
|
observer.
|
|
|
|
|
|
|
|
|
|
* linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
|
|
|
|
|
New.
|
|
|
|
|
(linux_target_install_ops): Initialize field
|
|
|
|
|
`to_static_tracepoint_markers_by_strid'.
|
|
|
|
|
* remote.c (free_current_marker): Move it to ...
|
|
|
|
|
* tracepoint.c (free_current_marker): ... here. New.
|
|
|
|
|
(cleanup_target_stop): New.
|
|
|
|
|
* tracepoint.h: Declare free_current_marker.
|
|
|
|
|
* NEWS: Add one entry about `info static-tracepoint-marker'.
|
|
|
|
|
|
2012-03-03 04:34:52 +00:00
|
|
|
|
2012-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/agent.c (agent_loaded_p): New.
|
|
|
|
|
(agent_look_up_symbols): New global.
|
|
|
|
|
* common/agent.h: Declare agent_loaded_p.
|
|
|
|
|
|
2012-03-03 04:04:35 +00:00
|
|
|
|
2012-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
|
|
|
|
|
(agent_capability_check, agent_capability_invalidate): New.
|
|
|
|
|
(symbol_list): New array element.
|
|
|
|
|
* common/agent.h (enum agent_capa): New.
|
|
|
|
|
* target.c (target_pre_inferior): Call agent_capability_invalidate.
|
|
|
|
|
|
2012-03-03 03:32:46 +00:00
|
|
|
|
2012-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops) <to_use_agent>: New field.
|
|
|
|
|
(struct target_ops) <to_can_use_agent>: New field.
|
|
|
|
|
(target_use_agent, target_can_use_agent): New macro.
|
|
|
|
|
* target.c (update_current_target): Update.
|
|
|
|
|
* remote.c: New enum `PACKET_QAgent'.
|
|
|
|
|
(remote_protocol_features): Add a new element.
|
|
|
|
|
(remote_use_agent, remote_can_use_agent): New.
|
|
|
|
|
(init_remote_ops): Initialize field `can_use_agent' with
|
|
|
|
|
remote_can_use_agent. Intiailize field `use_agent' with
|
|
|
|
|
remote_use_agent.
|
|
|
|
|
* common/agent.c (use_agent): New global.
|
|
|
|
|
* common/agent.h: Declare it.
|
|
|
|
|
* tracepoint.c (info_static_tracepoint_markers_command): Add
|
|
|
|
|
comment.
|
|
|
|
|
* Makefile.in (SFILES): Add common/agent.c and agent.c.
|
|
|
|
|
(COMMON_OBS): Add common/agent.o and agent.o
|
|
|
|
|
(common-agent.o): New rule.
|
|
|
|
|
* agent.c: New.
|
|
|
|
|
|
2012-03-03 03:08:36 +00:00
|
|
|
|
2012-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/agent.c: New.
|
|
|
|
|
* common/agent.h: New.
|
|
|
|
|
* configure.ac: Add `sys/socket.h' and `sys/un.h' to
|
|
|
|
|
AC_CHECK_HEADERS.
|
|
|
|
|
* configure, configh.in: Regenerated.
|
|
|
|
|
|
2012-03-03 01:27:47 +00:00
|
|
|
|
2012-03-02 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
|
|
|
|
|
unless it exists for this architecture.
|
|
|
|
|
|
language-specific read_var_value for Ada renamings
The purpose of this patch is to better support renamings in the
"info locals" command. Consider ...
procedure Foo is
GV : Integer renames Pck.Global_Variable;
begin
Increment (GV); -- STOP
end Foo;
... Pck.Global_Variable is just an integer. After having stopped at
the "STOP" line, "info locals" yields:
(gdb) info locals
gv = <error reading variable gv (Cannot access memory at address 0xffffffffffffffff)>
In reality, two things are happening:
(1) Variable "GV" does not exist, which is normal, since there is
"GV" the renaming of another variable;
(2) But to allow the user access to that renaming the same way
the code has, the compiler produces an artificial variable
whose name encodes the renaming:
gv___XR_pck__global_variable___XE
For practical reasons, the artificial variable itself is given
irrelevant types and addresses.
But the "info locals" command does not act as if it was a short-cut
of "foreach VAR in locals, print VAR". Instead it gets the value of
each VAR directly, which does not work in this case, since the variable
is artificial and needs to be decoded first.
This patch makes the "read_var_value" routine language-specific.
The old implementation of "read_var_value" gets renamed to
"default_read_var_value" and all languages now use it (unchanged
behavior), except for Ada. In Ada, the new function ada_read_var_value
checks if we have a renaming, and if so, evaluates its value, or else
defers to default_read_var_value.
gdb/ChangeLog:
* language.h (struct language_defn): New "method" la_read_var_value.
* findvar.c: #include "language.h".
(default_read_var_value): Renames read_var_value. Rewrite
function description.
(read_var_value): New function.
* value.h (default_read_var_value): Add prototype.
* ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
New functions.
(ada_language_defn): Add entry for la_read_var_value.
* c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
* m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
language_defn structures to add entry for new la_read_var_value
field.
2012-03-02 19:29:01 +00:00
|
|
|
|
2012-03-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* language.h (struct language_defn): New "method" la_read_var_value.
|
|
|
|
|
* findvar.c: #include "language.h".
|
|
|
|
|
(default_read_var_value): Renames read_var_value. Rewrite
|
|
|
|
|
function description.
|
|
|
|
|
(read_var_value): New function.
|
|
|
|
|
* value.h (default_read_var_value): Add prototype.
|
|
|
|
|
* ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
|
|
|
|
|
New functions.
|
|
|
|
|
(ada_language_defn): Add entry for la_read_var_value.
|
|
|
|
|
* c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
|
|
|
|
|
* m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
|
|
|
|
|
language_defn structures to add entry for new la_read_var_value
|
|
|
|
|
field.
|
|
|
|
|
|
2012-03-02 19:26:10 +00:00
|
|
|
|
2012-03-02 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR breakpoints/13776:
|
|
|
|
|
* breakpoint.c (breakpoint_init_inferior): Delete step-resume
|
|
|
|
|
breakpoints.
|
|
|
|
|
(delete_longjmp_breakpoint_at_next_stop): New.
|
|
|
|
|
* breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
|
|
|
|
|
* target.c (generic_mourn_inferior): Call mark_breakpoints_out
|
|
|
|
|
before deleting the inferior. Add comments.
|
|
|
|
|
* thread.c (clear_thread_inferior_resources): Don't delete lonjmp
|
|
|
|
|
breakpoints immediately, but only on next stop. Move that code
|
|
|
|
|
next to where we mark other breakpoints for deletion.
|
|
|
|
|
|
2012-03-02 19:14:30 +00:00
|
|
|
|
2012-03-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* mips-linux-nat.c (mips_linux_read_description): Add missing i18n
|
|
|
|
|
marker.
|
|
|
|
|
* mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
|
|
|
|
|
violation.
|
|
|
|
|
|
2012-03-02 16:54:59 +00:00
|
|
|
|
2012-03-02 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linux-thread-db.c (attach_thread): Avoid in_thread_list call.
|
|
|
|
|
|
2012-03-02 13:38:39 +00:00
|
|
|
|
2012-03-02 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
|
|
|
|
|
* remote-sim.c (gdbsim_has_all_memory): Likewise.
|
|
|
|
|
(gdbsim_has_memory): Likewise.
|
|
|
|
|
|
2012-03-02 12:56:50 +00:00
|
|
|
|
2012-03-02 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* charset.c (phony_iconv_open): Make static.
|
|
|
|
|
(phony_iconv_close, phony_iconv): Likewise.
|
|
|
|
|
* i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
|
|
|
|
|
* i386-windows-nat.c (_initialize_i386_windows_nat): New
|
|
|
|
|
prototype.
|
|
|
|
|
* mingw-hdep.c (_initialize_mingw_hdep): New prototype.
|
|
|
|
|
* ser-mingw.c (create_select_thread): Make static.
|
|
|
|
|
* windows-termcap.c (tgetent): New prototype.
|
|
|
|
|
(tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
|
|
|
|
|
|
2012-03-02 05:38:51 +00:00
|
|
|
|
2012-03-02 Zhang Yuanhui <asmwarrior@gmail.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
|
|
|
|
|
(_initialize_windows_nat, _initialize_check_for_gdb_ini)
|
|
|
|
|
(_initialize_loadable): New prototypes.
|
|
|
|
|
|
2012-03-02 01:55:15 +00:00
|
|
|
|
2012-03-02 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
|
|
|
|
|
abbrev table, read_comp_unit will do it.
|
|
|
|
|
|
2012-03-02 00:06:13 +00:00
|
|
|
|
2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
|
|
|
|
|
* amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
|
|
|
|
|
* amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
|
|
|
|
|
* arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
|
|
|
|
|
(_initialize_arm_symbian_tdep): New prototype.
|
|
|
|
|
* arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
|
|
|
|
|
* i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
|
|
|
|
|
static.
|
|
|
|
|
* lm32-tdep.c (_initialize_lm32_tdep): New prototype.
|
|
|
|
|
* microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
|
|
|
|
|
prototype.
|
|
|
|
|
* microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
|
|
|
|
|
(microblaze_skip_prologue, microblaze_frame_cache): Make them static.
|
|
|
|
|
* mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
|
|
|
|
|
static.
|
|
|
|
|
* moxie-tdep.c (moxie_process_record): Likewise.
|
|
|
|
|
* remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
|
|
|
|
|
(mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
|
|
|
|
|
* rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
|
|
|
|
|
(_initialize_rl78_tdep): New prototype.
|
|
|
|
|
* rx-tdep.c (rx_breakpoint_from_pc): Make it static.
|
|
|
|
|
(_initialize_rx_tdep): New prototype.
|
|
|
|
|
* solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
|
|
|
|
|
(_initialize_darwin_solib): New prototype.
|
|
|
|
|
* solib-spu.c: Include solib-spu.h.
|
|
|
|
|
(_initialize_spu_solib): New prototype.
|
|
|
|
|
* spu-multiarch.c (_initialize_spu_multiarch): New prototype.
|
|
|
|
|
* tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
|
|
|
|
|
(tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
|
|
|
|
|
(tic6x_software_single_step): Make it static.
|
|
|
|
|
(_initialize_tic6x_tdep): New prototype.
|
|
|
|
|
|
2012-03-02 00:01:24 +00:00
|
|
|
|
2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* cris-tdep.c (cris_can_use_hardware_watchpoint)
|
|
|
|
|
(cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
|
|
|
|
|
|
2012-03-01 23:58:48 +00:00
|
|
|
|
2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
|
|
|
|
|
(frv_have_stopped_data_address): Remove.
|
|
|
|
|
|
2012-03-01 23:55:40 +00:00
|
|
|
|
2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix -Wmissing-prototypes build.
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
|
|
|
|
|
* sh-tdep.c: Include sh64-tdep.h.
|
|
|
|
|
* sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
|
|
|
|
|
* sh64-tdep.c: Include sh64-tdep.h.
|
|
|
|
|
* sh64-tdep.h: New file.
|
|
|
|
|
|
2012-03-01 23:35:46 +00:00
|
|
|
|
2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips32_scan_prologue): Correct indentation.
|
|
|
|
|
|
2012-03-01 22:52:03 +00:00
|
|
|
|
2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
|
|
|
|
|
sp_regnum once the gdbarch_init_osabi hook has been called.
|
|
|
|
|
|
2012-03-01 22:37:51 +00:00
|
|
|
|
2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips32_bc1_pc): New function.
|
|
|
|
|
(mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
|
|
|
|
|
BPOSGE32 and BPOSGE64 instructions.
|
|
|
|
|
(deal_with_atomic_sequence): Likewise.
|
|
|
|
|
(mips32_instruction_has_delay_slot): Likewise.
|
|
|
|
|
|
gdb/
* features/mips-dsp.xml: New file.
* features/mips64-dsp.xml: New file.
* features/mips-dsp-linux.xml: New file.
* features/mips64-dsp-linux.xml: New file.
* features/Makefile (WHICH): Add mips-dsp-linux and
mips64-dsp-linux.
(mips-dsp-expedite, mips64-dsp-expedite): New variables.
* features/mips-dsp-linux.c: New file.
* features/mips64-dsp-linux.c: New file.
* regformats/mips-dsp-linux.dat: New file.
* regformats/mips64-dsp-linux.dat: New file.
* mips-linux-nat.c (mips_linux_register_addr): Handle DSP
registers.
(mips64_linux_register_addr): Likewise.
(mips64_linux_regsets_fetch_registers): Likewise.
(mips64_linux_regsets_store_registers): Likewise.
(mips64_linux_fetch_registers): Update call to
mips64_linux_regsets_fetch_registers.
(mips64_linux_store_registers): Update call to
mips64_linux_regsets_store_registers.
(mips_linux_read_description): Probe for DSP registers.
(_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
and initialize_tdesc_mips64_dsp_linux.
* mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
Remove padding of no longer used embedded register slots.
* mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
(MIPS_RESTART_REGNUM): Redefine enum value.
* mips-tdep.c (mips_generic_reg_names): Remove trailing null
strings.
(mips_tx39_reg_names): Likewise.
(mips_linux_reg_names): New array of register names for Linux
targets.
(mips_register_name): Check for a null pointer in
mips_processor_reg_names and return an empty string.
(mips_register_type): Exclude embedded registers for the IRIX
and Linux ABIs.
(mips_pseudo_register_type): Likewise. Use dynamic numbers to
refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
DSP registers.
(mips_stab_reg_to_regnum): Handle DSP accumulators.
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
(mips_gdbarch_init): Likewise. Initialize internal register
indices for the Linux ABI. Use dynamic numbers to refer to
registers, as applicable, while parsing the target description.
* mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
gdb/doc/
* gdb.texinfo (MIPS Features): Add org.gnu.gdb.mips.dsp.
gdb/gdbserver/
* linux-low.h (linux_target_ops): Add regset_bitmap member.
* linux-low.c (use_linux_regsets): New macro.
[!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise.
[!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise.
(linux_register_in_regsets): New function.
(usr_fetch_inferior_registers): Skip registers covered by
regsets.
(usr_store_inferior_registers): Likewise.
(usr_fetch_inferior_registers): New macro.
(usr_store_inferior_registers): Likewise.
(linux_fetch_registers): Handle mixed regset/non-regset targets.
(linux_store_registers): Likewise.
* linux-mips-low.c (init_registers_mips_dsp_linux): New
prototype.
(init_registers_mips64_dsp_linux): Likewise.
(init_registers_mips_linux): New macro.
(init_registers_mips_dsp_linux): Likewise.
(mips_dsp_num_regs): Likewise.
(DSP_BASE, DSP_CONTROL): New fallback macros.
(mips_base_regs): New macro.
(mips_regmap): Use it. Fix the size.
(mips_dsp_regmap): New variable.
(mips_dsp_regset_bitmap): Likewise.
(mips_arch_setup): New function.
(mips_cannot_fetch_register): Use the_low_target.regmap rather
than mips_regmap.
(mips_cannot_store_register): Likewise.
(the_low_target): Update .arch_setup, .num_regs and .regmap
initializers. Add .regset_bitmap initializer.
* linux-arm-low.c (the_low_target): Add .regset_bitmap
initializer.
* linux-bfin-low.c (the_low_target): Likewise.
* linux-cris-low.c (the_low_target): Likewise.
* linux-crisv32-low.c (the_low_target): Likewise.
* linux-ia64-low.c (the_low_target): Likewise.
* linux-m32r-low.c (the_low_target): Likewise.
* linux-m68k-low.c (the_low_target): Likewise.
* linux-ppc-low.c (the_low_target): Likewise.
* linux-s390-low.c (the_low_target): Likewise.
* linux-sh-low.c (the_low_target): Likewise.
* linux-sparc-low.c (the_low_target): Likewise.
* linux-tic6x-low.c (the_low_target): Likewise.
* linux-x86-low.c (the_low_target): Likewise.
* linux-xtensa-low.c (the_low_target): Likewise.
* configure.srv <mips*-*-linux*>: Add mips-dsp-linux.o and
mips64-dsp-linux.o to srv_regobj. Add mips-dsp-linux.xml,
mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to
srv_xmlfiles.
* Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets.
(mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise.
gdb/testsuite/
* gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
core registers.
2012-03-01 22:19:48 +00:00
|
|
|
|
2012-03-01 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
Chris Dearman <chris@mips.com>
|
|
|
|
|
Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* features/mips-dsp.xml: New file.
|
|
|
|
|
* features/mips64-dsp.xml: New file.
|
|
|
|
|
* features/mips-dsp-linux.xml: New file.
|
|
|
|
|
* features/mips64-dsp-linux.xml: New file.
|
|
|
|
|
* features/Makefile (WHICH): Add mips-dsp-linux and
|
|
|
|
|
mips64-dsp-linux.
|
|
|
|
|
(mips-dsp-expedite, mips64-dsp-expedite): New variables.
|
|
|
|
|
* features/mips-dsp-linux.c: New file.
|
|
|
|
|
* features/mips64-dsp-linux.c: New file.
|
|
|
|
|
* regformats/mips-dsp-linux.dat: New file.
|
|
|
|
|
* regformats/mips64-dsp-linux.dat: New file.
|
|
|
|
|
* mips-linux-nat.c (mips_linux_register_addr): Handle DSP
|
|
|
|
|
registers.
|
|
|
|
|
(mips64_linux_register_addr): Likewise.
|
|
|
|
|
(mips64_linux_regsets_fetch_registers): Likewise.
|
|
|
|
|
(mips64_linux_regsets_store_registers): Likewise.
|
|
|
|
|
(mips64_linux_fetch_registers): Update call to
|
|
|
|
|
mips64_linux_regsets_fetch_registers.
|
|
|
|
|
(mips64_linux_store_registers): Update call to
|
|
|
|
|
mips64_linux_regsets_store_registers.
|
|
|
|
|
(mips_linux_read_description): Probe for DSP registers.
|
|
|
|
|
(_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
|
|
|
|
|
and initialize_tdesc_mips64_dsp_linux.
|
|
|
|
|
* mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
|
|
|
|
|
Remove padding of no longer used embedded register slots.
|
|
|
|
|
* mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
|
|
|
|
|
(MIPS_RESTART_REGNUM): Redefine enum value.
|
|
|
|
|
* mips-tdep.c (mips_generic_reg_names): Remove trailing null
|
|
|
|
|
strings.
|
|
|
|
|
(mips_tx39_reg_names): Likewise.
|
|
|
|
|
(mips_linux_reg_names): New array of register names for Linux
|
|
|
|
|
targets.
|
|
|
|
|
(mips_register_name): Check for a null pointer in
|
|
|
|
|
mips_processor_reg_names and return an empty string.
|
|
|
|
|
(mips_register_type): Exclude embedded registers for the IRIX
|
|
|
|
|
and Linux ABIs.
|
|
|
|
|
(mips_pseudo_register_type): Likewise. Use dynamic numbers to
|
|
|
|
|
refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
|
|
|
|
|
DSP registers.
|
|
|
|
|
(mips_stab_reg_to_regnum): Handle DSP accumulators.
|
|
|
|
|
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
|
|
|
|
|
(mips_gdbarch_init): Likewise. Initialize internal register
|
|
|
|
|
indices for the Linux ABI. Use dynamic numbers to refer to
|
|
|
|
|
registers, as applicable, while parsing the target description.
|
|
|
|
|
* mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
|
|
|
|
|
|
2012-03-01 22:47:46 +00:00
|
|
|
|
2012-03-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (read_frame_register_unsigned): Fix typo in function
|
|
|
|
|
description.
|
|
|
|
|
|
2012-03-01 21:26:48 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* jit-reader.in [!__cplusplus]
|
|
|
|
|
(GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
|
|
|
|
|
|
2012-03-01 21:14:53 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (build_warnings): Add -Wmissing-prototypes.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
* breakpoint.c (create_exception_master_breakpoint, trace_command)
(ftrace_command, strace_command): Make static.
* d-lang.c (_initialize_d_language): Declare.
* dwarf2expr.c (_initialize_dwarf2expr): Declare.
* dwarf2loc.c (_initialize_dwarf2loc):
* dwarf2read.c (process_psymtab_comp_unit): Make static.
* exec.c (exec_get_section_table): Make static.
* i386-linux-tdep.c (i386_linux_record_signal): Make static.
* infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
* inferior.c (remove_inferior_command, add_inferior_command)
(clone_inferior_command): Make static.
* linux-nat.c (linux_nat_thread_address_space)
(linux_nat_core_of_thread): Make static.
* linux-tdep.c (_initialize_linux_tdep): Declare.
* objc-lang.c (_initialize_objc_lang): Declare.
* opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
Make static.
(_initialize_opencl_language): Declare.
* record.c (_initialize_record): Declare.
* remote.c (demand_private_info, remote_get_tib_address)
(remote_supports_cond_tracepoints)
(remote_supports_fast_tracepoints, remote_get_tracepoint_status):
Make static.
* skip.c (_initialize_step_skip): Declare.
* symtab.c (skip_prologue_using_lineinfo): Make static.
* tracepoint.c (delete_trace_state_variable)
(trace_variable_command, delete_trace_variable_command)
(get_uploaded_tsv, find_matching_tracepoint_location)
(find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
Make static.
* value.c (pack_unsigned_long): Make static.
* varobj.c (varobj_ensure_python_env): Make static.
* windows-tdep.c (_initialize_windows_tdep): Declare.
* xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
2012-03-01 21:14:00 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
|
|
|
|
|
* breakpoint.c (create_exception_master_breakpoint, trace_command)
|
|
|
|
|
(ftrace_command, strace_command): Make static.
|
|
|
|
|
* d-lang.c (_initialize_d_language): Declare.
|
|
|
|
|
* dwarf2expr.c (_initialize_dwarf2expr): Declare.
|
|
|
|
|
* dwarf2loc.c (_initialize_dwarf2loc):
|
|
|
|
|
* dwarf2read.c (process_psymtab_comp_unit): Make static.
|
|
|
|
|
* exec.c (exec_get_section_table): Make static.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_record_signal): Make static.
|
|
|
|
|
* infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
|
|
|
|
|
* inferior.c (remove_inferior_command, add_inferior_command)
|
|
|
|
|
(clone_inferior_command): Make static.
|
|
|
|
|
* linux-nat.c (linux_nat_thread_address_space)
|
|
|
|
|
(linux_nat_core_of_thread): Make static.
|
|
|
|
|
* linux-tdep.c (_initialize_linux_tdep): Declare.
|
|
|
|
|
* objc-lang.c (_initialize_objc_lang): Declare.
|
|
|
|
|
* opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
|
|
|
|
|
Make static.
|
|
|
|
|
(_initialize_opencl_language): Declare.
|
|
|
|
|
* record.c (_initialize_record): Declare.
|
|
|
|
|
* remote.c (demand_private_info, remote_get_tib_address)
|
|
|
|
|
(remote_supports_cond_tracepoints)
|
|
|
|
|
(remote_supports_fast_tracepoints, remote_get_tracepoint_status):
|
|
|
|
|
Make static.
|
|
|
|
|
* skip.c (_initialize_step_skip): Declare.
|
|
|
|
|
* symtab.c (skip_prologue_using_lineinfo): Make static.
|
|
|
|
|
* tracepoint.c (delete_trace_state_variable)
|
|
|
|
|
(trace_variable_command, delete_trace_variable_command)
|
|
|
|
|
(get_uploaded_tsv, find_matching_tracepoint_location)
|
|
|
|
|
(find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
|
|
|
|
|
Make static.
|
|
|
|
|
* value.c (pack_unsigned_long): Make static.
|
|
|
|
|
* varobj.c (varobj_ensure_python_env): Make static.
|
|
|
|
|
* windows-tdep.c (_initialize_windows_tdep): Declare.
|
|
|
|
|
* xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
|
|
|
|
|
|
2012-03-01 21:12:47 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linux-tdep.c (linux_has_shared_address_space): Make static. Add
|
|
|
|
|
gdbarch parameter.
|
|
|
|
|
(linux_init_abi): Install it as has_shared_address_space gdbarch
|
|
|
|
|
callback.
|
|
|
|
|
|
2012-03-01 21:12:05 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* observer.c (observer_test_first_notification_function)
|
|
|
|
|
(observer_test_second_notification_function)
|
|
|
|
|
(observer_test_third_notification_function): Add declarations.
|
|
|
|
|
|
2012-03-01 21:11:23 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common/signals.c (default_target_signal_to_host)
|
|
|
|
|
(default_target_signal_from_host): Move ...
|
|
|
|
|
* arch-utils.c: ... here.
|
|
|
|
|
* arch-utils.h (default_target_signal_to_host)
|
|
|
|
|
(default_target_signal_from_host): Declare.
|
|
|
|
|
|
|
|
|
|
* common/signals.c (target_signal_from_command): Move ...
|
|
|
|
|
* infrun.c: ... here.
|
|
|
|
|
* inferior.h (target_signal_from_command): Declare.
|
|
|
|
|
* target.h (target_signal_from_command)
|
|
|
|
|
(default_target_signal_from_host, default_target_signal_to_host):
|
|
|
|
|
Delete declarations.
|
|
|
|
|
|
|
|
|
|
* common/signals.c (_initialize_signals): Delete.
|
|
|
|
|
|
2012-03-01 21:09:55 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
|
|
|
|
|
both __cplusplus and !__cplusplus.
|
|
|
|
|
|
2012-03-01 21:09:16 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* psymtab.c (find_and_open_source): Delete declaration.
|
|
|
|
|
* source.c (find_and_open_source): Move comment ...
|
|
|
|
|
* source.h (find_and_open_source): ... to this new declaration.
|
|
|
|
|
|
2012-03-01 21:08:37 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* inline-frame.c: Include inline-frame.h.
|
|
|
|
|
|
2012-03-01 21:08:07 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tui/tui-data.c (set_gen_win_origin): Delete.
|
|
|
|
|
* tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
|
|
|
|
|
* tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
|
|
|
|
|
|
2012-03-01 21:07:31 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (encode_actions): Delete declaration.
|
|
|
|
|
* tracepoint.c (encode_actions): Make extern.
|
|
|
|
|
* tracepoint.h (encode_actions): Declare.
|
|
|
|
|
|
2012-03-01 21:06:54 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/py-breakpoint.c: Include python.h.
|
|
|
|
|
* python/py-continueevent.c (create_continue_event_object): Make
|
|
|
|
|
static.
|
|
|
|
|
* python/py-lazy-string.c (stpy_get_type): Make static.
|
|
|
|
|
* python/py-newobjfileevent.c (create_new_objfile_event_object):
|
|
|
|
|
Make static.
|
|
|
|
|
* python/py-utils.c (unicode_to_target_python_string): Make
|
|
|
|
|
static.
|
|
|
|
|
* python/py-value.c: Include python.h.
|
|
|
|
|
|
2012-03-01 21:06:14 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* inferior.c (delete_threads_of_inferior): Delete.
|
|
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
Import fallback definitions from glibc.
* gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
ps_prochandle): Forward declare.
(ps_err_e): Use glibc's comments.
[!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
(ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
(ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
(ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
(ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
(struct ps_prochandle): Adjust comment.
2012-03-01 21:05:31 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
Import fallback definitions from glibc.
|
|
|
|
|
|
|
|
|
|
* gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
|
|
|
|
|
ps_prochandle): Forward declare.
|
|
|
|
|
(ps_err_e): Use glibc's comments.
|
|
|
|
|
[!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
|
|
|
|
|
(ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
|
|
|
|
|
(ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
|
|
|
|
|
(ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
|
|
|
|
|
(ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
|
|
|
|
|
(struct ps_prochandle): Adjust comment.
|
|
|
|
|
|
2012-03-01 21:03:15 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_modulus_from_name): Delete.
|
|
|
|
|
* ada-lex.l (lexer_init): Make static.
|
|
|
|
|
|
2012-03-01 20:49:02 +00:00
|
|
|
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/13767
|
|
|
|
|
|
|
|
|
|
* frame.c (read_frame_register_unsigned): New.
|
|
|
|
|
* frame.h (read_frame_register_unsigned): Declare.
|
|
|
|
|
* i387-tdep.c (print_i387_status_word): New parameter `status_p'.
|
|
|
|
|
Handle it.
|
|
|
|
|
(print_i387_control_word): New parameter `control_p'. Handle it.
|
|
|
|
|
(i387_print_float_info): Handle unavailable float registers.
|
|
|
|
|
|
2012-03-01 20:33:09 +00:00
|
|
|
|
2012-03-01 Keith Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_2): Sort the list of methods
|
|
|
|
|
alphabetically before presenting the user with a selection
|
|
|
|
|
menu.
|
|
|
|
|
|
2012-03-01 19:55:35 +00:00
|
|
|
|
2012-03-01 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
|
|
|
|
|
has_namespace_info.
|
|
|
|
|
(dwarf2_read_abbrevs): Remove corresponding initialization.
|
|
|
|
|
|
2012-03-01 19:30:25 +00:00
|
|
|
|
2012-03-01 Scott J. Goldman <scottjg@vmware.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new python command class gdb.COMMAND_USER.
|
|
|
|
|
* cli/cli-cmds.c (show_user): Print error when used on a python
|
|
|
|
|
command.
|
|
|
|
|
(init_cli_cmds): Update documentation strings for "show user" and
|
|
|
|
|
"set/show max-user-call-depth" to clarify that it does not apply to
|
|
|
|
|
python commands.
|
|
|
|
|
* python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
|
|
|
|
|
error check.
|
|
|
|
|
(gdbpy_initialize_commands): Add COMMAND_USER as a constant in
|
|
|
|
|
gdb python api.
|
|
|
|
|
* top.c (execute_command): Only execute a user-defined command as a
|
|
|
|
|
legacy macro if c->user_commands is set.
|
|
|
|
|
|
* valprint.h (struct generic_val_print_decorations): New.
(generic_val_print): Declare.
* valprint.c (generic_val_print): New function.
* p-valprint.c (p_decorations): New global.
(pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
* m2-valprint.c (m2_decorations): New global.
(m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
TYPE_CODE_ERROR>: Call generic_val_print.
* f-valprint.c (f_decorations): New global.
(f_val_print): Use print_function_pointer_address.
<TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
generic_val_print.
* c-valprint.c (c_decorations): New global.
(c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
* ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
case.
2012-03-01 19:27:18 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* valprint.h (struct generic_val_print_decorations): New.
|
|
|
|
|
(generic_val_print): Declare.
|
|
|
|
|
* valprint.c (generic_val_print): New function.
|
|
|
|
|
* p-valprint.c (p_decorations): New global.
|
|
|
|
|
(pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
|
|
|
|
|
TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
|
|
|
|
|
TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
|
|
|
|
|
TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
|
|
|
|
|
* m2-valprint.c (m2_decorations): New global.
|
|
|
|
|
(m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
|
|
|
|
|
TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
|
|
|
|
|
TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
|
|
|
|
|
TYPE_CODE_ERROR>: Call generic_val_print.
|
|
|
|
|
* f-valprint.c (f_decorations): New global.
|
|
|
|
|
(f_val_print): Use print_function_pointer_address.
|
|
|
|
|
<TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
|
|
|
|
|
TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
|
|
|
|
|
TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
|
|
|
|
|
generic_val_print.
|
|
|
|
|
* c-valprint.c (c_decorations): New global.
|
|
|
|
|
(c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
|
|
|
|
|
TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
|
|
|
|
|
TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
|
|
|
|
|
TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
|
|
|
|
|
TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
|
|
|
|
|
* ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
|
|
|
|
|
case.
|
|
|
|
|
|
2012-03-01 19:26:13 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* valprint.c (val_print): Update.
|
|
|
|
|
* p-valprint (pascal_val_print): Return void.
|
|
|
|
|
* p-lang.h (pascal_val_print): Return void.
|
|
|
|
|
* m2-valprint.c (m2_val_print): Return void.
|
|
|
|
|
* m2-lang.h (m2_val_print): Return void.
|
|
|
|
|
* language.h (struct language_defn) <la_val_print>: Return void.
|
|
|
|
|
* language.c (unk_lang_val_print): Return void.
|
|
|
|
|
* jv-valprint.c (java_val_print): Return void.
|
|
|
|
|
* jv-lang.h (java_val_print): Return void.
|
|
|
|
|
* f-valprint.c (f_val_print): Return void.
|
|
|
|
|
* f-lang.h (f_val_print): Return void.
|
|
|
|
|
* d-valprint.c (d_val_print): Return void.
|
|
|
|
|
(dynamic_array_type): Update.
|
|
|
|
|
* d-lang.h (d_val_print): Return void.
|
|
|
|
|
* c-valprint.c (c_val_print): Return void.
|
|
|
|
|
* c-lang.h (c_val_print): Return void.
|
|
|
|
|
* ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
|
|
|
|
|
void.
|
|
|
|
|
* ada-lang.h (ada_val_print): Return void.
|
|
|
|
|
|
2012-03-01 19:24:57 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.h (val_print): Return void.
|
|
|
|
|
* valprint.c (val_print): Return void.
|
|
|
|
|
|
2012-03-01 19:23:36 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.h (common_val_print): Return void.
|
|
|
|
|
* valprint.c (common_val_print): Return void.
|
|
|
|
|
|
2012-03-01 19:22:22 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.h (value_print): Return void.
|
|
|
|
|
* valprint.c (value_print): Return void.
|
|
|
|
|
* p-valprint.c (pascal_value_print): Return void.
|
|
|
|
|
* p-lang.h (pascal_value_print): Return void.
|
|
|
|
|
* language.h (struct language_defn) <la_value_print>: Return
|
|
|
|
|
void.
|
|
|
|
|
* language.c (unk_lang_value_print): Return void.
|
|
|
|
|
* jv-valprint.c (java_value_print): Return void.
|
|
|
|
|
* jv-lang.h (java_value_print): Return void.
|
|
|
|
|
* f-valprint.c (c_value_print): Don't declare.
|
|
|
|
|
Include c-lang.h.
|
|
|
|
|
* c-valprint.c (c_value_print): Return void.
|
|
|
|
|
* c-lang.h (c_value_print): Return void.
|
|
|
|
|
* ada-valprint.c (ada_value_print): Return void.
|
|
|
|
|
* ada-lang.h (ada_value_print): Return void.
|
|
|
|
|
|
2012-03-01 18:28:16 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.c (value_primitive_field): Handle virtual base classes.
|
|
|
|
|
|
2012-03-01 18:26:13 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbtypes.h (struct vbase): Remove.
|
|
|
|
|
|
2012-03-01 18:25:19 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* c-valprint.c (print_function_pointer_address): Move...
|
|
|
|
|
* valprint.c: ... here. Make non-static.
|
|
|
|
|
* m2-valprint.c (print_function_pointer_address): Remove.
|
|
|
|
|
* valprint.h (print_function_pointer_address): Declare.
|
|
|
|
|
|
2012-03-01 18:12:43 +00:00
|
|
|
|
2012-03-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Document the fact that one can provide a condition when
|
|
|
|
|
creating an Ada exception catchpoint.
|
|
|
|
|
|
2012-03-01 15:50:16 +00:00
|
|
|
|
2012-03-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* valprint.c (val_print_type_code_flags): Fix placement of
|
|
|
|
|
trailing brace.
|
|
|
|
|
|
2012-03-01 02:41:14 +00:00
|
|
|
|
2012-03-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
|
|
|
|
|
(update_files): Do not set MULTILINE_COMMENT_PREFIXES
|
|
|
|
|
environment variable before calling update-copyright.
|
|
|
|
|
|
2012-03-01 02:41:04 +00:00
|
|
|
|
2012-03-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gnulib/extra/update-copyright: Update to the latest from
|
|
|
|
|
gnulib's git repository.
|
|
|
|
|
* copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
|
|
|
|
|
variable to 2 instead of 1.
|
|
|
|
|
|
2012-03-01 01:59:22 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* varobj.c (c_value_of_variable): Remove dead code.
|
|
|
|
|
|
2012-02-29 19:53:16 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lex.p (processId): Do not modify already encoded IDs.
|
|
|
|
|
Update function documentation.
|
|
|
|
|
|
2012-02-29 19:51:49 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.h (ada_find_renaming_symbol): Replace parameter
|
|
|
|
|
"name" with "struct symbol *name_sym".
|
|
|
|
|
* ada-exp.y (write_var_or_type): Update call to
|
|
|
|
|
ada_find_renaming_symbol.
|
|
|
|
|
"name" with "struct symbol *name_sym". Adjust Implementation
|
|
|
|
|
accordingly. Adjust the function documentation.
|
|
|
|
|
|
2012-02-29 19:50:22 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
|
|
|
|
|
* ada-lang.c (ada_find_any_type): Add advance declaration.
|
|
|
|
|
Make static. Replace ada_find_any_symbol by
|
|
|
|
|
ada_find_any_type_symbol.
|
|
|
|
|
(ada_find_any_type_symbol): Renames ada_find_any_symbol.
|
|
|
|
|
Improve function description. Make static.
|
|
|
|
|
(ada_find_renaming_symbol, find_old_style_renaming_symbol):
|
|
|
|
|
Replace ada_find_any_symbol by ada_find_any_type_symbol.
|
|
|
|
|
|
[Ada] avoid error message pollution with uninitialized tagged variable
Consider the following function...
3 procedure Foo is
4 I : Integer := Ident (10);
5 Obj : Base;
6 begin
7 Obj.X := I;
8 Do_Nothing (Obj.X'Address);
9 end Foo;
... where type "Base" is defined as a plain tagged record. If the user
stops execution before "Obj" gets initialized (for example, by inserting
a breakpoint "on" the function - or in other words, by inserting a
breakpoint using the function name as the location), one might get
the following of output if you try printing the value of obj:
(gdb) p obj
object size is larger than varsize-limit
object size is larger than varsize-limit
object size is larger than varsize-limit
$1 = object size is larger than varsize-limit
(x => 4204154)
Same thing with "info locals":
(gdb) info locals
i = 0
obj = object size is larger than varsize-limit
(x => 4204154)
We have also seen different error messages such as "Cannot read
memory at 0x...".
The error happens because we are trying to read the dispatch table
of a tagged type variable before it gets initialized. So the errors
might legitimately occur, and are supposed to be be contained.
However, the way things are written in ada-lang.c:ada_tag_name,
although the exception is in fact contained, the error message still
gets to be printed out.
This patch prevents this from happening by eliminating the use of
catch_errors, and using a TRY_CATCH block instead. Doing this removed
the need to use functions specifically fitted for catch_errors, and
thus some other simplifications could me made. In the end, the code
got reorganized a bit to better show the logic behind it, as well as
the common patterns.
gdb/ChangeLog:
* ada-lang.c (struct tag_args): Delete.
(ada_get_tsd_type): Function body moved up in source file.
(ada_tag_name_1, ada_tag_name_2): Delete.
(ada_get_tsd_from_tag): New function.
(ada_tag_name_from_tsd): New function.
(ada_tag_name): Use a TRY_CATCH block instead of catch_errors
to determine the tag name.
gdb/testsuite/ChangeLog:
* gdb.ada/tagged_not_init: New testcase.
2012-02-29 19:46:48 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (struct tag_args): Delete.
|
|
|
|
|
(ada_get_tsd_type): Function body moved up in source file.
|
|
|
|
|
(ada_tag_name_1, ada_tag_name_2): Delete.
|
|
|
|
|
(ada_get_tsd_from_tag): New function.
|
|
|
|
|
(ada_tag_name_from_tsd): New function.
|
|
|
|
|
(ada_tag_name): Use a TRY_CATCH block instead of catch_errors
|
|
|
|
|
to determine the tag name.
|
|
|
|
|
|
2012-02-29 19:44:12 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
|
|
|
|
|
declaration.
|
|
|
|
|
* ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
|
|
|
|
|
function.
|
|
|
|
|
|
2012-02-29 19:37:07 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.
|
|
|
|
|
|
[Ada] Do not cache lookup result if not full_search
The ada_lookup_symbol_list function has recently been changed to accept
a "full_search" parameter. When null, this parameter instructs the
function to perform a partial search (global and static symbols are not
searched). When doing a partial search, the result should not be saved
into the lookup cache, as the result might be incomplete.
This manifested itself when trying to perform a function call on AVR
after having inserted a breakpoint inside that function:
(gdb) b same
Breakpoint 2 at 0x78: file r.adb, line 5.
(gdb) call same(42)
Breakpoint 2, r.same (i=42) at r.adb:5
5 return I;
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(at 0x0x800068) will be abandoned.
^^^^^^^^^^^^^^^
When the function is done executing, GDB will silently stop.
The expected output for the underlined portion is "(r.same)".
What happens is that the breakpoint command triggers 3 lookups of the
name "same":
1. full search in LABEL_DOMAIN -> no match, cached;
2. full search in VAR_DOMAIN -> 1 match, cached;
3. partial search in VAR_DOMAIN -> no match, cached.
The third lookup therefore causes the results of the partial search
to be cached, thus overriding the result of the full search lookup.
During the following command, the reference to "same" triggers a lookup
of that symbol again. And since GDB CAN find the result of that lookup
in the cache, it returns just that, which is: No match. (wrong!)
As a result, we fallback on the symbol table to resolve the lookup.
And instead of pushing an OP_VAR_VALUE subexpression for symbol "same",
the parser ends up pushing an UNOP_MEMVAL subexpression using the value
of the minimal symbol. This is where being on AVR becomes important:
addresses on AVR are modular types, and if GDB thinks an address is
a data address, it converts it.
This is where one notices the fact that the breakpoint was inserted
at 0x78, and yet GDB says that the function we stopped at is at
0x0x800068...
This patch fixes the problem by making sure we only cache the result
of full searches.
gdb/ChangeLog:
* ada-lang.c (ada_lookup_symbol_list): Only cache the result of
full searches.
2012-02-29 19:35:37 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_lookup_symbol_list): Only cache the result of
|
|
|
|
|
full searches.
|
|
|
|
|
|
[Ada] print packed arrays indexed by enumerated type
Consider the following declarations (a packed array indexed by an
enumerated type):
type Color is (Black, Red, Green, Blue, White);
type Full_Table is array (Color) of Boolean;
pragma Pack (Full_Table);
Full : Full_Table := (False, True, False, True, False);
GDB is unable to print the index values correctly. It prints the
enumeration's underlying value instead of the enumeration name:
(gdb) p full
$1 = (0 => false, true, false, true, false)
(gdb) p full'first
$2 = 0
And yet, it is capable of printing the correct type description:
(gdb) ptype full
type = array (black .. white) of boolean <packed: 1-bit elements>
To get to the real index type, one has to follow the parallel XA type.
We already do this for normal arrays. We can do it for this packed
array as well.
gdb/ChangeLog:
* ada-lang.c (constrained_packed_array_type): If there is a
parallel XA type, use it to determine the array index type.
gdb/testsuite/ChangeLog:
* gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
* gdb.ada/enum_idx_packed: New testcase.
2012-02-29 19:34:40 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (constrained_packed_array_type): If there is a
|
|
|
|
|
parallel XA type, use it to determine the array index type.
|
|
|
|
|
|
[Ada] Handle reference to array descriptors
This patch is to help handle aliased array variables, such as:
type Bounded is array (Integer range <>) of Integer;
function New_Bounded (Low, High : Integer) return Bounded;
BT : aliased Bounded := New_Bounded (Low => 1, High => 3);
In that case, the compiler describes variable "BT" as a reference
to a thin pointer, and GDB is unable to print its value:
(gdb) p bt
$1 =
The problems starts when ada_value_print deconstructs the struct
value into contents and address in order to call val_print. It
turns out in this case that "bt" is not an lval. In the debug
information, this variable's location is described as:
.uleb128 0xd # (DIE (0xe0) DW_TAG_variable)
.ascii "bt\0" # DW_AT_name
[...]
.byte 0x6 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -56
.byte 0x6 # DW_OP_deref
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x8
.byte 0x9f # DW_OP_stack_value
So, when ada_value_print passes the bt's (value) address, it passes
in effect a meaningless address. The problem continues shortly after
when ada_val_print_1 re-creates the value from the contents and address.
The value has become an lval_memory, with a null address.
As a result, we trigger a memory error later on, while trying to
read the array bounds in order to transform our value into a simple
array.
To avoid the problem entirely, the fix is to coerce references before
transforming array descriptors into simple arrays.
gdb/ChangeLog:
* ada-valprint.c (ada_val_print_1): If our value is a reference
to an array descriptor, dereference it before converting it
to a simple array.
gdb/testsuite/ChangeLog:
* gdb.ada/aliased_array: New testcase.
2012-02-29 19:33:02 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-valprint.c (ada_val_print_1): If our value is a reference
|
|
|
|
|
to an array descriptor, dereference it before converting it
|
|
|
|
|
to a simple array.
|
|
|
|
|
|
2012-02-29 19:30:53 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_to_fixed_value): Call unwrap_value before
|
|
|
|
|
creating fixed value.
|
|
|
|
|
(ada_value_ind, ada_coerce_ref, assign_component)
|
|
|
|
|
(ada_evaluate_subexp): Remove call to unwrap_value before
|
|
|
|
|
call to ada_to_fixed_value.
|
|
|
|
|
|
[Ada] whatis not printing array type name for value from history
Consider the following declaration:
type Full_Table is array (Color) of Integer;
Full : Full_Table := (144, 233, 377, 610, 987);
The debugger correctly prints the type name of variable "full":
(gdb) whatis full
type = pck.full_table
But is unable to do so when using the value history:
(gdb) print full
$1 = (144, 233, 377, 610, 987)
(gdb) whatis $
!!! -> type = array (black .. white) of integer
This is because the evaluation creates a "fixed" version of
the array type, and that "fixed" version is missing a type name.
As a result, whatis falls back to describing the type (a la ptype)
instead of printing the type name.
gdb/ChangeLog:
* ada-lang.c (to_fixed_array_type): Set result's type name.
gdb/testsuite/ChangeLog:
* gdb.ada/whatis_array_val: New testcase.
2012-02-29 19:29:12 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (to_fixed_array_type): Set result's type name.
|
|
|
|
|
|
2012-02-29 19:09:47 +00:00
|
|
|
|
2012-02-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (catch_ada_exception_command_split): Add new
|
|
|
|
|
argument cond_string. Add support for condition at end of
|
|
|
|
|
"catch exception" commands.
|
|
|
|
|
(ada_decode_exception_location): Add new argument cond_string.
|
|
|
|
|
Update call to catch_ada_exception_command_split.
|
|
|
|
|
(create_ada_exception_catchpoint): Add new argument cond_string.
|
|
|
|
|
Set the breakpoint condition if needed.
|
|
|
|
|
(catch_ada_exception_command): Update call to
|
|
|
|
|
ada_decode_exception_location.
|
|
|
|
|
(ada_decode_assert_location): Add function documentation.
|
|
|
|
|
Add support for condition at end of "catch assert" command.
|
|
|
|
|
(catch_assert_command): Update calls to ada_decode_assert_location
|
|
|
|
|
and create_ada_exception_catchpoint.
|
|
|
|
|
|
2012-02-29 14:59:41 +00:00
|
|
|
|
2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix disp-step-syscall.exp: fork: single step over fork.
|
|
|
|
|
* i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
|
|
|
|
|
(i386_linux_get_syscall_number_from_regcache): ... here, new function
|
|
|
|
|
comment, change parameters gdbarch and ptid to regcache. Remove
|
|
|
|
|
parameter regcache, initialize gdbarch from regcache here.
|
|
|
|
|
(i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
|
|
|
|
|
New functions.
|
|
|
|
|
(i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
|
|
|
|
|
instead.
|
|
|
|
|
* i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
|
|
|
|
|
'syscall'. Make the 'int' check more strict.
|
|
|
|
|
|
2012-02-29 14:56:55 +00:00
|
|
|
|
2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
|
|
|
|
|
(i386_linux_intx80_sysenter_syscall_record): ... here.
|
|
|
|
|
(i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
|
|
|
|
|
Use the renamed function name.
|
|
|
|
|
|
2012-02-29 14:52:44 +00:00
|
|
|
|
2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
|
|
|
|
|
* breakpoint.c (until_break_command): Likewise.
|
|
|
|
|
* elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
|
|
|
|
|
* infcall.c (call_function_by_hand): Likewise.
|
|
|
|
|
* infcmd.c (finish_forward): Likewise.
|
|
|
|
|
* infrun.c (insert_exception_resume_breakpoint): Likewise.
|
|
|
|
|
|
2012-02-28 16:30:42 +00:00
|
|
|
|
2012-02-28 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
From Tristan Gingold <gingold@adacore.com>.
|
|
|
|
|
* ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
|
|
|
|
|
avoid variable assignments inside condition.
|
|
|
|
|
|
2012-02-28 08:14:11 +00:00
|
|
|
|
2012-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix static analysis issue found by cppcheck.
|
|
|
|
|
* microblaze-tdep.c (microblaze_extract_return_value): Fix
|
|
|
|
|
uninitialized BUF for size 2.
|
|
|
|
|
|
2012-02-27 23:05:40 +00:00
|
|
|
|
2012-02-27 Chris Dearman <chris@mips.com>
|
|
|
|
|
Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips32_instruction_has_delay_slot): New function.
|
|
|
|
|
(mips16_instruction_has_delay_slot): Likewise.
|
|
|
|
|
(mips_segment_boundary): Likewise.
|
|
|
|
|
(mips_adjust_breakpoint_address): Likewise.
|
|
|
|
|
(mips_gdbarch_init): Use mips_adjust_breakpoint_address.
|
|
|
|
|
|
2012-02-27 21:36:47 +00:00
|
|
|
|
2012-02-27 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (handle_inferior_event): Don't proceed through
|
|
|
|
|
shared library trampolines if stepping at the machine
|
|
|
|
|
instruction level.
|
|
|
|
|
|
2012-02-27 21:27:46 +00:00
|
|
|
|
2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
|
|
|
|
|
too.
|
|
|
|
|
|
2012-02-27 16:40:48 +00:00
|
|
|
|
2012-02-27 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
|
|
|
|
|
(sh_stub_unwind_sniffer): New functions.
|
|
|
|
|
(sh_stub_unwind): New variable.
|
|
|
|
|
(sh_gdbarch_init): Wire everything.
|
|
|
|
|
|
2012-02-27 16:22:16 +00:00
|
|
|
|
2012-02-27 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linux-nat.c (pid_is_stopped): Delete, moved to common/.
|
|
|
|
|
(linux_nat_post_attach_wait): Adjust to use
|
|
|
|
|
linux_proc_pid_is_stopped.
|
|
|
|
|
* common/linux-procfs.h (linux_proc_pid_is_stopped): Declare.
|
|
|
|
|
* common/linux-procfs.c (linux_proc_pid_is_stopped): New function,
|
|
|
|
|
based on pid_is_stopped from both linux-nat.c and
|
|
|
|
|
gdbserver/linux-low.c, and renamed.
|
|
|
|
|
|
2012-02-24 23:48:37 +00:00
|
|
|
|
2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_watchpoint_addr_within_range): New function.
|
|
|
|
|
(init_remote_ops): Use it.
|
|
|
|
|
|
2012-02-24 23:46:48 +00:00
|
|
|
|
2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* target.h (target_watchpoint_addr_within_range): Document macro.
|
|
|
|
|
|
2012-02-24 16:47:56 +00:00
|
|
|
|
2012-02-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stack.c (set_last_displayed_sal): Issue internal_error instead
|
|
|
|
|
of warning, and issue it after clearing the last displayed sal.
|
|
|
|
|
|
2012-02-24 16:26:36 +00:00
|
|
|
|
2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (until_break_command): Install breakpoints after
|
|
|
|
|
all frame manipulations.
|
|
|
|
|
|
2012-02-24 15:10:59 +00:00
|
|
|
|
2012-02-24 Luis Machado <lgustavo@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_supports_cond_breakpoints): New forward
|
|
|
|
|
declaration.
|
|
|
|
|
(remote_add_target_side_condition): New function.
|
|
|
|
|
(remote_insert_breakpoint): Add target-side breakpoint
|
|
|
|
|
conditional if supported.
|
|
|
|
|
(remote_insert_hw_breakpoint): Likewise.
|
|
|
|
|
(init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions
|
|
|
|
|
hook.
|
|
|
|
|
|
|
|
|
|
* target.c (update_current_target): Inherit
|
|
|
|
|
to_supports_evaluation_of_breakpoint_conditions.
|
|
|
|
|
Default to_supports_evaluation_of_breakpoint_conditions to return_zero.
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops)
|
|
|
|
|
<to_supports_evaluation_of_breakpoint_conditions>: New field.
|
|
|
|
|
(target_supports_evaluation_of_breakpoint_conditions): New #define.
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (get_first_locp_gte_addr): New forward declaration.
|
|
|
|
|
(condition_evaluation_both, condition_evaluation_auto,
|
|
|
|
|
condition_evaluation_host, condition_evaluation_target,
|
|
|
|
|
condition_evaluation_enums, condition_evaluation_mode_1,
|
|
|
|
|
condition_evaluation_mode): New static globals.
|
|
|
|
|
(translate_condition_evaluation_mode): New function.
|
|
|
|
|
(breakpoint_condition_evaluation_mode): New function.
|
|
|
|
|
(gdb_evaluates_breakpoint_condition_p): New function.
|
|
|
|
|
(ALL_BP_LOCATIONS_AT_ADDR): New helper macro.
|
|
|
|
|
(mark_breakpoint_modified): New function.
|
|
|
|
|
(mark_breakpoint_location_modified): New function.
|
|
|
|
|
(set_condition_evaluation_mode): New function.
|
|
|
|
|
(show_condition_evaluation_mode): New function.
|
|
|
|
|
(bp_location_compare_addrs): New function.
|
|
|
|
|
(get_first_location_gte_addr): New helper function.
|
|
|
|
|
(set_breakpoint_condition): Free condition bytecode if locations
|
|
|
|
|
has become unconditional. Call mark_breakpoint_modified (...).
|
|
|
|
|
(condition_command): Call update_global_location_list (1) for
|
|
|
|
|
breakpoints.
|
|
|
|
|
(breakpoint_xfer_memory): Use is_breakpoint (...).
|
|
|
|
|
(is_breakpoint): New function.
|
|
|
|
|
(parse_cond_to_aexpr): New function.
|
|
|
|
|
(build_target_condition_list): New function.
|
|
|
|
|
(insert_bp_location): Handle target-side conditional
|
|
|
|
|
breakpoints and call build_target_condition_list (...).
|
|
|
|
|
(update_inserted_breakpoint_locations): New function.
|
|
|
|
|
(insert_breakpoint_locations): Handle target-side conditional
|
|
|
|
|
breakpoints.
|
|
|
|
|
(bpstat_check_breakpoint_conditions): Add comment.
|
|
|
|
|
(bp_condition_evaluator): New function.
|
|
|
|
|
(bp_location_condition_evaluator): New function.
|
|
|
|
|
(print_breakpoint_location): Print information on where the condition
|
|
|
|
|
will be evaluated.
|
|
|
|
|
(print_one_breakpoint_location): Likewise.
|
|
|
|
|
(init_bp_location): Call mark_breakpoint_location_modified (...) for
|
|
|
|
|
breakpoint location.
|
|
|
|
|
(force_breakpoint_reinsertion): New functions.
|
|
|
|
|
(update_global_location_list): Handle target-side breakpoint
|
|
|
|
|
conditions.
|
|
|
|
|
Reinsert locations that are already inserted if conditions have
|
|
|
|
|
changed.
|
|
|
|
|
(bp_location_dtor): Free agent expression bytecode.
|
|
|
|
|
(disable_breakpoint): Call mark_breakpoint_modified (...).
|
|
|
|
|
Call update_global_location_list (...) with parameter 1 for breakpoints.
|
|
|
|
|
(disable_command): Call mark_breakpoint_location_modified (...).
|
|
|
|
|
Call update_global_location_list (...) with parameter 1 for breakpoints.
|
|
|
|
|
(enable_breakpoint_disp): Call mark_breakpoint_modified (...).
|
|
|
|
|
(enable_command): mark_breakpoint_location_modified (...).
|
|
|
|
|
(_initialize_breakpoint): Update documentation and add
|
|
|
|
|
condition-evaluation breakpoint subcommand.
|
|
|
|
|
|
|
|
|
|
* breakpoint.h: Include ax.h.
|
|
|
|
|
(condition_list): New data structure.
|
|
|
|
|
(condition_status): New enum.
|
|
|
|
|
(bp_target_info) <cond_list>: New field.
|
|
|
|
|
(bp_location) <condition_changed, cond_bytecode>: New fields.
|
|
|
|
|
(is_breakpoint): New prototype.
|
|
|
|
|
|
2012-02-24 15:09:41 +00:00
|
|
|
|
2012-02-24 Luis Machado <lgustavo@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_state) <cond_breakpoints>: New field.
|
|
|
|
|
(PACKET_ConditionalBreakpoints): New enum.
|
|
|
|
|
(remote_cond_breakpoint_feature): New function.
|
|
|
|
|
(remote_protocol_features): Add new ConditionalBreakpoints entry.
|
|
|
|
|
(remote_supports_cond_breakpoints): New function.
|
|
|
|
|
(_initialize_remote): Add new packet configuration for
|
|
|
|
|
target-side conditional breakpoints.
|
|
|
|
|
|
2012-02-24 15:04:58 +00:00
|
|
|
|
2012-02-24 Luis Machado <lgustavo@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention target-side conditional breakpoint support,
|
|
|
|
|
new condition-evaluation breakpoint subcommand and remote
|
|
|
|
|
packet extensions.
|
|
|
|
|
|
2012-02-24 14:59:35 +00:00
|
|
|
|
2012-02-24 Luis Machado <lgustavo@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bp_location_compare): Sort by pspace before sorting by
|
|
|
|
|
number.
|
|
|
|
|
|
2012-02-24 11:00:07 +00:00
|
|
|
|
2012-02-24 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal.
|
|
|
|
|
(after_prologue): Remove.
|
|
|
|
|
|
2012-02-23 20:55:47 +00:00
|
|
|
|
2012-02-23 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* jv-valprint.c (java_val_print): Remove dead code.
|
|
|
|
|
|
2012-02-23 11:15:06 +00:00
|
|
|
|
2012-02-23 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-tasks.c (struct ada_tasks_inferior_data): Add
|
|
|
|
|
known_tasks_element and known_tasks_length fields.
|
|
|
|
|
(read_known_tasks_array): Change argument type. Use pointer type
|
|
|
|
|
and number of elements from DATA. Adjust.
|
|
|
|
|
(read_known_tasks_list): Likewise.
|
|
|
|
|
(get_known_tasks_addr): Remove.
|
|
|
|
|
(ada_set_current_inferior_known_tasks_addr): Renamed to ...
|
|
|
|
|
(ada_tasks_inferior_data_sniffer): ... this. Use symtab for element
|
|
|
|
|
type and array length. Merge former get_known_tasks_addr code.
|
|
|
|
|
|
2012-02-23 08:15:04 +00:00
|
|
|
|
2012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR backtrace/13716
|
|
|
|
|
* infcmd.c (finish_forward): New variable frame_id, initialize it, use
|
|
|
|
|
it after set_momentary_breakpoint.
|
|
|
|
|
|
2012-02-22 18:20:38 +00:00
|
|
|
|
2012-02-22 Sterling Augustine <saugustine@google.com>
|
|
|
|
|
|
|
|
|
|
PR 13689:
|
|
|
|
|
* breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.
|
|
|
|
|
|
2012-02-22 14:55:25 +00:00
|
|
|
|
2012-02-22 Gary Benson <gbenson@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf2_read_index): Correct misspelling.
|
|
|
|
|
(find_slot_in_mapped_hash): Likewise.
|
|
|
|
|
|
2012-02-21 22:00:32 +00:00
|
|
|
|
2012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR build/13638
|
|
|
|
|
* configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR.
|
|
|
|
|
(MAKEINFOFLAGS): Replace static string by AC_ARG_VAR.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-02-21 19:39:32 +00:00
|
|
|
|
2012-02-21 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c: Do not include libunwind-ia64.h.
|
|
|
|
|
* libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
|
|
|
|
|
Include libunwind-ia64.h instead of libunwind.h.
|
|
|
|
|
* configure.ac (--with-libunwind, $enable_libunwind): Don't check
|
|
|
|
|
for libunwind.h existence.
|
|
|
|
|
* configure, config.in: Regenerate.
|
|
|
|
|
|
2012-02-21 13:48:59 +00:00
|
|
|
|
2012-02-21 Anton Gorenkov <xgsa@yandex.ru>
|
|
|
|
|
|
|
|
|
|
* c-valprint.c (c_value_print): Use value_rtti_indirect_type
|
|
|
|
|
instead of value_rtti_target_type.
|
|
|
|
|
* eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
|
|
|
|
|
instead of value_rtti_target_type.
|
|
|
|
|
* typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
|
|
|
|
|
value_rtti_target_type.
|
|
|
|
|
* valops.c (value_ind): Extract function readjust_indirect_value_type.
|
|
|
|
|
(value_rtti_target_type): Rename to ...
|
|
|
|
|
(value_rtti_indirect_type): ... here and make it indirect. Update
|
|
|
|
|
function comment.
|
|
|
|
|
* value.c (readjust_indirect_value_type): New function.
|
|
|
|
|
(coerce_ref): Support for enclosing type setting for references
|
|
|
|
|
with readjust_indirect_value_type.
|
|
|
|
|
* value.h (readjust_value_type): New declaration.
|
|
|
|
|
(value_rtti_target_type): Rename to ...
|
|
|
|
|
(value_rtti_indirect_type): ... here.
|
|
|
|
|
|
2012-02-21 13:39:30 +00:00
|
|
|
|
2012-02-21 Anton Gorenkov <xgsa@yandex.ru>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (Write After Approval): Add myself to the list.
|
|
|
|
|
|
2012-02-21 06:48:12 +00:00
|
|
|
|
2012-02-20 Doug Evans <dje@google.com>
|
2012-02-21 06:44:13 +00:00
|
|
|
|
|
2012-02-21 06:55:36 +00:00
|
|
|
|
* objfiles.c (add_to_objfile_sections): Remove outdated comments.
|
|
|
|
|
Rename objfile_p_char parameter to objfilep.
|
|
|
|
|
(build_objfile_section_table): Result is now void. All callers
|
|
|
|
|
updated.
|
|
|
|
|
* objfiles.h (struct objfile): Tweak comments, whitespace.
|
|
|
|
|
(build_objfile_section_table): Update.
|
|
|
|
|
|
2012-02-21 06:44:13 +00:00
|
|
|
|
* elfread.c (elf_symfile_segments): Fix warning text.
|
|
|
|
|
|
2012-02-20 20:56:12 +00:00
|
|
|
|
2012-02-20 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/13498:
|
|
|
|
|
* dwarf2read.c (dw2_expand_symtabs_matching): Only visit a
|
|
|
|
|
particular set of file names once.
|
|
|
|
|
(dw2_map_symbol_filenames): Likewise.
|
|
|
|
|
|
2012-02-20 19:44:01 +00:00
|
|
|
|
2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Code cleanup.
|
|
|
|
|
* main.c (write_files): Remove the declaration.
|
|
|
|
|
(external_editor_command): Move the declaration ...
|
|
|
|
|
[GDBTK] (external_editor_command): ... here. Fix the comment.
|
|
|
|
|
|
2012-02-20 19:24:39 +00:00
|
|
|
|
2012-02-20 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dw2_map_symtabs_matching_filename): Remove
|
|
|
|
|
extraneous block.
|
|
|
|
|
|
2012-02-20 09:42:34 +00:00
|
|
|
|
2012-02-20 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* darwin-nat.h (enum darwin_msg_state): Add comments.
|
|
|
|
|
|
2012-02-20 09:40:57 +00:00
|
|
|
|
2012-02-20 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
|
|
|
|
|
value.
|
|
|
|
|
|
2012-02-18 17:10:32 +00:00
|
|
|
|
2012-20-18 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (watchpoint_exp_is_const): Add missing empty line
|
|
|
|
|
between function description and implementation.
|
|
|
|
|
|
2012-02-17 19:24:27 +00:00
|
|
|
|
2012-02-17 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/12070:
|
|
|
|
|
* python/py-event.c (event_object_getset): New global.
|
|
|
|
|
(event_object_type): Reference it.
|
|
|
|
|
* python/py-type.c (field_object_getset): New global.
|
|
|
|
|
(field_object_type): Reference it.
|
|
|
|
|
* python/python-internal.h (gdb_py_generic_dict): Declare.
|
|
|
|
|
* python/py-utils.c (gdb_py_generic_dict): New function.
|
|
|
|
|
|
2012-02-17 16:37:43 +00:00
|
|
|
|
2012-02-17 Tristan Gingold <gingold@adacore.com>
|
2012-02-20 09:40:57 +00:00
|
|
|
|
|
2012-02-17 16:37:43 +00:00
|
|
|
|
* solib-darwin.c (darwin_current_sos): Check magic and filetype
|
2012-02-20 09:40:57 +00:00
|
|
|
|
|
2012-02-17 08:39:57 +00:00
|
|
|
|
2012-02-17 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
|
|
|
|
|
TYPE_CALLING_CONVENTION annotation.
|
|
|
|
|
|
2012-02-16 23:39:37 +00:00
|
|
|
|
2012-02-16 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add rx to target ISA section.
|
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
|
|
|
|
|
(ALLDEPFILES): Add rx-tdep.c.
|
|
|
|
|
|
2012-02-16 21:07:20 +00:00
|
|
|
|
2012-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (symbol_file_add_main_1): Use inferior's
|
|
|
|
|
symfile_flags.
|
|
|
|
|
* solib.c (solib_read_symbols): Use inferior's symfile_flags.
|
|
|
|
|
* linux-nat.c (linux_child_follow_fork): Set symfile_flags on
|
|
|
|
|
inferior.
|
|
|
|
|
* infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
|
|
|
|
|
inferior.
|
|
|
|
|
(follow_exec): Use inferior's symfile_flags.
|
|
|
|
|
* inferior.h (struct inferior) <symfile_flags>: New field.
|
|
|
|
|
|
2012-02-16 18:30:43 +00:00
|
|
|
|
2012-02-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
PR gdb/9734:
|
|
|
|
|
* remote-sim.c (gdbsim_create_inferior): Call error() when
|
|
|
|
|
sim_create_inferior() fails.
|
|
|
|
|
|
2012-02-16 14:57:02 +00:00
|
|
|
|
2012-02-16 Josh Matthews <josh@joshmatthews.net>
|
|
|
|
|
|
|
|
|
|
* machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
|
|
|
|
|
|
2012-02-16 14:35:00 +00:00
|
|
|
|
2012-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/13653:
|
|
|
|
|
* thread.c (struct current_thread_cleanup) <was_removable>: New
|
|
|
|
|
field.
|
|
|
|
|
(restore_current_thread_cleanup_dtor): Restore 'removable' field.
|
|
|
|
|
(make_cleanup_restore_current_thread): Initialize new field.
|
|
|
|
|
|
2012-02-15 22:17:02 +00:00
|
|
|
|
2012-02-15 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add rl78 to target ISA section.
|
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
|
|
|
|
|
(ALLDEPFILES): Add rl78-tdep.c.
|
|
|
|
|
* NEWS: Mention rl78 as a new target.
|
|
|
|
|
|
2012-02-15 19:27:59 +00:00
|
|
|
|
2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (find_frame_sal): Initialize sal->pspace field from frame
|
|
|
|
|
data.
|
|
|
|
|
* stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
|
|
|
|
|
|
2012-02-15 19:13:14 +00:00
|
|
|
|
2012-02-15 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/12659:
|
|
|
|
|
* infcmd.c (registers_info): Print just the current register's
|
|
|
|
|
name.
|
|
|
|
|
|
2012-02-15 17:51:04 +00:00
|
|
|
|
2012-02-15 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/py-symbol.c (sympy_value): Use _().
|
|
|
|
|
|
2012-02-15 12:48:55 +00:00
|
|
|
|
2012-02-15 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_detach_1, extended_remote_attach_1): Tweak
|
|
|
|
|
output to be like native targets'.
|
|
|
|
|
(remote_pid_to_str): Special case the null ptid.
|
|
|
|
|
|
2012-02-14 23:28:15 +00:00
|
|
|
|
2012-02-14 Stan Shebs <stan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention enable count command.
|
|
|
|
|
* breakpoint.h (struct breakpoint): New field enable_count.
|
|
|
|
|
* breakpoint.c (enable_breakpoint_disp): Add count argument.
|
|
|
|
|
(enable_breakpoint): Add arg to call.
|
|
|
|
|
(struct disp_data): New struct.
|
|
|
|
|
(do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
|
|
|
|
|
(do_map_enable_once_breakpoint): Create a struct and pass it.
|
|
|
|
|
(do_map_enable_delete_breakpoint): Ditto.
|
|
|
|
|
(do_map_enable_count_breakpoint): New function.
|
|
|
|
|
(enable_count_command): New function.
|
|
|
|
|
(bpstat_stop_status): Decrement enable_count.
|
|
|
|
|
(print_one_breakpoint_location): Report enable count.
|
|
|
|
|
(_initialize_breakpoint): Add enable count command.
|
|
|
|
|
|
2012-02-14 20:15:44 +00:00
|
|
|
|
2012-02-14 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rl78-tdep.c (reggroups.h): Include.
|
|
|
|
|
(RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM)
|
|
|
|
|
(RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to
|
|
|
|
|
beginning of register list.
|
|
|
|
|
(RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM)
|
|
|
|
|
(RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM)
|
|
|
|
|
(RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM)
|
|
|
|
|
(RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM)
|
|
|
|
|
(RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM)
|
|
|
|
|
(RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM)
|
|
|
|
|
(RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM)
|
|
|
|
|
(RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM)
|
|
|
|
|
(RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM)
|
|
|
|
|
(RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM)
|
|
|
|
|
(RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into
|
|
|
|
|
the pseudo registers. Rearrange other pseudo registers too so
|
|
|
|
|
that the bank registers appear at the end.
|
|
|
|
|
(rl78_register_type): Account for the fact that the byte sized
|
|
|
|
|
bank registers are now pseudo-registers.
|
|
|
|
|
(rl78_register_name): Rearrange the register name array. Make
|
|
|
|
|
initial set of raw banked registers inaccessible.
|
|
|
|
|
(rl78_register_reggroup_p, rl78_register_sim_regno): New functions.
|
|
|
|
|
(rl78_pseudo_register_read, rl78_pseudo_register_write): Add
|
|
|
|
|
case for copying bytes back and forth between raw and pseudo
|
|
|
|
|
versions of the banked registers. Update other cases to reflect
|
|
|
|
|
the changed names.
|
|
|
|
|
(rl78_return_value): Update to account for changed names of
|
|
|
|
|
raw registers.
|
|
|
|
|
(rl78_gdbarch_init): Register rl78_register_reggroup_p() and
|
|
|
|
|
rl78_register_sim_regno().
|
|
|
|
|
|
2012-02-14 20:07:26 +00:00
|
|
|
|
2012-02-14 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
|
|
|
|
|
the name parameter being passed to find_pc_partial_function().
|
|
|
|
|
|
2012-02-14 14:42:12 +00:00
|
|
|
|
2012-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Step down from being ia64 target maintainer.
|
|
|
|
|
|
2012-02-12 19:25:29 +00:00
|
|
|
|
2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
|
|
|
|
|
compilation warning.
|
|
|
|
|
|
2012-02-12 19:15:01 +00:00
|
|
|
|
2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix crash on loaded shlibs without loaded exec_bfd.
|
|
|
|
|
* exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
|
|
|
|
|
(set_section_command): Replace exec_bfd by p->bfd.
|
|
|
|
|
|
2012-02-10 17:31:34 +00:00
|
|
|
|
2012-02-10 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_internal): Skip symtabs_from_filename
|
|
|
|
|
when we have a C++ qualified name.
|
|
|
|
|
|
2012-02-10 14:23:52 +00:00
|
|
|
|
2012-02-10 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* inferior.c (inferior_pid_to_str): New.
|
|
|
|
|
(print_inferior, inferior_command): Use it.
|
|
|
|
|
|
2012-02-10 13:57:59 +00:00
|
|
|
|
2012-02-10 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
|
|
|
|
|
the test CFLAGS.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-02-10 13:27:04 +00:00
|
|
|
|
2012-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_internal): Fix comment correctness.
|
|
|
|
|
|
2012-02-09 16:06:44 +00:00
|
|
|
|
2012-02-09 Valery Khromov <valery.khromov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/12953
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
|
|
|
|
|
* amd64bsd-nat.c: Add support for debug registers (adapted from
|
|
|
|
|
i386bsd-nat.c).
|
|
|
|
|
[HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
|
|
|
|
|
(amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
|
|
|
|
|
(amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
|
|
|
|
|
(amd64bsd_dr_get_control): New functions.
|
|
|
|
|
* amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
|
|
|
|
|
* amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
|
|
|
|
|
[HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
|
|
|
|
|
watchpoints initialization.
|
|
|
|
|
* config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
|
|
|
|
|
|
2012-02-09 15:14:46 +00:00
|
|
|
|
2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
|
|
|
|
|
flds_bnds.fields.
|
|
|
|
|
(StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
|
|
|
|
|
|
2012-02-09 08:20:03 +00:00
|
|
|
|
2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bp_location_compare): Fix comment. Reindent the code.
|
|
|
|
|
|
Rename la_get_symbol_name_match_p into la_get_symbol_name_cmp
The la_get_symbol_name_match_p language hook was poorly named, as
it suggested that the function should return nonzero if the names
match, whereas it is the exact opposite. This patch therefore
renames the hook and associated typedef, as well some of the code
that uses that hook.
gdb/ChangeLog:
* language.h (symbol_name_cmp_ftype): Renames
symbol_name_match_p_ftype.
(struct language_defn)[la_get_symbol_name_cmp]: Renames
la_get_symbol_name_match_p.
* ada-lang.c (ada_get_symbol_name_cmp): Renames
ada_get_symbol_name_match_p. Update comment.
(ada_language_defn)[la_get_symbol_name_cmp]: Update value.
* linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
Renames symbol_name_match_p. Update field type.
(iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
* c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
"la_get_symbol_name_cmp" in comments.
* language.c: Likewise.
2012-02-08 19:54:37 +00:00
|
|
|
|
2012-02-08 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* language.h (symbol_name_cmp_ftype): Renames
|
|
|
|
|
symbol_name_match_p_ftype.
|
|
|
|
|
(struct language_defn)[la_get_symbol_name_cmp]: Renames
|
|
|
|
|
la_get_symbol_name_match_p.
|
|
|
|
|
* ada-lang.c (ada_get_symbol_name_cmp): Renames
|
|
|
|
|
ada_get_symbol_name_match_p. Update comment.
|
|
|
|
|
(ada_language_defn)[la_get_symbol_name_cmp]: Update value.
|
|
|
|
|
* linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
|
|
|
|
|
Renames symbol_name_match_p. Update field type.
|
|
|
|
|
(iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
|
|
|
|
|
* c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
|
|
|
|
|
opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
|
|
|
|
|
"la_get_symbol_name_cmp" in comments.
|
|
|
|
|
* language.c: Likewise.
|
|
|
|
|
|
2012-02-08 14:38:25 +00:00
|
|
|
|
2012-02-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
|
|
|
|
|
%eflags offset.
|
|
|
|
|
* i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
|
|
|
|
|
(amd64_sol2_gregset32_reg_offs): Likewise.
|
|
|
|
|
|
2012-02-08 09:17:41 +00:00
|
|
|
|
2012-02-08 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* solib-darwin.c (darwin_bfd_open): Make sure that the filename
|
|
|
|
|
of the returned BFD is allocated by GDB.
|
|
|
|
|
|
2012-02-07 19:47:16 +00:00
|
|
|
|
2012-02-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/12027:
|
|
|
|
|
* python/python-internal.h (frame_object_type): Declare.
|
|
|
|
|
* python/py-symbol.c (sympy_needs_frame): New function.
|
|
|
|
|
(sympy_value): New function.
|
|
|
|
|
(symbol_object_getset): Add "needs_frame".
|
|
|
|
|
(symbol_object_methods): Add "value".
|
|
|
|
|
* python/py-frame.c (frame_object_type): No longer static.
|
|
|
|
|
|
2012-02-07 19:42:27 +00:00
|
|
|
|
2012-02-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/13599:
|
|
|
|
|
* python/py-symbol.c (sympy_line): New function.
|
|
|
|
|
(symbol_object_getset): Add "line".
|
|
|
|
|
|
2012-02-07 15:42:39 +00:00
|
|
|
|
2012-02-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* charset.c (find_charset_names): Check 'in' against NULL.
|
|
|
|
|
|
* gdbtypes.h (struct main_type): Change type of name,tag_name,
and fields.name members from char * to const char *. All uses updated.
(struct cplus_struct_type): Change type of fn_fieldlists.name member
from char * to const char *. All uses updated.
(type_name_no_tag): Update.
(lookup_unsigned_typename, lookup_signed_typename): Update.
* gdbtypes.c (type_name_no_tag): Change result type
from char * to const char *. All callers updated.
(lookup_unsigned_typename, lookup_signed_typename): Change type of
name parameter from char * to const char *.
* symtab.h (struct cplus_specific): Change type of demangled_name
member from char * to const char *. All uses updated.
(struct general_symbol_info): Change type of name and
mangled_lang.demangled_name members from char * to const char *.
All uses updated.
(symbol_get_demangled_name, symbol_natural_name): Update.
(symbol_demangled_name, symbol_search_name): Update.
* symtab.c (symbol_get_demangled_name): Change result type
from char * to const char *. All callers updated.
(symbol_natural_name, symbol_demangled_name): Ditto.
(symbol_search_name): Ditto.
(completion_list_add_name): Change type of symname,sym_text,
text,word parameters from char * to const char *.
(completion_list_objc_symbol): Change type of sym_text,
text,word parameters from char * to const char *.
* ada-lang.c (find_struct_field): Change type of name parameter
from char * to const char *.
(encoded_ordered_before): Similarly for N0,N1 parameters.
(old_renaming_is_invisible): Similarly for function_name parameter.
(ada_type_name): Change result type from char * to const char *.
All callers updated.
* ada-lang.h (ada_type_name): Update.
* buildsym.c (hashname): Change type of name parameter
from char * to const char *.
* buildsym.h (hashname): Update.
* dbxread.c (end_psymtab): Change type of include_list parameter
from char ** to const char **.
* dwarf2read.c (determine_prefix): Change result type
from char * to const char *. All callers updated.
* f-lang.c (find_common_for_function): Change type of name, funcname
parameters from char * to const char *.
* f-lang.c (find_common_for_function): Update.
* f-valprint.c (list_all_visible_commons): Change type of funcname
parameters from char * to const char *.
* gdbarch.sh (static_transform_name): Change type of name parameter
and result from char * to const char *.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
of name parameter from char * to const char *.
* jv-lang.c (java_primitive_type_from_name): Ditto.
(java_demangled_signature_length): Similarly for signature parameter.
(java_demangled_signature_copy): Ditto.
(java_demangle_type_signature): Ditto.
* jv-lang.h (java_primitive_type_from_name): Update.
(java_demangle_type_signature): Update.
* objc-lang.c (specialcmp): Change type of a,b parameters
from char * to const char *.
* p-lang.c (is_pascal_string_type): Change type of arrayname parameter
from char * to const char *. All callers updated.
* p-lang.h (is_pascal_string_type): Update.
* solib-frv.c (find_canonical_descriptor_in_load_object): Change type
of name parameter from char * to const char *.
* sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* defs.h (fprintf_symbol_filtered): Update.
* sparc-tdep.h (sparc_sol2_static_transform_name): Update.
* stabsread.h (end_psymtab): Update.
* stack.c (find_frame_funname): Change type of funname parameter
from char ** to const char **.
* stack.h (find_frame_funname): Update.
* typeprint.c (type_print): Change type of varstring parameter
from char * to const char *.
* value.h (type_print): Update.
* xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
from char * to const char *. All callers updated.
(xcoff_end_psymtab): Change type of include_list parameter
from char ** to const char **. All callers updated.
(swap_sym): Similarly for name parameter. All callers updated.
* coffread.c (patch_type): Add (char*) cast to xfree parameter.
Use xstrdup.
(process_coff_symbol): Use xstrdup.
* stabsread.c (stabs_method_name_from_physname): Renamed from
update_method_name_from_physname. Change result type from void
to char *. All callers updated.
(read_member_functions): In has_destructor case, store name in objfile
obstack instead of malloc space. In !has_stub case, fix mem leak.
2012-02-07 04:48:23 +00:00
|
|
|
|
2012-02-06 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* gdbtypes.h (struct main_type): Change type of name,tag_name,
|
|
|
|
|
and fields.name members from char * to const char *. All uses updated.
|
|
|
|
|
(struct cplus_struct_type): Change type of fn_fieldlists.name member
|
|
|
|
|
from char * to const char *. All uses updated.
|
|
|
|
|
(type_name_no_tag): Update.
|
|
|
|
|
(lookup_unsigned_typename, lookup_signed_typename): Update.
|
|
|
|
|
* gdbtypes.c (type_name_no_tag): Change result type
|
|
|
|
|
from char * to const char *. All callers updated.
|
|
|
|
|
(lookup_unsigned_typename, lookup_signed_typename): Change type of
|
|
|
|
|
name parameter from char * to const char *.
|
|
|
|
|
* symtab.h (struct cplus_specific): Change type of demangled_name
|
|
|
|
|
member from char * to const char *. All uses updated.
|
|
|
|
|
(struct general_symbol_info): Change type of name and
|
|
|
|
|
mangled_lang.demangled_name members from char * to const char *.
|
|
|
|
|
All uses updated.
|
|
|
|
|
(symbol_get_demangled_name, symbol_natural_name): Update.
|
|
|
|
|
(symbol_demangled_name, symbol_search_name): Update.
|
|
|
|
|
* symtab.c (symbol_get_demangled_name): Change result type
|
|
|
|
|
from char * to const char *. All callers updated.
|
|
|
|
|
(symbol_natural_name, symbol_demangled_name): Ditto.
|
|
|
|
|
(symbol_search_name): Ditto.
|
|
|
|
|
(completion_list_add_name): Change type of symname,sym_text,
|
|
|
|
|
text,word parameters from char * to const char *.
|
|
|
|
|
(completion_list_objc_symbol): Change type of sym_text,
|
|
|
|
|
text,word parameters from char * to const char *.
|
|
|
|
|
* ada-lang.c (find_struct_field): Change type of name parameter
|
|
|
|
|
from char * to const char *.
|
|
|
|
|
(encoded_ordered_before): Similarly for N0,N1 parameters.
|
|
|
|
|
(old_renaming_is_invisible): Similarly for function_name parameter.
|
|
|
|
|
(ada_type_name): Change result type from char * to const char *.
|
|
|
|
|
All callers updated.
|
|
|
|
|
* ada-lang.h (ada_type_name): Update.
|
|
|
|
|
* buildsym.c (hashname): Change type of name parameter
|
|
|
|
|
from char * to const char *.
|
|
|
|
|
* buildsym.h (hashname): Update.
|
|
|
|
|
* dbxread.c (end_psymtab): Change type of include_list parameter
|
|
|
|
|
from char ** to const char **.
|
|
|
|
|
* dwarf2read.c (determine_prefix): Change result type
|
|
|
|
|
from char * to const char *. All callers updated.
|
|
|
|
|
* f-lang.c (find_common_for_function): Change type of name, funcname
|
|
|
|
|
parameters from char * to const char *.
|
|
|
|
|
* f-lang.c (find_common_for_function): Update.
|
|
|
|
|
* f-valprint.c (list_all_visible_commons): Change type of funcname
|
|
|
|
|
parameters from char * to const char *.
|
|
|
|
|
* gdbarch.sh (static_transform_name): Change type of name parameter
|
|
|
|
|
and result from char * to const char *.
|
|
|
|
|
* gdbarch.c: Regenerate.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
* i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
|
|
|
|
|
of name parameter from char * to const char *.
|
|
|
|
|
* jv-lang.c (java_primitive_type_from_name): Ditto.
|
|
|
|
|
(java_demangled_signature_length): Similarly for signature parameter.
|
|
|
|
|
(java_demangled_signature_copy): Ditto.
|
|
|
|
|
(java_demangle_type_signature): Ditto.
|
|
|
|
|
* jv-lang.h (java_primitive_type_from_name): Update.
|
|
|
|
|
(java_demangle_type_signature): Update.
|
|
|
|
|
* objc-lang.c (specialcmp): Change type of a,b parameters
|
|
|
|
|
from char * to const char *.
|
|
|
|
|
* p-lang.c (is_pascal_string_type): Change type of arrayname parameter
|
|
|
|
|
from char * to const char *. All callers updated.
|
|
|
|
|
* p-lang.h (is_pascal_string_type): Update.
|
|
|
|
|
* solib-frv.c (find_canonical_descriptor_in_load_object): Change type
|
|
|
|
|
of name parameter from char * to const char *.
|
|
|
|
|
* sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
|
|
|
|
|
* utils.c (fprintf_symbol_filtered): Ditto.
|
|
|
|
|
* defs.h (fprintf_symbol_filtered): Update.
|
|
|
|
|
* sparc-tdep.h (sparc_sol2_static_transform_name): Update.
|
|
|
|
|
* stabsread.h (end_psymtab): Update.
|
|
|
|
|
* stack.c (find_frame_funname): Change type of funname parameter
|
|
|
|
|
from char ** to const char **.
|
|
|
|
|
* stack.h (find_frame_funname): Update.
|
|
|
|
|
* typeprint.c (type_print): Change type of varstring parameter
|
|
|
|
|
from char * to const char *.
|
|
|
|
|
* value.h (type_print): Update.
|
|
|
|
|
* xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
|
|
|
|
|
from char * to const char *. All callers updated.
|
|
|
|
|
(xcoff_end_psymtab): Change type of include_list parameter
|
|
|
|
|
from char ** to const char **. All callers updated.
|
|
|
|
|
(swap_sym): Similarly for name parameter. All callers updated.
|
|
|
|
|
* coffread.c (patch_type): Add (char*) cast to xfree parameter.
|
|
|
|
|
Use xstrdup.
|
|
|
|
|
(process_coff_symbol): Use xstrdup.
|
|
|
|
|
* stabsread.c (stabs_method_name_from_physname): Renamed from
|
|
|
|
|
update_method_name_from_physname. Change result type from void
|
|
|
|
|
to char *. All callers updated.
|
|
|
|
|
(read_member_functions): In has_destructor case, store name in objfile
|
|
|
|
|
obstack instead of malloc space. In !has_stub case, fix mem leak.
|
|
|
|
|
|
2012-02-06 19:33:10 +00:00
|
|
|
|
2012-02-06 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
* configure.ac: Put -L../bfd and -L../libiberty at the front of
|
|
|
|
|
LDFLAGS.
|
|
|
|
|
|
2012-02-04 06:05:50 +00:00
|
|
|
|
2012-02-03 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (rl78-*-elf): New target.
|
|
|
|
|
* rl78-tdep.c: New file.
|
|
|
|
|
|
2012-02-03 22:52:32 +00:00
|
|
|
|
2012-02-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_rcmd): Use getpkt_sane to detect timeout
|
|
|
|
|
and continue the loop. Add QUIT statement.
|
|
|
|
|
|
2012-02-03 15:19:37 +00:00
|
|
|
|
2012-02-03 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/13596:
|
|
|
|
|
* solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from
|
|
|
|
|
bfd_lookup_symbol_from_symtab.
|
|
|
|
|
* solib-pa64.c (pa64_solib_create_inferior_hook): Use
|
|
|
|
|
gdb_bfd_lookup_symbol_from_symtab.
|
|
|
|
|
|
GDB/MI: crash printing "_task" (Ada) argument
In GDB/MI mode, trying to print the arguments of the frame corresponding
to the body of a task ("-stack-list-arguments 1") causes the debugger to
crash.
This is because the compiler adds an implicit argument to that task body
called "_task". mi/mi-cmd-stack.c:list_args_or_locals, which is
responsible for printing the value of our arguments, finds that our
"_task" symbol is an argument, and thus tries to fing the non-argument
equivalent:
if (SYMBOL_IS_ARGUMENT (sym))
sym2 = lookup_symbol (SYMBOL_NATURAL_NAME (sym),
block, VAR_DOMAIN,
(int *) NULL);
Unfortunately, it tries using the natural name, which doesn't always
work for Ada parameters, in particular those who are internally-
generated. In our case, The "_task" parameter's natural name is
"<_task>", and that symbol does not exist. So sym2 is NULL, thus
causing the crash a little later on when trying to dereference it.
We should be using the symbol linkage name in this case, the same
way iterate_over_block_arg_vars already does.
gdb/ChangeLog:
* mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
symbol. Add assertion that sym2 is never NULL.
gdb/testsuite/ChangeLog:
* gdb.ada/mi_task_arg: New testcase.
2012-02-03 07:32:40 +00:00
|
|
|
|
2012-02-03 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
|
|
|
|
|
use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
|
|
|
|
|
symbol. Add assertion that sym2 is never NULL.
|
|
|
|
|
|
2012-02-02 20:19:17 +00:00
|
|
|
|
2012-02-02 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
|
|
|
|
|
"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.
|
|
|
|
|
|
2012-02-02 18:04:29 +00:00
|
|
|
|
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.
|
|
|
|
|
|
2012-02-02 16:22:21 +00:00
|
|
|
|
2012-02-02 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/13405:
|
|
|
|
|
* tui/tui-win.c (parse_scrolling_args): Don't write to possibly
|
|
|
|
|
read-only memory.
|
|
|
|
|
|
2012-02-02 14:58:33 +00:00
|
|
|
|
2012-02-02 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/9307:
|
|
|
|
|
* symtab.c (lookup_language_this): Set block_found.
|
|
|
|
|
|
2012-02-01 20:21:22 +00:00
|
|
|
|
2012-02-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/13431:
|
|
|
|
|
* 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.
|
|
|
|
|
|
2012-02-01 20:16:24 +00:00
|
|
|
|
2012-02-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* jit.c (bfd_open_from_target_memory): Move higher in file.
|
|
|
|
|
|
2012-02-01 16:20:51 +00:00
|
|
|
|
2012-02-01 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* libunwind-frame.c (libunwind_load): Display message if dlopen
|
|
|
|
|
failed.
|
|
|
|
|
|
2012-02-01 16:10:31 +00:00
|
|
|
|
2012-02-01 Gary Benson <gbenson@redhat.com>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2012-02-01 15:49:34 +00:00
|
|
|
|
2012-02-01 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (resolve_subexp): Update.
|
|
|
|
|
(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.
|
|
|
|
|
|
2012-01-31 18:26:47 +00:00
|
|
|
|
2012-01-31 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* language.h (struct language_defn) <la_iterate_over_symbols>: Fix
|
|
|
|
|
comment.
|
|
|
|
|
|
2012-01-31 17:48:41 +00:00
|
|
|
|
2012-01-31 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* symtab.h: Remove outdated comment.
|
2012-01-31 18:19:49 +00:00
|
|
|
|
(SYMBOL_MATCHES_NATURAL_NAME): Delete.
|
2012-01-31 17:48:41 +00:00
|
|
|
|
|
2012-02-01 10:54:07 +00:00
|
|
|
|
2012-02-01 Josh Matthews <josh@joshmatthews.net> (tiny change)
|
|
|
|
|
|
|
|
|
|
Fix build error in Darwin port.
|
|
|
|
|
* i386-darwin-nat.c: Include i386-nat.h.
|
|
|
|
|
|
2012-01-30 20:10:32 +00:00
|
|
|
|
2012-01-30 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR breakpoints/13568:
|
|
|
|
|
* dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
|
|
|
|
|
argument. Check for recursive includes.
|
|
|
|
|
(dwarf_decode_macros): Create an include hash.
|
|
|
|
|
|
2012-01-30 17:09:40 +00:00
|
|
|
|
2012-01-30 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
|
|
|
|
|
* ppc-linux-tdep.c: Include glibc-tdep.h.
|
2012-01-31 17:48:41 +00:00
|
|
|
|
(powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
|
2012-01-30 17:09:40 +00:00
|
|
|
|
(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.
|
|
|
|
|
|
2012-01-28 18:08:22 +00:00
|
|
|
|
2012-01-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2012-01-27 20:31:13 +00:00
|
|
|
|
2012-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2012-01-27 18:23:12 +00:00
|
|
|
|
2012-01-27 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (with_python): Fix absolute path handling for win32.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-01-26 22:01:36 +00:00
|
|
|
|
2012-01-26 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-26 23:41:54 +00:00
|
|
|
|
* symtab.c: Whitespace cleanup, no code changes.
|
|
|
|
|
|
2012-01-26 23:22:23 +00:00
|
|
|
|
* symtab.c (lookup_symbol_in_language): Improve comment.
|
|
|
|
|
(lookup_symbol_aux): Fix comment.
|
|
|
|
|
|
2012-01-26 22:19:59 +00:00
|
|
|
|
* psymtab.c (add_psymbol_to_list): Result is now "void".
|
|
|
|
|
* psympriv.h (add_psymbol_to_list): Update.
|
|
|
|
|
|
2012-01-26 22:01:36 +00:00
|
|
|
|
* dwarf2read.c (add_partial_symbol): Delete local psym, unused.
|
|
|
|
|
|
2012-01-26 21:54:45 +00:00
|
|
|
|
2012-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Do not open script filenames twice.
|
|
|
|
|
* cli/cli-cmds.c (source_script_from_stream): Pass to
|
|
|
|
|
source_python_script also STREAM.
|
|
|
|
|
* python/py-auto-load.c (source_section_scripts): Pass to
|
|
|
|
|
source_python_script_for_objfile also STREAM.
|
|
|
|
|
(auto_load_objfile_script): Pass to source_python_script_for_objfile
|
|
|
|
|
also INPUT.
|
|
|
|
|
* python/python-internal.h (source_python_script_for_objfile): New
|
|
|
|
|
parameter file, rename parameter file to filename.
|
|
|
|
|
* python/python.c (python_run_simple_file): Call PyRun_SimpleFile
|
|
|
|
|
instead if !_WIN32. Update the function comment.
|
|
|
|
|
(source_python_script, source_python_script_for_objfile)
|
|
|
|
|
(source_python_script): New parameter file, rename parameter file to
|
|
|
|
|
filename. Pass FILENAME to python_run_simple_file.
|
|
|
|
|
* python/python.h (source_python_script): New parameter file, rename
|
|
|
|
|
parameter file to filename.
|
|
|
|
|
|
2012-01-26 16:44:29 +00:00
|
|
|
|
2012-01-26 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* corelow.c (core_has_fake_pid): Delete.
|
|
|
|
|
(core_close): Delete references to `core_has_fake_pid'.
|
|
|
|
|
(add_to_thread_list): Adjust to mark the inferior's pid as fake.
|
|
|
|
|
(core_open): Delete references to `core_has_fake_pid'.
|
|
|
|
|
(core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
|
|
|
|
|
the removed global.
|
|
|
|
|
|
2012-01-26 04:21:40 +00:00
|
|
|
|
2012-01-26 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
|
|
|
|
|
Remove language parameter from name_matcher. Adjust the comment.
|
|
|
|
|
* symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
|
|
|
|
|
Remove language parameter.
|
|
|
|
|
* ada-lang.c (ada_expand_partial_symbol_name): Likewise.
|
|
|
|
|
* linespec.c (iterate_name_matcher): Likewise.
|
|
|
|
|
* dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
|
|
|
|
|
name_matcher. Adjust call accordingly.
|
|
|
|
|
* psymtab.c (expand_symtabs_matching_via_partial): Likewise.
|
|
|
|
|
(maintenance_check_symtabs): Adjust type of parameter "fun".
|
|
|
|
|
* psymtab.h (maintenance_check_symtabs): Likewise.
|
|
|
|
|
|
2012-01-26 04:20:36 +00:00
|
|
|
|
2012-01-26 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* language.h (symbol_name_match_p_ftype): New typedef.
|
|
|
|
|
(struct language_defn): Replace field la_symbol_name_compare
|
|
|
|
|
by la_get_symbol_name_match_p.
|
|
|
|
|
* ada-lang.c (ada_get_symbol_name_match_p): New function.
|
|
|
|
|
(ada_language_defn): Use it.
|
|
|
|
|
* linespec.c (struct symbol_matcher_data): New type.
|
|
|
|
|
(iterate_name_matcher): Rewrite.
|
|
|
|
|
(iterate_over_all_matching_symtabs): Pass a pointer to
|
|
|
|
|
a symbol_matcher_data struct to expand_symtabs_matching
|
|
|
|
|
instead of just the lookup name.
|
|
|
|
|
* c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
|
|
|
|
|
opencl-lang.c, p-lang.c, language.c: Delete field
|
|
|
|
|
la_symbol_name_compare, and replace by NULL for new field
|
|
|
|
|
la_get_symbol_name_match_p.
|
|
|
|
|
* symfile.h (struct quick_symbol_functions): Update comment.
|
|
|
|
|
|
2012-01-25 15:57:04 +00:00
|
|
|
|
2012-01-25 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
|
|
|
|
|
dereferencing.
|
|
|
|
|
|
2012-01-24 21:39:18 +00:00
|
|
|
|
2012-01-24 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR symtab/12406:
|
|
|
|
|
* solib.c (update_solib_list): Update the program space's
|
|
|
|
|
added_solibs and deleted_solibs fields.
|
|
|
|
|
* progspace.h (struct program_space) <added_solibs,
|
|
|
|
|
deleted_solibs>: New fields.
|
|
|
|
|
(clear_program_space_solib_cache): Declare.
|
|
|
|
|
* progspace.c (release_program_space): Call
|
|
|
|
|
clear_program_space_solib_cache.
|
|
|
|
|
(clear_program_space_solib_cache): New function.
|
|
|
|
|
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
|
|
|
|
|
bpstat_stop_status. Use handle_solib_event.
|
|
|
|
|
* breakpoint.c: Include gdb_regex.h.
|
|
|
|
|
(print_solib_event): New function.
|
|
|
|
|
(bpstat_print): Use print_solib_event.
|
|
|
|
|
(bpstat_stop_status): Add special case for bp_shlib_event.
|
|
|
|
|
(handle_solib_event): New function.
|
|
|
|
|
(bpstat_what): Use handle_solib_event.
|
|
|
|
|
(struct solib_catchpoint): New.
|
|
|
|
|
(dtor_catch_solib, insert_catch_solib, remove_catch_solib)
|
|
|
|
|
(breakpoint_hit_catch_solib, check_status_catch_solib)
|
|
|
|
|
(print_it_catch_solib, print_one_catch_solib)
|
|
|
|
|
(print_mention_catch_solib, print_recreate_catch_solib): New
|
|
|
|
|
functions.
|
|
|
|
|
(catch_solib_breakpoint_ops): New global.
|
|
|
|
|
(catch_load_or_unload, catch_load_command_1)
|
|
|
|
|
(catch_unload_command_1): New functions.
|
|
|
|
|
(internal_bkpt_check_status): Add special case for
|
|
|
|
|
bp_shlib_event.
|
|
|
|
|
(internal_bkpt_print_it): Use print_solib_event.
|
|
|
|
|
(initialize_breakpoint_ops): Initialize
|
|
|
|
|
catch_solib_breakpoint_ops.
|
|
|
|
|
(_initialize_breakpoint): Register "catch load" and "catch
|
|
|
|
|
unload".
|
|
|
|
|
* breakpoint.h (handle_solib_event): Declare.
|
|
|
|
|
* NEWS: Add entry for "catch load" and "catch unload".
|
|
|
|
|
|
2012-01-24 21:36:37 +00:00
|
|
|
|
2012-01-24 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c: Include gdb_vecs.h.
|
|
|
|
|
* charset.c: Include gdb_vecs.h.
|
|
|
|
|
* tracepoint.h: Include gdb_vecs.h.
|
|
|
|
|
* gdb_vecs.h: New file.
|
|
|
|
|
|
2012-01-24 21:32:56 +00:00
|
|
|
|
2012-01-24 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (breakpoint_hit_catch_fork)
|
|
|
|
|
(breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
|
|
|
|
|
(breakpoint_hit_catch_exec): Make use of the `ws' argument.
|
|
|
|
|
* infrun.c (inferior_has_forked, inferior_has_vforked)
|
|
|
|
|
(inferior_has_execd, inferior_has_called_syscall): Delete.
|
|
|
|
|
(handle_syscall_event): Get syscall_number from the execution
|
|
|
|
|
control state's wait status.
|
|
|
|
|
(wait_for_inferior): Don't clear syscall_number.
|
|
|
|
|
|
2012-01-24 21:31:24 +00:00
|
|
|
|
2012-01-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bpstat_check_location, bpstat_stop_status,
|
|
|
|
|
pc_at_non_inline_function): Add `ws' parameter, and pass it down.
|
|
|
|
|
(breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
|
|
|
|
|
(breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
|
|
|
|
|
`ws' parameter.
|
|
|
|
|
(breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return
|
|
|
|
|
false for events other than TARGET_SIGNAL_TRAP.
|
|
|
|
|
(breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
|
|
|
|
|
Add `ws' parameter.
|
|
|
|
|
(bkpt_breakpoint_hit): Add `ws' parameter. Return false for
|
|
|
|
|
events other than TARGET_SIGNAL_TRAP.
|
|
|
|
|
(tracepoint_breakpoint_hit): Add `ws' parameter.
|
|
|
|
|
* breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
|
|
|
|
|
parameter.
|
|
|
|
|
(bpstat_stop_status): Same.
|
|
|
|
|
(pc_at_non_inline_function): Same.
|
|
|
|
|
* infrun.c (handle_syscall_event, handle_inferior_event): Adjust
|
|
|
|
|
to pass the current event's waitstatus to bpstat_stop_status
|
|
|
|
|
and pc_at_non_inline_function.
|
|
|
|
|
|
2012-01-24 20:56:33 +00:00
|
|
|
|
2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Code cleanup.
|
|
|
|
|
* cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
|
|
|
|
|
Update the function comment for it.
|
|
|
|
|
(source_script_with_search): Call make_cleanup_fclose for STREAM.
|
|
|
|
|
* cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
|
|
|
|
|
for STREAM.
|
|
|
|
|
|
2012-01-24 19:12:32 +00:00
|
|
|
|
2012-01-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bpstat_stop_status): Moving clearing print_it
|
|
|
|
|
outside `bs->stop' block.
|
|
|
|
|
(bpstat_what): Rework bp_shlib_event handling.
|
|
|
|
|
(internal_bkpt_check_status): If the breakpoint is a
|
|
|
|
|
bp_shlib_event, then set bs->stop and bs->print if
|
|
|
|
|
stop_on_solib_events is set.
|
|
|
|
|
|
2012-01-24 15:13:30 +00:00
|
|
|
|
2012-01-24 Gary Benson <gbenson@redhat.com>
|
|
|
|
|
|
|
|
|
|
Delete #if 0'd out code.
|
|
|
|
|
* stack.c (print_frame_label_vars): Remove.
|
|
|
|
|
(catch_info): Likewise.
|
|
|
|
|
(_initialize_stack): Remove "info catch" command.
|
|
|
|
|
* NEWS: Mention the above.
|
|
|
|
|
|
2012-01-24 14:19:03 +00:00
|
|
|
|
2012-01-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
|
|
|
|
|
it.
|
|
|
|
|
(remote_notice_new_inferior): If the remote end doesn't support
|
|
|
|
|
the multiprocess extensions, then the PID is fake.
|
|
|
|
|
(add_current_inferior_and_thread): New.
|
|
|
|
|
(remote_start_remote): Use it.
|
|
|
|
|
(extended_remote_attach_1): Adjust.
|
|
|
|
|
(extended_remote_create_inferior_1): Use
|
|
|
|
|
add_current_inferior_and_thread.
|
|
|
|
|
|
2012-01-24 13:49:58 +00:00
|
|
|
|
2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix watchpoints to be specific for each inferior.
|
|
|
|
|
* breakpoint.c (watchpoint_in_thread_scope): Verify also
|
|
|
|
|
current_program_space.
|
|
|
|
|
* i386-nat.c (i386_inferior_data_cleanup): New.
|
|
|
|
|
(i386_inferior_data_get): Replace variable inf_data_local by an
|
|
|
|
|
inferior_data call.
|
|
|
|
|
(i386_use_watchpoints): Initialize i386_inferior_data.
|
|
|
|
|
* linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
|
|
|
|
|
specific iterate_over_lwps.
|
|
|
|
|
|
2012-01-24 13:46:55 +00:00
|
|
|
|
2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix watchpoints across inferior fork.
|
|
|
|
|
* amd64-linux-nat.c (update_debug_registers_callback): Update the
|
|
|
|
|
comment for linux_nat_iterate_watchpoint_lwps.
|
|
|
|
|
(amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
|
|
|
|
|
linux_nat_iterate_watchpoint_lwps.
|
|
|
|
|
(amd64_linux_prepare_to_resume): New comment on Linux kernel.
|
|
|
|
|
* i386-linux-nat.c (update_debug_registers_callback): Update the
|
|
|
|
|
comment for linux_nat_iterate_watchpoint_lwps.
|
|
|
|
|
(i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
|
|
|
|
|
linux_nat_iterate_watchpoint_lwps.
|
|
|
|
|
(i386_linux_prepare_to_resume): New comment on Linux kernel.
|
|
|
|
|
* i386-nat.c: Include inferior.h.
|
|
|
|
|
(dr_mirror): Remove.
|
|
|
|
|
(i386_inferior_data, struct i386_inferior_data)
|
|
|
|
|
(i386_inferior_data_get): New.
|
|
|
|
|
(i386_debug_reg_state): Use i386_inferior_data_get.
|
|
|
|
|
(i386_cleanup_dregs, i386_update_inferior_debug_regs)
|
|
|
|
|
(i386_insert_watchpoint, i386_remove_watchpoint)
|
|
|
|
|
(i386_stopped_data_address, i386_insert_hw_breakpoint)
|
|
|
|
|
(i386_remove_hw_breakpoint): New variable state, use
|
|
|
|
|
i386_debug_reg_state instead of DR_MIRROR.
|
|
|
|
|
* linux-nat.c (delete_lwp): New declaration.
|
|
|
|
|
(num_lwps): Move here from downwards.
|
|
|
|
|
(delete_lwp_cleanup): New.
|
|
|
|
|
(linux_child_follow_fork): Create new child_lp, call
|
|
|
|
|
linux_nat_new_thread and linux_nat_prepare_to_resume before calling
|
|
|
|
|
PTRACE_DETACH.
|
|
|
|
|
(num_lwps): Move upwards.
|
|
|
|
|
(linux_nat_iterate_watchpoint_lwps): New.
|
|
|
|
|
* linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
|
|
|
|
|
(linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
|
|
|
|
|
|
2012-01-24 11:35:39 +00:00
|
|
|
|
2012-01-24 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
GDB 7.4 released.
|
|
|
|
|
|
2012-01-23 17:12:30 +00:00
|
|
|
|
2012-01-23 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* top.c (caution): Rename to ...
|
|
|
|
|
(confirm): ... this.
|
|
|
|
|
(show_caution): Rename to ...
|
|
|
|
|
(show_confirm): ... this.
|
|
|
|
|
(quit_cover): Adjust.
|
|
|
|
|
(init_main): Adjust.
|
|
|
|
|
* top.h (caution): Rename to ...
|
|
|
|
|
(confirm): ... this.
|
|
|
|
|
* utils.c (internal_vproblem, defaulted_query): Adjust.
|
|
|
|
|
|
2012-01-23 17:11:50 +00:00
|
|
|
|
2012-01-23 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* top.c (caution): Update comment.
|
|
|
|
|
(execute_command): Don't consider the current value of `caution'.
|
|
|
|
|
|
2012-01-23 16:37:03 +00:00
|
|
|
|
2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
|
|
|
|
|
|
2012-01-23 13:35:22 +00:00
|
|
|
|
2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
|
|
|
|
|
* linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
|
|
|
|
|
* target.c (target_fileio_pwrite): Remove buffer address from
|
|
|
|
|
debug output.
|
|
|
|
|
(target_fileio_pread): Likewise.
|
|
|
|
|
|
2012-01-20 10:31:26 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* NEWS: Document remote "info proc" and "generate-core-file".
|
|
|
|
|
|
2012-01-20 09:59:15 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (find_memory_regions): New callback.
|
|
|
|
|
* gdbarch.c, gdbarch.h: Regenerate.
|
|
|
|
|
|
|
|
|
|
* gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
|
|
|
|
|
callback before falling back to target method.
|
|
|
|
|
|
|
|
|
|
* linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
|
|
|
|
|
(linux_target_install_ops): No longer install it.
|
|
|
|
|
|
|
|
|
|
* linux-tdep.c (linux_find_memory_regions): New function.
|
|
|
|
|
(linux_init_abi): Install it.
|
|
|
|
|
|
2012-01-20 09:56:56 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (make_corefile_notes): New architecture callback.
|
|
|
|
|
* gdbarch.c: Regenerate.
|
|
|
|
|
* gdbarch.h: Likewise.
|
|
|
|
|
|
|
|
|
|
* gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
|
|
|
|
|
before target_make_corefile_notes. If NULL is returned, the
|
|
|
|
|
target does not support core file generation.
|
|
|
|
|
|
|
|
|
|
* linux-nat.c: Include "linux-tdep.h".
|
|
|
|
|
(find_signalled_thread, find_stop_signal): Remove.
|
|
|
|
|
(linux_nat_do_thread_registers): Likewise.
|
|
|
|
|
(struct linux_nat_corefile_thread_data): Likewise.
|
|
|
|
|
(linux_nat_corefile_thread_callback): Likewise.
|
|
|
|
|
(iterate_over_spus): Likewise.
|
|
|
|
|
(struct linux_spu_corefile_data): Likewise.
|
|
|
|
|
(linux_spu_corefile_callback): Likewise.
|
|
|
|
|
(linux_spu_make_corefile_notes): Likewise.
|
|
|
|
|
(linux_nat_collect_thread_registers): New function.
|
|
|
|
|
(linux_nat_make_corefile_notes): Replace contents by call to
|
|
|
|
|
linux_make_corefile_notes passing linux_nat_collect_thread_registers
|
|
|
|
|
as native-only callback.
|
|
|
|
|
|
|
|
|
|
* linux-tdep.h: Include "bfd.h".
|
|
|
|
|
(struct regcache): Add forward declaration.
|
|
|
|
|
(linux_collect_thread_registers_ftype): New typedef.
|
|
|
|
|
(linux_make_corefile_notes): Add prototype.
|
|
|
|
|
* linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
|
|
|
|
|
"regset.h", and "elf-bfd.h".
|
|
|
|
|
(find_signalled_thread, find_stop_signal): New functions.
|
|
|
|
|
(linux_spu_make_corefile_notes): Likewise.
|
|
|
|
|
(linux_collect_thread_registers): Likewise.
|
|
|
|
|
(struct linux_corefile_thread_data): New data structure.
|
|
|
|
|
(linux_corefile_thread_callback): New funcion.
|
|
|
|
|
(linux_make_corefile_notes): Likewise.
|
|
|
|
|
(linux_make_corefile_notes_1): Likewise.
|
|
|
|
|
(linux_init_abi): Install it.
|
|
|
|
|
|
2012-01-20 09:49:58 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (info_proc): New callback.
|
|
|
|
|
* gdbarch.c, gdbarch.h: Regenerate.
|
|
|
|
|
|
|
|
|
|
* infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
|
|
|
|
|
before falling back to the target info_proc callback.
|
|
|
|
|
|
|
|
|
|
* linux-nat.c: Do not include "cli/cli-utils.h".
|
|
|
|
|
(linux_nat_info_proc): Remove.
|
|
|
|
|
(linux_target_install_ops): No longer install it.
|
|
|
|
|
|
|
|
|
|
* linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
|
|
|
|
|
(read_mapping): New function.
|
|
|
|
|
(linux_info_proc): Likewise.
|
|
|
|
|
(linux_init_abi): Install it.
|
|
|
|
|
|
2012-01-20 09:49:01 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* defs.h (enum info_proc_what): Moved here from linux-nat.c
|
|
|
|
|
* infcmd.c: (info_proc_cmd_1): New function.
|
|
|
|
|
(info_proc_cmd): New function, moved here from equivalent routine
|
|
|
|
|
orignally in linux-nat.c.
|
|
|
|
|
(info_proc_cmd_mappings): Likewise.
|
|
|
|
|
(info_proc_cmd_stat): Likewise.
|
|
|
|
|
(info_proc_cmd_status): Likewise.
|
|
|
|
|
(info_proc_cmd_cwd): Likewise.
|
|
|
|
|
(info_proc_cmd_cmdline): Likewise.
|
|
|
|
|
(info_proc_cmd_exe): Likewise.
|
|
|
|
|
(info_proc_cmd_all): Likewise.
|
|
|
|
|
(_initialize_infcmd): Install "info proc" command and subcommands.
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops): Add to_info_proc.
|
|
|
|
|
(target_info_proc): Add prototype.
|
|
|
|
|
* target.c (target_info_proc): New function.
|
|
|
|
|
|
|
|
|
|
* procfs.c (procfs_info_proc): Add prototype.
|
|
|
|
|
(info_proc_cmd): Rename into ...
|
|
|
|
|
(procfs_info_proc): ... this. Update argument types as appropriate
|
|
|
|
|
for a to_info_proc implementation. Handle "what" argument.
|
|
|
|
|
(procfs_target): Install procfs_info_proc.
|
|
|
|
|
(_initialize_procfs): No longer install "info proc" command.
|
|
|
|
|
|
|
|
|
|
* linux-nat.c: (enum info_proc_what): Remove.
|
|
|
|
|
(linux_nat_info_proc_cmd_1): Rename into ...
|
|
|
|
|
(linux_nat_info_proc): ... this. Update argument types as appropriate
|
|
|
|
|
for a to_info_proc implementation.
|
|
|
|
|
(linux_nat_info_proc_cmd): Remove.
|
|
|
|
|
(linux_nat_info_proc_cmd_mappings): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_stat): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_status): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_cwd): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_cmdline): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_exe): Likewise.
|
|
|
|
|
(linux_nat_info_proc_cmd_all): Likewise.
|
|
|
|
|
(linux_target_install_ops): Install linux_nat_info_proc.
|
|
|
|
|
(_initialize_linux_nat): No longer install "info proc" command
|
|
|
|
|
and subcommands.
|
|
|
|
|
|
2012-01-20 09:47:32 +00:00
|
|
|
|
2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac [AC_CHECK_FUNCS]: Check for readlink.
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops): Add to_fileio_readlink.
|
|
|
|
|
(target_fileio_readlink): Add prototype.
|
|
|
|
|
* target.c (target_fileio_readlink): New function.
|
|
|
|
|
|
|
|
|
|
* inf-child.c: Conditionally include <sys/param.h>.
|
|
|
|
|
(inf_child_fileio_readlink): New function.
|
|
|
|
|
(inf_child_target): Install it.
|
|
|
|
|
|
|
|
|
|
* remote.c (PACKET_vFile_readlink): New enum value.
|
|
|
|
|
(remote_hostio_readlink): New function.
|
|
|
|
|
(init_remote_ops): Install it.
|
|
|
|
|
(_initialize_remote): Handle vFile:readlink packet type.
|
|
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
* config.in, configure: Regenerate.
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
to_fileio_pread, to_fileio_close, to_fileio_unlink.
(target_fileio_open): Add prototype.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* target.c: Include "gdb/fileio.h".
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
(default_fileio_target): New function.
(target_fileio_open): Likewise.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_close_cleanup): Likewise.
(target_fileio_read_alloc_1): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
<fcntl.h>, and <unistd.h>.
(inf_child_fileio_open_flags_to_host): New function.
(inf_child_errno_to_fileio_error): Likewise.
(inf_child_fileio_open): Likewise.
(inf_child_fileio_pwrite): Likewise.
(inf_child_fileio_pread): Likewise.
(inf_child_fileio_close): Likewise.
(inf_child_fileio_unlink): Likewise.
(inf_child_target): Install to_fileio routines.
* remote.c (init_remote_ops): Install to_fileio routines.
2012-01-20 09:45:51 +00:00
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
|
|
|
|
|
Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
|
|
|
|
|
to_fileio_pread, to_fileio_close, to_fileio_unlink.
|
|
|
|
|
(target_fileio_open): Add prototype.
|
|
|
|
|
(target_fileio_pwrite): Likewise.
|
|
|
|
|
(target_fileio_pread): Likewise.
|
|
|
|
|
(target_fileio_close): Likewise.
|
|
|
|
|
(target_fileio_unlink): Likewise.
|
|
|
|
|
(target_fileio_read_alloc): Likewise.
|
|
|
|
|
(target_fileio_read_stralloc): Likewise.
|
|
|
|
|
|
|
|
|
|
* target.c: Include "gdb/fileio.h".
|
|
|
|
|
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
|
|
|
|
|
(default_fileio_target): New function.
|
|
|
|
|
(target_fileio_open): Likewise.
|
|
|
|
|
(target_fileio_pwrite): Likewise.
|
|
|
|
|
(target_fileio_pread): Likewise.
|
|
|
|
|
(target_fileio_close): Likewise.
|
|
|
|
|
(target_fileio_unlink): Likewise.
|
|
|
|
|
(target_fileio_close_cleanup): Likewise.
|
|
|
|
|
(target_fileio_read_alloc_1): Likewise.
|
|
|
|
|
(target_fileio_read_alloc): Likewise.
|
|
|
|
|
(target_fileio_read_stralloc): Likewise.
|
|
|
|
|
|
|
|
|
|
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
|
|
|
|
|
<fcntl.h>, and <unistd.h>.
|
|
|
|
|
(inf_child_fileio_open_flags_to_host): New function.
|
|
|
|
|
(inf_child_errno_to_fileio_error): Likewise.
|
|
|
|
|
(inf_child_fileio_open): Likewise.
|
|
|
|
|
(inf_child_fileio_pwrite): Likewise.
|
|
|
|
|
(inf_child_fileio_pread): Likewise.
|
|
|
|
|
(inf_child_fileio_close): Likewise.
|
|
|
|
|
(inf_child_fileio_unlink): Likewise.
|
|
|
|
|
(inf_child_target): Install to_fileio routines.
|
|
|
|
|
|
|
|
|
|
* remote.c (init_remote_ops): Install to_fileio routines.
|
|
|
|
|
|
2012-01-20 09:44:35 +00:00
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
|
|
|
|
|
Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_multi_process_p): Only check for multi-process
|
|
|
|
|
protocol feature, do not check for extended protocol.
|
|
|
|
|
(remote_supports_multi_process): Check for extended protocol here.
|
|
|
|
|
(set_general_process): Likewise.
|
|
|
|
|
(extended_remote_kill): Likewise.
|
|
|
|
|
(remote_pid_to_str): Likewise.
|
|
|
|
|
(remote_query_supported): Always query multiprocess mode.
|
|
|
|
|
|
2012-01-20 09:42:44 +00:00
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
|
|
|
|
|
Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* inferior.h (struct inferior): Add fake_pid_p.
|
|
|
|
|
* inferior.c (exit_inferior_1): Clear fake_pid_p.
|
|
|
|
|
* remote.c (remote_start_remote): Set fake_pid_p if we have to use
|
|
|
|
|
magic_null_ptid since the remote side doesn't provide a real PID.
|
|
|
|
|
|
2012-01-19 16:54:03 +00:00
|
|
|
|
2012-01-19 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Combine the two Python sections.
|
|
|
|
|
|
2012-01-19 16:36:38 +00:00
|
|
|
|
2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* target.h (target_close): Update comment on the target's unpush state.
|
|
|
|
|
|
2012-01-19 16:32:59 +00:00
|
|
|
|
2012-01-19 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
|
|
|
|
|
linux_nat_async directly instead of going through the target
|
|
|
|
|
vector.
|
|
|
|
|
* target.c (unpush_target): Close target after unpushing it, not
|
|
|
|
|
before.
|
|
|
|
|
|
2012-01-19 12:51:04 +00:00
|
|
|
|
2012-01-19 Gary Benson <gbenson@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mdebugread.c (sort_blocks): Replace integer constants with ones
|
|
|
|
|
derived from FIRST_LOCAL_BLOCK.
|
|
|
|
|
|
2012-01-18 18:58:43 +00:00
|
|
|
|
2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/9538
|
|
|
|
|
* symfile.c (find_separate_debug_file): New function.
|
|
|
|
|
(terminate_after_last_dir_separator): Likewise.
|
|
|
|
|
(find_separate_debug_file_by_debuglink): Also try realpath.
|
|
|
|
|
* configure.ac (AC_CHECK_FUNCS): Add lstat.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2012-01-18 18:35:43 +00:00
|
|
|
|
2012-01-18 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
|
|
|
|
|
(main.o): Remove rule.
|
|
|
|
|
* configure.ac (BINDIR): Define with AC_DEFINE_DIR.
|
|
|
|
|
(--with-sysroot): Rewrite.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2012-01-18 12:47:35 +00:00
|
|
|
|
2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* parse.c (initialize_expout): New function.
|
|
|
|
|
(reallocate_expout): Likewise.
|
|
|
|
|
(parse_exp_in_context): Use `initialize_expout' and
|
|
|
|
|
`reallocate_expout' when appropriate.
|
|
|
|
|
|
2012-01-18 11:51:55 +00:00
|
|
|
|
2012-01-18 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* record.c (struct record_breakpoint, record_breakpoint_p)
|
|
|
|
|
(record_breakpoints): New.
|
|
|
|
|
(record_insert_breakpoint, record_remove_breakpoint): Manage
|
|
|
|
|
record breakpoints list. Only remove breakpoints from the
|
|
|
|
|
inferior if they had been inserted there in the first place.
|
|
|
|
|
|
2012-01-17 20:30:22 +00:00
|
|
|
|
2012-01-17 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_internal): Don't call symtabs_from_filename
|
|
|
|
|
if we know we don't have a file name to look for.
|
|
|
|
|
|
2012-01-17 14:03:33 +00:00
|
|
|
|
2012-01-17 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
|
|
|
|
|
the frame's stop reason is UNWIND_UNAVAILABLE.
|
|
|
|
|
|
2012-01-17 00:06:47 +00:00
|
|
|
|
2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix compilation error.
|
|
|
|
|
* m2-exp.y (yyerror): Use ANSI C prototype.
|
|
|
|
|
|
2012-01-16 21:03:36 +00:00
|
|
|
|
2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
|
|
|
|
|
(growbuf_by_size): Likewise.
|
|
|
|
|
(yyerror): Likewise.
|
|
|
|
|
* m2-exp.y (make_qualname): Remove function (was #if 0'ed).
|
|
|
|
|
(modblock): Remove variable (was #if 0'ed).
|
|
|
|
|
(parse_number): Convert prototype from K&R to ANSI C.
|
|
|
|
|
(yyerror): Likewise.
|
|
|
|
|
* objc-exp.y (parse_number): Likewise.
|
|
|
|
|
(yyerror): Likewise.
|
|
|
|
|
(yylex): Remove #if 0'ed code.
|
|
|
|
|
* p-exp.y (uptok): Convert prototype from K&R to ANSI C.
|
|
|
|
|
(yyerror): Likewise.
|
|
|
|
|
|
2012-01-16 20:40:53 +00:00
|
|
|
|
2012-01-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add item.
|
|
|
|
|
* symtab.h (compare_filenames_for_search): Declare.
|
|
|
|
|
* symtab.c (compare_filenames_for_search): New function.
|
|
|
|
|
(iterate_over_some_symtabs): Use it.
|
|
|
|
|
* symfile.h (struct quick_symbol_functions)
|
|
|
|
|
<map_symtabs_matching_filename>: Change spec.
|
|
|
|
|
* psymtab.c (partial_map_symtabs_matching_filename): Use
|
|
|
|
|
compare_filenames_for_search. Update for new spec.
|
|
|
|
|
* dwarf2read.c (dw2_map_symtabs_matching_filename): Use
|
|
|
|
|
compare_filenames_for_search. Update for new spec.
|
|
|
|
|
* breakpoint.c (clear_command): Use compare_filenames_for_search.
|
|
|
|
|
|
2012-01-16 19:44:16 +00:00
|
|
|
|
2012-01-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/13281:
|
|
|
|
|
* gdbtypes.h (TYPE_FLAG_ENUM): New macro.
|
|
|
|
|
(struct main_type) <flag_flag_enum>: New field.
|
|
|
|
|
* dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
|
|
|
|
|
* NEWS: Add entries.
|
|
|
|
|
* c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
|
|
|
|
|
enums.
|
|
|
|
|
* python/lib/gdb/printing.py (_EnumInstance): New class.
|
|
|
|
|
(FlagEnumerationPrinter): Likewise.
|
|
|
|
|
|
2012-01-16 17:44:36 +00:00
|
|
|
|
2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (create_sals_from_address_default): New function.
|
|
|
|
|
(create_breakpoints_sal_default): Likewise.
|
|
|
|
|
(decode_linespec_default): Likewise.
|
|
|
|
|
(is_marker_spec): Removed.
|
|
|
|
|
(strace_marker_p): New function.
|
|
|
|
|
(init_breakpoint_sal): Using `strace_marker_p' instead of
|
|
|
|
|
`is_marker_spec'.
|
|
|
|
|
(create_breakpoint): Call method `create_sals_from_address' from
|
|
|
|
|
breakpoint_ops, replacing code that created SALs conditionally
|
|
|
|
|
on the type of the breakpoint. Call method `create_breakpoints_sal',
|
|
|
|
|
replacing code that created breakpoints conditionally on the type
|
|
|
|
|
wanted.
|
|
|
|
|
(base_breakpoint_create_sals_from_address): New function.
|
|
|
|
|
(base_breakpoint_create_breakpoints_sal): Likewise.
|
|
|
|
|
(base_breakpoint_decode_linespec): Likewise.
|
|
|
|
|
(base_breakpoint_ops): Add methods
|
|
|
|
|
`base_breakpoint_create_sals_from_address',
|
|
|
|
|
`base_breakpoint_create_breakpoints_sal' and
|
|
|
|
|
`base_breakpoint_decode_linespec'.
|
|
|
|
|
(bkpt_create_sals_from_address): New function.
|
|
|
|
|
(bkpt_create_breakpoints_sal): Likewise.
|
|
|
|
|
(bkpt_decode_linespec): Likewise.
|
|
|
|
|
(tracepoint_create_sals_from_address): Likewise.
|
|
|
|
|
(tracepoint_create_breakpoints_sal): Likewise.
|
|
|
|
|
(tracepoint_decode_linespec): Likewise.
|
|
|
|
|
(strace_marker_create_sals_from_address): Likewise.
|
|
|
|
|
(strace_marker_create_breakpoints_sal): Likewise.
|
|
|
|
|
(strace_marker_decode_linespec): Likewise.
|
|
|
|
|
(strace_marker_breakpoint_ops): New variable.
|
|
|
|
|
(addr_string_to_sals): Remove `marker_spec'. Call method
|
|
|
|
|
`decode_linespec' from breakpoint_ops, replacing code that decoded
|
|
|
|
|
an address string into a SAL. Use `strace_marker_p' instead of
|
|
|
|
|
`marker_spec'.
|
|
|
|
|
(strace_command): Decide whether we are dealing with a static
|
|
|
|
|
tracepoint with marker or not. Use the appropriate breakpoint_ops.
|
|
|
|
|
(initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
|
|
|
|
|
* breakpoint.h (linespec_result, linespec_sals): New forward
|
|
|
|
|
declarations.
|
|
|
|
|
(breakpoint_ops) <create_sals_from_address>,
|
|
|
|
|
<create_breakpoints_sal>, <decode_linespec>: New methods.
|
|
|
|
|
|
2012-01-14 18:13:27 +00:00
|
|
|
|
2012-01-14 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Update text for "maint set python print-stack".
|
|
|
|
|
It is deprecated in gdb 7.4 and deleted in 7.5.
|
|
|
|
|
|
2012-01-13 10:44:35 +00:00
|
|
|
|
2012-01-13 Eli Zaretskii <eliz@gnu.org>
|
|
|
|
|
|
|
|
|
|
* gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
|
|
|
|
|
including curses.h.
|
|
|
|
|
|
2012-01-12 23:38:47 +00:00
|
|
|
|
2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2012-01-12 22:51:10 +00:00
|
|
|
|
2012-01-12 Keith Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR mi/10586
|
|
|
|
|
* varobj.c (ANONYMOUS_STRUCT_NAME): Define.
|
|
|
|
|
(ANONYMOUS_UNION_NAME): Define.
|
|
|
|
|
(is_path_expr_parent): New function.
|
|
|
|
|
(get_path_expr_parent): New function.
|
|
|
|
|
(is_anonymous_child): New function.
|
|
|
|
|
(create_child_with_value): If the child is anonymous and without
|
|
|
|
|
a name, assign an object name to it.
|
|
|
|
|
(c_describe_child): Use get_path_expr_parent to determine
|
|
|
|
|
the parent expression.
|
|
|
|
|
If there field represents an anonymous struct or union and
|
|
|
|
|
has no name, set an appropriate display name and expression.
|
|
|
|
|
(cplus_describe_child): Likewise.
|
|
|
|
|
|
2012-01-12 15:39:36 +00:00
|
|
|
|
2012-01-12 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
|
|
|
|
|
available when %ebp is found to be zero (outermost).
|
|
|
|
|
|
2012-01-11 21:51:31 +00:00
|
|
|
|
2012-01-11 Andreas Tobler <andreast@fgznet.ch>
|
|
|
|
|
|
|
|
|
|
* common/gdb_assert.h (gdb_static_assert): Rename static_assert to
|
|
|
|
|
an internal gdb_static_assert.
|
|
|
|
|
* mi/mi-common.c: Rename static_assert to gdb_static_assert.
|
|
|
|
|
|
2012-01-11 18:30:19 +00:00
|
|
|
|
2012-01-11 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/9598:
|
|
|
|
|
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
|
|
|
|
|
catch" and "catch throw".
|
|
|
|
|
|
2012-01-11 10:34:21 +00:00
|
|
|
|
2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
|
|
|
|
|
|
|
|
|
|
* blockframe.c (block_innermost_frame): Start search from selected
|
|
|
|
|
frame, if present, or otherwise the current frame.
|
|
|
|
|
|
|
|
|
|
* c-exp.y (variable): Update innermost_block for
|
|
|
|
|
'block COLONCOLON NAME' clause.
|
|
|
|
|
* m2-exp.y (variable): Ditto.
|
|
|
|
|
* objc-exp.y (variable): Ditto.
|
|
|
|
|
|
2012-01-10 21:26:39 +00:00
|
|
|
|
2012-01-10 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/13199:
|
|
|
|
|
* python/python.c (finish_python_initialization): Set sys.argv.
|
|
|
|
|
|
2012-01-10 21:16:59 +00:00
|
|
|
|
2012-01-10 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
|
|
|
|
|
"want_line_info". All callers updated.
|
|
|
|
|
(dwarf_decode_lines_1): New function.
|
|
|
|
|
(handle_DW_AT_stmt_list): Add function comment.
|
|
|
|
|
New arg "want_line_info". All callers updated.
|
|
|
|
|
(read_file_scope,read_type_unit_scope): Move comment from
|
|
|
|
|
handle_DW_AT_stmt_list to here.
|
|
|
|
|
|
2012-01-10 19:29:12 +00:00
|
|
|
|
2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix regression after libiberty/ update for GCC PR 6057 and others.
|
|
|
|
|
* c-exp.y (operator) <OPERATOR DELETE>
|
|
|
|
|
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
|
|
|
|
|
* cp-name-parser.y (fill_comp, make_operator, make_dtor)
|
|
|
|
|
(make_builtin_type, make_name): New variable i, add gdb_assert.
|
|
|
|
|
(operator) <OPERATOR NEW>: Update ARGS to 3.
|
|
|
|
|
(operator) <OPERATOR DELETE>: Add trailing space.
|
|
|
|
|
(operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
|
|
|
|
|
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
|
|
|
|
|
* cp-support.c (cp_canonicalize_string): Check NULL from
|
|
|
|
|
cp_comp_to_string, call warning and return.
|
|
|
|
|
|
gdb/
Fix duplicate .o files after omitting libbfd.a.
* Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
(SFILES): Add corelow.c.
(COMMON_OBS): Add corelow.o.
(ALLDEPFILES): Remove corelow.c.
* config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
* config/alpha/alpha-osf3.mh: Likewise.
* config/alpha/fbsd.mh: Likewise.
* config/arm/nbsdaout.mh: Likewise.
* config/arm/nbsdelf.mh: Likewise.
* config/i386/i386gnu.mh: Likewise.
* config/ia64/hpux.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/irix5.mh: Likewise.
* config/mips/irix6.mh: Likewise.
* config/pa/hpux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/aix.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/sparc/sol2.mh: Likewise.
* config/vax/vax.mh: Likewise.
* configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
(alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
(am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
(hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
(i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
(i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
(i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
(m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
(microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
(powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
(sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
(sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
(sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
(sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
(vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
(x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
(x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
corelow.o from gdb_target_obs.
* corefile.c (core_target): Update the comment on NULL value.
(core_file_command): Replace error by gdb_assert on CORE_TARGET.
* corelow.c (sniff_core_bfd): Call error instead of warning on zero
MATCHES. Drop YUMMY set on NULL.
(core_close): Do not call exit_inferior_silent on zero PID. Do not
reclaim CORE_DATA if it is already NULL.
2012-01-10 16:30:49 +00:00
|
|
|
|
2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix duplicate .o files after omitting libbfd.a.
|
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
|
|
|
|
|
(SFILES): Add corelow.c.
|
|
|
|
|
(COMMON_OBS): Add corelow.o.
|
|
|
|
|
(ALLDEPFILES): Remove corelow.c.
|
|
|
|
|
* config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
|
|
|
|
|
* config/alpha/alpha-osf3.mh: Likewise.
|
|
|
|
|
* config/alpha/fbsd.mh: Likewise.
|
|
|
|
|
* config/arm/nbsdaout.mh: Likewise.
|
|
|
|
|
* config/arm/nbsdelf.mh: Likewise.
|
|
|
|
|
* config/i386/i386gnu.mh: Likewise.
|
|
|
|
|
* config/ia64/hpux.mh: Likewise.
|
|
|
|
|
* config/ia64/linux.mh: Likewise.
|
|
|
|
|
* config/m32r/linux.mh: Likewise.
|
|
|
|
|
* config/m68k/linux.mh: Likewise.
|
|
|
|
|
* config/mips/irix5.mh: Likewise.
|
|
|
|
|
* config/mips/irix6.mh: Likewise.
|
|
|
|
|
* config/pa/hpux.mh: Likewise.
|
|
|
|
|
* config/pa/linux.mh: Likewise.
|
|
|
|
|
* config/powerpc/aix.mh: Likewise.
|
|
|
|
|
* config/sparc/linux.mh: Likewise.
|
|
|
|
|
* config/sparc/linux64.mh: Likewise.
|
|
|
|
|
* config/sparc/sol2.mh: Likewise.
|
|
|
|
|
* config/vax/vax.mh: Likewise.
|
|
|
|
|
* configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
|
|
|
|
|
(alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
|
|
|
|
|
(am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
|
|
|
|
|
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
|
|
|
|
|
(hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
|
|
|
|
|
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
|
|
|
|
|
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
|
|
|
|
|
(i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
|
|
|
|
|
(i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
|
|
|
|
|
(i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
|
|
|
|
|
(m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
|
|
|
|
|
(microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
|
|
|
|
|
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
|
|
|
|
|
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
|
|
|
|
|
(powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
|
|
|
|
|
(sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
|
|
|
|
|
(sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
|
|
|
|
|
(sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
|
|
|
|
|
(sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
|
|
|
|
|
(vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
|
|
|
|
|
(x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
|
|
|
|
|
(x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
|
|
|
|
|
corelow.o from gdb_target_obs.
|
|
|
|
|
* corefile.c (core_target): Update the comment on NULL value.
|
|
|
|
|
(core_file_command): Replace error by gdb_assert on CORE_TARGET.
|
|
|
|
|
* corelow.c (sniff_core_bfd): Call error instead of warning on zero
|
|
|
|
|
MATCHES. Drop YUMMY set on NULL.
|
|
|
|
|
(core_close): Do not call exit_inferior_silent on zero PID. Do not
|
|
|
|
|
reclaim CORE_DATA if it is already NULL.
|
|
|
|
|
|
2012-01-09 22:31:39 +00:00
|
|
|
|
2012-01-09 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
|
|
|
|
|
* varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
|
|
|
|
|
|
2012-01-09 20:47:47 +00:00
|
|
|
|
2012-01-09 Keith Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (wrapper.h): Don't include.
|
|
|
|
|
|
2012-01-09 20:27:49 +00:00
|
|
|
|
2012-01-09 Keith Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SFILES): Remove wrapper.c.
|
|
|
|
|
(HFILES_NO_SRCDIR): Remove wrapper.h.
|
|
|
|
|
(COMMON_OBS): Remove wrapper.o.
|
|
|
|
|
* cli/cli-interp.c: Don't inlude wrapper.h.
|
|
|
|
|
* corelow.c: Likewise.
|
|
|
|
|
(core_open): Replace gdb_target_find_new_threads with
|
|
|
|
|
TRY_CATCH around target_find_new_threads.
|
|
|
|
|
* eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
|
|
|
|
|
* gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
|
|
|
|
|
* varobj.c (varobj_create): Likewise for parse_exp_1 and
|
|
|
|
|
evaluate_expression.
|
|
|
|
|
(varobj_set_value): Likewise for evaluate_expression and
|
|
|
|
|
value_assign.
|
|
|
|
|
(install_new_variable): Likewise for value_fetch_lazy.
|
|
|
|
|
(adjust_value_for_child_access): Likewise for value_ind.
|
|
|
|
|
(c_describe_child): Likewise for value_subscript and
|
|
|
|
|
value_ind.
|
|
|
|
|
(c_value_of_root): Likewise for evaluate_expression.
|
|
|
|
|
* wrapper.c: Remove.
|
|
|
|
|
* wrapper.h: Remove.
|
|
|
|
|
|
2012-01-09 17:27:20 +00:00
|
|
|
|
2012-01-09 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-09 17:40:05 +00:00
|
|
|
|
* dwarf2read.c (read_and_check_comp_unit_head): Renamed from
|
|
|
|
|
partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
|
|
|
|
|
"abfd" args with "section". All callers updated.
|
|
|
|
|
Error checking code moved ...
|
|
|
|
|
(error_check_comp_unit_head): ... here. New function.
|
|
|
|
|
(read_and_check_type_unit_head): Renamed from read_type_unit_head.
|
|
|
|
|
Delete arg "abfd". New arg "type_offset". All callers updated.
|
|
|
|
|
(create_debug_types_hash_table): Simplify by using
|
|
|
|
|
read_and_check_type_unit_head.
|
|
|
|
|
|
2012-01-09 17:27:20 +00:00
|
|
|
|
* parser-defs.h (namecopy): Delete.
|
|
|
|
|
* parse.c (namecopy, namecopy_size): Move into copy_name.
|
|
|
|
|
|
2012-01-09 15:21:13 +00:00
|
|
|
|
2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Partially fix duplicate .o files after omitting libbfd.a.
|
|
|
|
|
* config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
* config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
* config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
* config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
* config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
|
|
|
|
|
* config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
|
|
|
|
|
|
2012-01-09 10:07:30 +00:00
|
|
|
|
2012-01-09 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2012-01-08 21:02:45 +00:00
|
|
|
|
2012-01-08 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-08 22:20:17 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
|
|
|
|
|
n_type_units. Rename type_comp_units to all_type_units.
|
|
|
|
|
All uses updated.
|
|
|
|
|
(add_signatured_type_cu_to_table): Renamed from
|
|
|
|
|
add_signatured_type_cu_to_list. All callers updated.
|
|
|
|
|
|
2012-01-08 21:02:45 +00:00
|
|
|
|
* gdbtypes.h (struct cplus_struct_type): Delete member
|
|
|
|
|
nfn_fields_total. All uses removed.
|
|
|
|
|
|
2012-01-06 18:13:22 +00:00
|
|
|
|
2012-01-06 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
|
|
|
|
|
to top of file.
|
|
|
|
|
(dwarf2_find_comp_unit): Delete.
|
|
|
|
|
(process_psymtab_comp_unit): Make result "void".
|
|
|
|
|
Delete args buffer, info_ptr, buffer_size, and replace with
|
|
|
|
|
"section". All callers updated.
|
|
|
|
|
(dwarf2_build_psymtabs_hard): Simplify.
|
|
|
|
|
|
2012-01-06 03:34:46 +00:00
|
|
|
|
2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
|
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
|
|
|
|
|
before `struct gdb_exception'.
|
|
|
|
|
* breakpoint.c (update_global_location_list_nothrow)
|
|
|
|
|
(update_breakpoint_locations, enable_breakpoint_disp): Likewise.
|
|
|
|
|
* cp-abi.c (value_rtti_type): Likewise.
|
|
|
|
|
* cp-support.c (cp_validate_operator): Likewise.
|
|
|
|
|
* infrun.c (insert_exception_resume_breakpoint)
|
|
|
|
|
(check_exception_resume, keep_going): Likewise.
|
|
|
|
|
* mi-interp.c (mi_breakpoint_created)
|
|
|
|
|
(mi_breakpoint_modified): Likewise.
|
|
|
|
|
* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
|
|
|
|
|
* solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
|
|
|
|
|
(ia64_hpux_handle_dld_breakpoint_1): Likewise.
|
|
|
|
|
|
2012-01-05 20:17:50 +00:00
|
|
|
|
2012-01-05 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-05 21:56:37 +00:00
|
|
|
|
* dwarf2read.c (statement_prologue): Delete, unused.
|
|
|
|
|
|
2012-01-05 21:53:14 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
|
|
|
|
|
* dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
|
|
|
|
|
|
2012-01-05 20:17:50 +00:00
|
|
|
|
* dwarf2read.c (comp_unit_header): Delete, unused.
|
|
|
|
|
|
2012-01-05 17:07:05 +00:00
|
|
|
|
2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
|
|
|
|
|
* config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
|
|
|
|
|
|
2012-01-05 13:11:31 +00:00
|
|
|
|
2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
|
|
|
|
|
|
|
|
|
|
* infrun.c (normal_stop): Don't skip calling the normal_stop
|
|
|
|
|
observers if the thread was doing a multi-step, but stopped for
|
|
|
|
|
some reason other than stepping.
|
|
|
|
|
|
2012-01-05 Pedro Alves <alves.ped@gmail.com>
* cli/cli-decode.h: Add comments.
(CMD_LIST_AMBIGUOUS): Moved to command.h
(add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
(set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
(set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
(deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
(add_com, add_com_alias, add_info, add_info_alias)
(complete_on_cmdlist, complete_on_enum, help_list): Remove
declarations.
* command.h: Add and adjust comments.
(CMD_LIST_AMBIGUOUS): Moved here.
(help_cmd, help_cmd_list): Delete declarations.
2012-01-05 11:39:31 +00:00
|
|
|
|
2012-01-05 Pedro Alves <alves.ped@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cli/cli-decode.h: Add comments.
|
|
|
|
|
(CMD_LIST_AMBIGUOUS): Moved to command.h
|
|
|
|
|
(add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
|
|
|
|
|
(set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
|
|
|
|
|
(set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
|
|
|
|
|
(deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
|
|
|
|
|
(add_com, add_com_alias, add_info, add_info_alias)
|
|
|
|
|
(complete_on_cmdlist, complete_on_enum, help_list): Remove
|
|
|
|
|
declarations.
|
|
|
|
|
* command.h: Add and adjust comments.
|
|
|
|
|
(CMD_LIST_AMBIGUOUS): Moved here.
|
|
|
|
|
(help_cmd, help_cmd_list): Delete declarations.
|
|
|
|
|
|
2012-01-04 18:57:01 +00:00
|
|
|
|
2012-01-04 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-04 19:49:41 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
|
|
|
|
|
All callers updated.
|
|
|
|
|
(load_full_type_unit): Renamed from read_signatured_type_at_offset.
|
|
|
|
|
Replace all arguments with "per_cu". All callers updated.
|
|
|
|
|
|
2012-01-04 19:16:15 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
|
|
|
|
|
|
2012-01-04 19:07:36 +00:00
|
|
|
|
* dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
|
|
|
|
|
New arg "per_cu". All callers updated.
|
|
|
|
|
|
2012-01-04 18:57:01 +00:00
|
|
|
|
Delete #if 0'd out code.
|
|
|
|
|
* language.c (binop_result_type): Delete.
|
|
|
|
|
(simple_type, ordered_type, same_type, integral_type): Delete.
|
|
|
|
|
(numeric_type, character_type, string_type, boolean_type): Delete.
|
|
|
|
|
(float_type, structured_type): Delete.
|
|
|
|
|
* language.h: Update.
|
|
|
|
|
|
2012-01-04 16:15:14 +00:00
|
|
|
|
2012-01-04 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/py-value.c (valpy_binop): Initialize 'res_val'.
|
|
|
|
|
|
2012-01-04 15:13:26 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* corefile.c (close_exec_file): Delete.
|
|
|
|
|
(reopen_exec_file): Remove commented out code that seems related
|
|
|
|
|
to close_exec_file, which is being deleted here.
|
|
|
|
|
* inferior.h (close_exec_file): Delete.
|
|
|
|
|
* fork-child.c (fork_inferior): Remove call to fork_inferior.
|
|
|
|
|
|
2012-01-04 14:55:09 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c: #include "cli/cli-utils.h".
|
|
|
|
|
(get_selections): Use skip_spaces.
|
|
|
|
|
(ada_get_next_arg): Use skip_spaces and skip_to_space.
|
|
|
|
|
(catch_ada_exception_command_split): Use skip_spaces.
|
|
|
|
|
(ada_decode_assert_location): Likewise.
|
|
|
|
|
|
2012-01-04 14:24:57 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_internal): Check for C++ or Java
|
|
|
|
|
compound constructs only if the current language is C, C++
|
|
|
|
|
or Java.
|
|
|
|
|
|
2012-01-04 13:51:36 +00:00
|
|
|
|
2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
|
|
|
|
|
* arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
|
|
|
|
|
3 times.
|
|
|
|
|
* infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
|
|
|
|
|
fall through into AT_ENTRY_POINT.
|
|
|
|
|
(call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
|
|
|
|
|
DUMMY_ADDR with it.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
|
|
|
|
|
PPC_INSN_SIZE skip to 3 times.
|
|
|
|
|
|
2012-01-04 13:15:20 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* linespec.c (add_minsym): Preserve function descriptors.
|
|
|
|
|
|
2012-01-04 12:31:49 +00:00
|
|
|
|
2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (all_locations_are_pending): Consider locations
|
|
|
|
|
in program spaces executing during startup pending as well.
|
|
|
|
|
|
2012-01-04 08:17:56 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
Copyright year update in most files of the GDB Project.
|
|
|
|
|
|
2012-01-04 07:55:48 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* copyright.sh: Delete.
|
|
|
|
|
* copyright.py: Rewrite.
|
|
|
|
|
|
2012-01-04 07:55:13 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gnulib/extra/update-copyright: New file, imported from gnulib.
|
|
|
|
|
|
2012-01-04 04:11:38 +00:00
|
|
|
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* README (Copyright and License Notices): New section.
|
|
|
|
|
|
2012-01-03 19:27:52 +00:00
|
|
|
|
2012-01-03 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR python/12533:
|
|
|
|
|
* python/py-value.c (valpy_dereference, valpy_get_address
|
|
|
|
|
valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
|
|
|
|
|
(valpy_getitem, valpy_call, valpy_binop, valpy_negative)
|
|
|
|
|
(valpy_absolute, valpy_richcompare): Free intermediate values.
|
|
|
|
|
|
2012-01-03 13:31:01 +00:00
|
|
|
|
2011-01-03 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c: Reformat the copyright notice.
|
|
|
|
|
|
2012-01-02 17:18:46 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
|
|
|
|
|
* configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
|
|
|
|
|
(i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
|
|
|
|
|
(x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
|
|
|
|
|
Revert this part of:
|
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Build gdb directly from *.o files not using libgdb.a.
|
|
|
|
|
* Makefile.in (COMMON_OBS): Remove solib-target.o.
|
|
|
|
|
|
Update the copyright header of various files...
... to follow the correct syntax (according to the gospel of
gnulib's update-copyright). In other words:
- no comma after the last year;
- FSF spelled exactly "Free Software Foundation, Inc.", with
the comma and the period at the end.
sim/common/ChangeLog:
* dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
header.
sim/m32c/ChangeLog:
* blinky.S, gloss.S, sample.S: Reformat copyright header.
sim/mn10300/ChangeLog:
* sim-main.h: Reformat copyright header.
sim/ppc/ChangeLog:
* dp-bit.c: Reformat copyright header.
gdb/ChangeLog:
* gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
Reformat the copyright header.
gdb/gdbserver/ChangeLog:
* terminal.h: Reformat copyright header.
gdb/testsuite/ChangeLog:
* dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
gdb.threads/thread_check.c: Reformat copyright header.
2012-01-02 15:37:37 +00:00
|
|
|
|
2012-01-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
|
|
|
|
|
gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
|
|
|
|
|
Reformat the copyright header.
|
|
|
|
|
|
2012-01-02 13:29:57 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert this part of:
|
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Remove the gdbtui binary.
|
|
|
|
|
* gdb.c (main): Remove args.interpreter_p initialization.
|
|
|
|
|
* main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
|
|
|
|
|
* main.h (struct captured_main_args): Remove interpreter_p.
|
|
|
|
|
|
2012-01-02 09:03:09 +00:00
|
|
|
|
2012-01-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
|
|
|
|
|
|
2012-01-02 08:59:35 +00:00
|
|
|
|
2012-01-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* top.c (print_gdb_version): Update copyright year.
|
|
|
|
|
|
2012-01-02 03:59:35 +00:00
|
|
|
|
2012-01-02 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
|
|
|
|
|
|
2012-01-02 02:52:20 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
|
|
|
|
|
* arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
|
|
|
|
|
3 times.
|
|
|
|
|
* infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
|
|
|
|
|
fall through into AT_ENTRY_POINT.
|
|
|
|
|
(call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
|
|
|
|
|
DUMMY_ADDR with it.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
|
|
|
|
|
PPC_INSN_SIZE skip to 3 times.
|
|
|
|
|
|
2012-01-02 02:42:24 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* amd64-linux-nat.c (update_debug_registers_callback): New comment on
|
|
|
|
|
the return value.
|
|
|
|
|
* i386-linux-nat.c (update_debug_registers_callback): Likewise.
|
|
|
|
|
|
gdb/
Build gdb directly from *.o files not using libgdb.a.
* Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
(COMMON_OBS): Remove solib-target.o.
(LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
(gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
(LIBGDB_OBS, libgdb.a): Move it above.
* configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
(alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
(alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
(arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
(hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
(i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
(i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
(i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
(x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
(i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
(m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
(microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
(mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
(powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
(sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
(sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
(sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
(sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
(sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
(sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
(vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
(x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
(x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
(xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
2012-01-02 02:31:18 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Build gdb directly from *.o files not using libgdb.a.
|
|
|
|
|
* Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
|
|
|
|
|
(COMMON_OBS): Remove solib-target.o.
|
|
|
|
|
(LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
|
|
|
|
|
(gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
|
|
|
|
|
(LIBGDB_OBS, libgdb.a): Move it above.
|
|
|
|
|
* configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
|
|
|
|
|
(alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
|
|
|
|
|
(alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
|
|
|
|
|
(arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
|
|
|
|
|
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
|
|
|
|
|
(hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
|
|
|
|
|
(i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
|
|
|
|
|
(i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
|
|
|
|
|
(i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
|
|
|
|
|
(x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
|
|
|
|
|
(i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
|
|
|
|
|
(m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
|
|
|
|
|
(microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
|
|
|
|
|
(mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
|
|
|
|
|
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
|
|
|
|
|
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
|
|
|
|
|
(powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
|
|
|
|
|
(sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
|
|
|
|
|
(sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
|
|
|
|
|
(sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
|
|
|
|
|
(sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
|
|
|
|
|
(sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
|
|
|
|
|
(sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
|
|
|
|
|
(vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
|
|
|
|
|
(x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
|
|
|
|
|
(x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
|
|
|
|
|
(xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
|
|
|
|
|
|
2012-01-02 02:28:59 +00:00
|
|
|
|
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Remove the gdbtui binary.
|
|
|
|
|
* .gitignore (/gdbtui): Remove.
|
|
|
|
|
* Makefile.in (TUI): Remove.
|
|
|
|
|
(SUBDIR_TUI_OBS): Remove tui-main.o.
|
|
|
|
|
(SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
|
|
|
|
|
(all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
|
|
|
|
|
(tui-main.o): Remove.
|
|
|
|
|
(all_object_files): Remove tui-main.o.
|
|
|
|
|
* NEWS: New note for the gdbtui removal.
|
|
|
|
|
* configure: Rebuilt.
|
|
|
|
|
* configure.ac: No longer add all-tui, clean-tui, install-tui and
|
|
|
|
|
uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
|
|
|
|
|
CONFIG_UNINSTALL respectively.
|
|
|
|
|
* gdb.c (main): Remove args.interpreter_p initialization.
|
|
|
|
|
* main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
|
|
|
|
|
* main.h (struct captured_main_args): Remove interpreter_p.
|
|
|
|
|
* tui/tui-main.c: Remove.
|
|
|
|
|
|
2012-01-02 00:09:58 +00:00
|
|
|
|
2012-01-01 Doug Evans <dje@google.com>
|
|
|
|
|
|
2012-01-02 01:23:41 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
|
|
|
|
|
(dwarf2_physname, read_import_statement): Ditto.
|
|
|
|
|
(read_call_site_scope, dwarf2_record_block_ranges): Ditto.
|
|
|
|
|
(process_structure_scope read_subroutine_type): Ditto.
|
|
|
|
|
(read_typedef, load_partial_dies, read_partial_die): Ditto.
|
|
|
|
|
(find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
|
|
|
|
|
(dwarf2_fetch_die_location_block): Ditto.
|
|
|
|
|
(dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
|
|
|
|
|
|
2012-01-02 00:50:07 +00:00
|
|
|
|
* dwarf2read.c (read_signatured_type): Delete `objfile' arg.
|
|
|
|
|
All callers updated.
|
|
|
|
|
(load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
|
|
|
|
|
(dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
|
|
|
|
|
(process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
|
|
|
|
|
|
2012-01-02 00:29:19 +00:00
|
|
|
|
* dwarf2read.c (load_cu): Move assert to more useful location.
|
|
|
|
|
|
2012-01-02 00:23:50 +00:00
|
|
|
|
* dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
|
|
|
|
|
All callers updated.
|
|
|
|
|
|
2012-01-02 00:09:58 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_per_objfile): Add comment.
|
|
|
|
|
(dwarf2_elf_names): Minor reformat.
|
|
|
|
|
(dwarf2_per_cu_data): Tweak comment.
|
|
|
|
|
(dwarf2_read_section): Fix comment.
|
|
|
|
|
(create_all_comp_units): Fix comment.
|
|
|
|
|
(load_full_comp_unit): Fix comment.
|
|
|
|
|
(process_full_comp_unit): Fix comment.
|
|
|
|
|
(read_signatured_type): Fix comment.
|
|
|
|
|
|
2012-01-02 08:58:08 +00:00
|
|
|
|
For older changes see ChangeLog-2011.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
2007-08-09 22:44:38 +00:00
|
|
|
|
coding: utf-8
|
1999-04-16 01:35:26 +00:00
|
|
|
|
End:
|