aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-11-17 * configure.ac (hostfile, targetfile): Remove.Ulrich Weigand9-152/+27
(GDB_XM_FILE, GDB_TM_FILE): Do not define. (xm_h, tm_h): Likewise. (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile. * configure, config.in: Regenerate. * Makefile.in (xm_h, tm_h): Remove. Update dependencies. (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE. (clean, local-maintainer-clean): Do not remove xm.h or tm.h. * defs.h: Do not include "xm.h" or "tm.h". * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE. * gdbarch.c: Regenerate. * config/score/embed.mt: Remove obsolete comment.
2007-11-17*** empty log message ***gdbadmin1-1/+1
2007-11-162007-11-16 Markus Deuling <deuling@de.ibm.com>Markus Deuling10-32/+52
* gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch as parameter. * gdbarch.{c,h}: Regenerate. * alpha-tdep.c (alpha_cannot_fetch_register) (alpha_cannot_store_register): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register) (crisv32_cannot_fetch_register) (crisv32_cannot_store_register): Likewise. * arch-utils.c (cannot_register_not): Likewise. * arch-utils.h (cannot_register_not): Likewise. * hppa-tdep.c (hppa32_cannot_store_register) (hppa32_cannot_store_register, hppa64_cannot_store_register) (hppa64_cannot_fetch_register): Likewise. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Likewise.
2007-11-162007-11-16 Markus Deuling <deuling@de.ibm.com>Markus Deuling21-122/+171
* m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at the current architecture by regcache. * ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise. * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register) (fetch_register, supply_vrregset, fetch_ppc_registers) (store_altivec_register, store_spe_register, store_register) (fill_vrregset, store_ppc_registers): Likewise. * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. * win32-nat.c (do_win32_fetch_inferior_registers) (do_win32_store_inferior_registers): Likewise. * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. * remote-m32r-sdi.c (m32r_fetch_registers) (m32r_store_registers): Likewise. * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. * trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by gdbarch. * user-regs.c (user_reg_map_name_to_regnum): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) (do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call) (ppc64_sysv_abi_return_value): Likewise. * m32c-tdep.c (m32c_register_reggroup_p): Likewise. * m2-lang.c (build_m2_types): Likewise. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise. * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. * gcore.c (derive_stack_segment): Likewise. * shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter. (shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add gdbarch to GETREGS_SUPPLIES call.
2007-11-16*** empty log message ***gdbadmin1-1/+1
2007-11-15bfd/ChangeLog:Ulrich Weigand2-13/+41
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of synthetic symbol to point to the ELF symbol it was derived from. gdb/ChangeLog: * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines. (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access ELF-private symbol data when processing synthetic symbols. Use udata.p to get at size of ppc64 synthetic 'dot' symbols. (elf_symfile_read): Pass TYPE argument to elf_symtab_read.
2007-11-15 * buildsym.h (subfiles): Move ...Doug Evans3-2/+7
* buildsym.c (subfiles): ... to here and make static.
2007-11-15 * symmisc.c (maintenance_info_symtabs): Print linetable info.Doug Evans4-0/+11
* doc/gdb.texinfo (Symbols): Update output of "maint info symtabs".
2007-11-152007-11-15 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-3/+4
* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
2007-11-152007-11-15 Markus Deuling <deuling@de.ibm.com>Markus Deuling3-6/+8
* arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its expression and use get_frame_arch to replace current_gdbarch by frame's architecture. *arm-tdep.h (LOWEST_PC): Remove
2007-11-15Move changelog entries to the right ChangeLogVladimir Prus1-0/+53
2007-11-15 Apply const qualifier to some users of bp_location.Vladimir Prus2-12/+12
* breakpoint.h (struct bpstats): Make the breakpoint_at field point at const bp_location. * breakpoint.c (bpstat_alloc): Accept const bp_location. (breakpoint_here_p, breakpoint_inserted_here_p) (software_breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status) (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use const bp_location for iteration. (print_it_typical, print_bp_stop_message): Use const bp_location variable.
2007-11-15 Make mark_breakpoints_out static.Vladimir Prus2-3/+3
* breakpoint.h (mark_breakpoints_out): Remove declaration. * breakpoint.c (mark_breakpoints_out): Make static.
2007-11-15 Prevent clear_command from directly modifying breakpoint list.Vladimir Prus5-37/+27
* Makefile.in (breakpoint_h): Update dependency. * breakpoint.c (clear_command): Do not remove breakpoints from breakpoint_chain. Collect breakpoints to delete in a vector. * breakpoint.h (breakpoint_p): New typedef for pointer to breakpoint. Register vector of breakpoint_p.
2007-11-15 Remove 'run_cleanup'.Vladimir Prus5-60/+2
* defs.h (do_run_cleanups, make_run_cleanup): Remove declarations. * infcmd.c (run_command_1): Call clear_solib instead of do_run_cleanups. * jv-lang.c (java_rerun_cleanup): Remove, for lack of any use. * solib.c (solib_cleanup_queued, do_clear_solib): Remove. (update_solib_lib): Don't setup run cleanup. (no_shared_libraries): Call clear_solib, not do_clear_solib. * utils.c (run_cleanup_chain, make_run_cleanup) (do_run_cleanups): Remove.
2007-11-15 Remove CLEAR_SOLIB use.Vladimir Prus4-13/+6
* corelow.c (core_close): Don't check for CLEAR_SOLIB. * infcmd.c (attach_command): Likewise.
2007-11-15*** empty log message ***gdbadmin1-1/+1
2007-11-14 * buildsym.c (start_subfile,start_symtab): Doc fixes.Doug Evans2-3/+10
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.