aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-11-14*** empty log message ***gdbadmin1-1/+1
2007-11-13 * tui/tui-data.c (tui_prev_win): Guard against NULL.Thiago Jung Bauermann2-1/+6
2007-11-13*** empty log message ***gdbadmin1-1/+1
2007-11-122007-11-12 Markus Deuling <deuling@de.ibm.com>Markus Deuling3-284/+258
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove obsolete comment. (verify_gdbarch, gdbarch_dump): Likewise. (do_read): Update comment. (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat) (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch. * gdbarch.{c,h}: Regenerate.
2007-11-122007-11-12 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-32/+57
* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression. (ARGS_FIRST_REG): Remove. (areg_numer): New function. (xtensa_pseudo_register_read, xtensa_frame_prev_register) (xtensa_extract_return_value, xtensa_store_return_value) (xtensa_frame_cache): Replace AREG_NUMBER by areg_number. (AREG_NUMBER): Remove. (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter. (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY. (xtensa_push_dummy_call): Update use of ARG_NOF. (extract_call_winsize): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. (xtensa_extract_return_value, xtensa_store_return_value): Update call of extract_call_winsize.
2007-11-12 * NEWS: Add entry for new set/show print frame-args command.Joel Brobecker2-0/+11
2007-11-12Fix date in the last entry.Joel Brobecker1-1/+1
2007-11-12 * gdb.texinfo (Print Settings): Add documentation for "set/showJoel Brobecker2-0/+50
print frame-arguments".
2007-11-12*** empty log message ***gdbadmin1-1/+1
2007-11-11*** empty log message ***gdbadmin1-1/+1
2007-11-10*** empty log message ***gdbadmin1-1/+1
2007-11-09 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missingKevin Buettner2-4/+10
register number to map. Adjust warning check and error/warning return value code to match expectations of this function's callers.
2007-11-09 * stack.c (print_this_frame_argument_p): Handle arguments passedJoel Brobecker2-0/+7
by reference properly.
2007-11-09Fix the date of my last changelog entry.Joel Brobecker1-1/+1
2007-11-09 * stack.c (print_frame_arguments_choices): New static global.Joel Brobecker2-16/+82
(print_frame_arguments): Likewise. (print_this_frame_argument_p): New function. (print_frame_args): Print the argument value only when appropriate. (_initialize_task): Add new "set/show print frame-arguments" command.
2007-11-09 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): MoveLuis Machado2-1/+8
saved_dabr_value assignment to the correct position.
2007-11-092007-11-09 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand3-2/+9
* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter. * arch-utils.h (generic_convert_register_p): Likewise.
2007-11-09 * gdbarch.sh (convert_register_p): Add gdbarch as parameter.Markus Deuling12-22/+39
* ia64-tdep.c (ia64_convert_register_p): Likewise. * i387-tdep.c (i387_convert_register_p): Likewise. * i387-tdep.h (i387_convert_register_p): Likewise. * alpha-tdep.c (alpha_convert_register_p): Likewise. * gdbarch.{c,h}: Regenerate. * rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * mips-tdep.c (mips_convert_register_p): Likewise. * m68k-tdep.c (m68k_convert_register_p): Likewise. * i386-tdep.c (i386_convert_register_p): Likewise.
2007-11-09*** empty log message ***gdbadmin1-1/+1
2007-11-082007-11-08 Aleksandar Ristovski <aristovski@qnx.com>Ulrich Weigand2-0/+7
* gdb_string.h: Include <strings.h>.
2007-11-08 * breakpoint.c (break_command_1): RemoveVladimir Prus2-41/+31
pending_bp parameter. (create_breakpoint): Likewise. (create_breakpoints): Likewise. Adjust call to create_breakpoint. (break_command_1): Likewise. Adjust call to create_breakpoints. (do_captured_breakpoint): Adjust call to create_breakpoints. (break_command, tbreak_command, hbreak_command) (stopin_command, stopat_command): Adjust call to break_command_1.
2007-11-082007-11-07 Joseph Myers <joseph@codesourcery.com>Joseph Myers2-19/+68
Daniel Jacobowitz <dan@codesourcery.com> * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align struct values smaller than one doubleword; left-align those larger. Pass structs containing a single floating-point value in registers.
2007-11-08include:Joseph Myers8-51/+229
2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.h (struct floatformat): Add split_half field. (floatformat_ibm_long_double): New. libiberty: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.c (mant_bits_set): New. (floatformat_to_double): Use it. Note no special handling of split formats. (floatformat_from_double): Note no special handing of split formats. (floatformat_ibm_long_double_is_valid, floatformat_ibm_long_double): New. (floatformat_ieee_single_big, floatformat_ieee_single_little, floatformat_ieee_double_big, floatformat_ieee_double_little, floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, floatformat_m68881_ext, floatformat_i960_ext, floatformat_m88110_ext, floatformat_m88110_harris_ext, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, floatformat_ia64_spill_big, floatformat_ia64_spill_little, floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update for addition of split_half field. gdb: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * gdbtypes.c (floatformats_ibm_long_double): New. * gdbtypes.h (floatformats_ibm_long_double): Declare. * ia64-tdep.c (floatformat_ia64_ext): Update for addition of split_half field. * mips-tdep.c (n32n64_floatformat_always_valid, floatformat_n32n64_long_double_big, floatformats_n32n64_long): Remove. (mips_gdbarch_init): Use floatformats_ibm_long_double instead of floatformats_n32n64_long. * ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long double. * doublest.c (convert_floatformat_to_doublest, convert_doublest_to_floatformat): Handle split floating-point formats. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long double arguments. (ppc64_sysv_abi_push_dummy_call): Likewise. (do_ppc_sysv_return_value): Handle IBM long double return.
2007-11-08*** empty log message ***gdbadmin1-1/+1
2007-11-07 Fix crash when a variable object being deletedVladimir Prus5-0/+41
has any of its children deleted previously. * varobj.c (delete_variable_1): Don't recurse into deleted children.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling8-19/+32
* gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter. * gdbarch.{c,h}: Regenerate. * arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. * mips-tdep.c (mips_virtual_frame_pointer): Likewise. * spu-tdep.c (spu_virtual_frame_pointer): Likewise.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling6-19/+33
* shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use get_regcache_arch to get at the current architecture by regcache. * xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info. * fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get at the current architecture by regcache. * gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at the current architecture by frame_info. (build_gdb_vtable_type): Replace current_gdbarch by gdbarch. * aix-thread.c (special_register_p): Add gdbarch as parameter. (fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to caller of special_register_p.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-34/+43
* infcall.c (call_function_by_hand): Use get_frame_arch to get at the current architecture by frame_info.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-3/+4
* xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-5/+15
* s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to get at the current architecture by regcache. (SUBOFF): Add gdbarch to macro definition.
2007-11-07*** empty log message ***Markus Deuling34-49/+103
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-5/+10
* frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace macro CURRENT_VARIANT by its expression. (CURRENT_VARIANT): Remove. (frv_check_watch_resources): Add gdbarch parameter.
2007-11-072007-11-07 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-0/+5
* MAINTAINERS (Write After Approval): Add self.
2007-11-07*** empty log message ***gdbadmin1-1/+1
2007-11-06*** empty log message ***gdbadmin1-1/+1
2007-11-05 * features/rs6000/power-core.xml: Use uint32 as register type.Ulrich Weigand15-532/+549
* features/rs6000/power64-core.xml: Use uint64/uint32 as register type. * features/rs6000/powerpc-32.c: Regenerate. * features/rs6000/powerpc-403.c: Regenerate. * features/rs6000/powerpc-403gc.c: Regenerate. * features/rs6000/powerpc-505.c: Regenerate. * features/rs6000/powerpc-602.c: Regenerate. * features/rs6000/powerpc-603.c: Regenerate. * features/rs6000/powerpc-604.c: Regenerate. * features/rs6000/powerpc-64.c: Regenerate. * features/rs6000/powerpc-7400.c: Regenerate. * features/rs6000/powerpc-750.c: Regenerate. * features/rs6000/powerpc-860.c: Regenerate. * features/rs6000/powerpc-e500.c: Regenerate.
2007-11-05 * linux-low.c: Include <sched.h>.Daniel Jacobowitz2-0/+5
2007-11-05 * breakpoint.c (set_raw_breakpoint_without_location): Make static.Joel Brobecker2-1/+5
2007-11-05 * breakpoint.h (create_solib_load_event_breakpoint)Joel Brobecker3-111/+14
(create_solib_unload_event_breakpoint) (create_fork_event_catchpoint, create_vfork_event_catchpoint) (create_exec_event_catchpoint): Delete declaration. * breakpoint.c (create_solib_load_event_breakpoint) (solib_load_unload_1, create_solib_unload_event_breakpoint): Delete. (create_fork_event_catchpoint, create_vfork_event_catchpoint) (create_exec_event_catchpoint): Make static.
2007-11-05 * breakpoint.h (set_breakpoint_sal): Remove declaration.Joel Brobecker3-15/+5
* breakpoint.c (set_breakpoint_sal): Delete.
2007-11-05 * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.Joel Brobecker2-8/+6
(make_blockvector): Likewise. Remove FIXME comment.
2007-11-05 * printcmd.c: (printf_command): Add support for new DFPLuis Machado8-1/+257
modifiers %H, %D and %DD. * configure.ac: Add check for DECFLOAT printf support. * configure: Regenerated. * doc/gdb.texinfo: Update printf command's description. * testsuite/gdb.base/printcmds.exp: New function test_printf_with_dfp.
2007-11-05*** empty log message ***gdbadmin1-1/+1
2007-11-04*** empty log message ***gdbadmin1-1/+1
2007-11-03*** empty log message ***gdbadmin1-1/+1
2007-11-02 * gdb.disasm/t01_mov.s: Remove carriage returns.Doug Evans14-9010/+9026
* gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t13_otr.s: Ditto.
2007-11-02 * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.Ulrich Weigand7-775/+79
(TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE, TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros. (HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET, HP_ACC_TOP_OFFSET_OFFSET): Likewise. (has_vtable, primary_base_class, virtual_base_list_length, virtual_base_list_length_skip_primaries, virtual_base_index, virtual_base_index_skip_primaries, class_index_in_primary_list, count_virtual_fns): Remove prototypes. * gdbtypes.c (has_vtable, primary_base_class, current_vbase_list, virtual_base_list_aux, virtual_base_list, virtual_base_list_length, virtual_base_list_length_skip_primaries, virtual_base_index, virtual_base_index_skip_primaries, class_index_in_primary_list, count_virtual_fns): Remove. * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove. (hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove. (cp_print_value_fields): Remove support for HP aCC vtables. (cp_print_value): Likewise. * c-typeprint.c (c_type_print_base): Likewise. * value.h (find_rt_vbase_offset): Remove prototype. * valops.c (find_rt_vbase_offset): Remove. (search_struct_method): Remove support for HP aCC vtables. (find_method_list): Likewise.
2007-11-02 * language.h (struct language_defn): Remove la_builtin_type_vectorUlrich Weigand11-60/+28
and string_char_type members. * language.c (language_string_char_type): No longer consult la->string_char_type. (language_lookup_primitive_type_by_name): No longer consult current_language->la_builtin_type_vector. * language.c (unknown_language_defn, auto_language_defn, local_language_defn): Adapt initializer. * ada-lang.c (ada_language_defn): Likewise. * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn, minimal_language_defn): Likewise. * f-lang.c (f_language_defn): Likewise. * jv-lang.c (java_language_defn): Likewise. * m2-lang.c (m2_language_defn): Likewise. * objc-lang.c (objc_language_defn): Likewise. * p-lang.c (pascal_language_defn): Likewise. * scm-lang.c (scm_language_defn): Likewise.
2007-11-022007-11-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand6-9/+29
* frame.c (frame_id_inner): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the current architecture by frame_info. * frame.h (frame_id_inner): Add gdbarch parameter. * stack.c (return_command): Use get_frame_arch to get at the current architecture by frame_info. Update call of frame_id_inner. * infrun.c (handle_inferior_event): Likewise. * dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the current architecture by regcache. Update call of frame_id_inner.
2007-11-022007-11-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand42-193/+295
* gdbarch.sh (register_name): Add gdbarch parameter. * gdbarch.{c,h}: Regenerate. * target-descriptions.c (tdesc_register_name): Add gdbarch parameter. (tdesc_register_name): Replace current_gdbarch by gdbarch. * target-descriptions.h (tdesc_register_name): Add gdbarch parameter. * xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter. * vax-tdep.c (vax_register_name): Add gdbarch parameter. * spu-tdep.c (spu_register_name): Add gdbarch parameter. * s390-tdep.c (s390_register_name): Add gdbarch parameter. * mt-tdep.c (mt_register_name): Add gdbarch parameter. (mt_registers_info): Replace current_gdbarch by gdbarch. (mt_register_reggroup_p): Add gdbarch to mt_register_name call. * mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (mips_register_name): Add gdbarch to tdesc_register_name call. * mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (mep_register_reggroup_p): Add gdbarch to mep_register_name call. * m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * m88k-tdep.c (m88k_register_name): Add gdbarch parameter. * m68k-tdep.c (m68k_register_name): Add gdbarch parameter. * m32r-tdep.c (m32r_register_name): Add gdbarch parameter. (m32r_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. * iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter. * ia64-tdep.c (ia64_register_name): Add gdbarch parameter. * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch parameter. * h8300-tdep.c (h8300_register_name, h8300s_register_name) (h8300sx_register_name): Add gdbarch parameter. * cris-tdep.c (cris_register_name, crisv32_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment). * avr-tdep.c (avr_register_name): Add gdbarch parameter. * arm-tdep.c (arm_register_name): Add gdbarch paramete * amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update caller. * amd64-tdep.h (amd64_register_name): Add gdbarch parameter. * amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter. * alpha-tdep.c (alpha_register_name): Add gdbarch parameter. (alpha_cannot_fetch_register, alpha_cannot_store_register): Update call of alpha_register_name. * frv-tdep.c (frv_register_name): Add gdbarch parameter. * i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (i386_register_type): Replace ?current_gdbarch by gdbarch. * i386-tdep.h (i386_register_name): Add gdbarch parameter. * i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter. * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter. (m68hc11_register_reggroup_p): Add gdbarch to call of m68hc11_register_name. * mn10300-tdep.c (mn10300_generic_register_name, am33_register_name) (am33_2_register_name): Add gdbarch parameter. (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. (mn10300_dump_tdep): Replace current_gdbarch by gdbarch. * rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * score-tdep.c (score_register_name): Add gdbarch parameter. (score_return_value, score_push_dummy_call): Replace current_gdbarch by gdbarch. * sh64-tdep.c (sh64_register_name): Add gdbarch parameter. (sh64_compact_reg_base_num, sh64_register_convert_to_virtual) (sh64_register_convert_to_raw, sh64_fv_reg_base_num) (sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter and update caller. Replace current_gdbarch by gdbarch. (sh64_extract_return_value, sh64_store_return_value): Use get_regcache_arch to get at the current architecture by regcache. * sh-tdep.c (sh_sh_register_name, sh_sh3_register_name) (sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name) (sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name) (sh_sh3_dsp_register_name, sh_sh4_register_name) (sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch parameter. (fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg) (sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace current_gdbarch by gdbarch. (sh_extract_return_value_fpu, sh_store_return_value_fpu): Use get_regcache_arch to get at the current architecture by regcache. * sparc-tdep.c (sparc32_register_name): Add gdbarch parameter. * sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter. * v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch parameter. (v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch. * xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (xtensa_pseudo_register_read, xtensa_pseudo_register_write) (xtensa_frame_prev_register): Add gdbarch parameter to xtensa_register_name call.