2007-11-15 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8011ab666009af3913094db8cf72726257e3d158..3050b2911a7c7dfe8f43da8acaaf23cc6fe5a2df 100644 (file)
@@ -1,3 +1,330 @@
+2007-11-15  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-15  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Apply const qualifier to some users of bp_location.
+       * 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  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Make mark_breakpoints_out static.
+       * breakpoint.h (mark_breakpoints_out): Remove
+       declaration.
+       * breakpoint.c (mark_breakpoints_out): Make static.
+
+2007-11-15  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Prevent clear_command from directly modifying breakpoint list.
+       * 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  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Remove 'run_cleanup'.
+       * 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  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Remove CLEAR_SOLIB use.
+       * corelow.c (core_close): Don't check for CLEAR_SOLIB.
+       * infcmd.c (attach_command): Likewise.
+       
+2007-11-14  Doug Evans  <dje@google.com>
+
+       * buildsym.c (start_subfile,start_symtab): Doc fixes.
+
+2007-11-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * tui/tui-data.c (tui_prev_win): Guard against NULL.
+
+2007-11-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Add entry for new set/show print frame-args command.
+
+2007-11-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
+       register number to map.  Adjust warning check and error/warning
+       return value code to match expectations of this function's callers.
+
+2007-11-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * stack.c (print_this_frame_argument_p): Handle arguments passed
+       by reference properly.
+
+2007-11-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * stack.c (print_frame_arguments_choices): New static global.
+       (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  Luis Machado  <luisgpm@br.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
+       saved_dabr_value assignment to the correct position.
+               
+2007-11-09  Markus Deuling  <deuling@de.ibm.com>
+
+       * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
+       * arch-utils.h (generic_convert_register_p): Likewise.
+
+2007-11-09  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (convert_register_p): Add gdbarch as parameter.
+       * 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-08  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb_string.h: Include <strings.h>.
+
+2007-11-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * breakpoint.c (break_command_1): Remove
+       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-07  Joseph Myers  <joseph@codesourcery.com>
+           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-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-07  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Fix crash when a variable object being deleted
+       has any of its children deleted previously.
+       
+       * varobj.c (delete_variable_1): Don't recurse
+       into deleted children.
+       
+2007-11-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * infcall.c (call_function_by_hand): Use get_frame_arch to get at the
+       current architecture by frame_info.
+
+2007-11-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
+
+2007-11-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (breakpoint_from_pc): Add gdbarch parameter.
+       * gdbarch.{c,h}: Regenerate.
+
+       * xtensa-tdep.c (xtensa_breakpoint_from_pc): Add gdbarch parameter.
+       Replace current_gdbarch by gdbarch.
+       * sh-tdep.c (sh_breakpoint_from_pc): Likewise.
+       * sh64-tdep.c (sh64_breakpoint_from_pc): Likewise.
+       * score-tdep.c (score_breakpoint_from_pc): Likewise.
+       * mips-tdep.c (mips_breakpoint_from_pc): Likewise.
+       * m32r-tdep.c (m32r_breakpoint_from_pc): Likewise.
+       * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
+       * arm-tdep.c (arm_breakpoint_from_pc): Likewise.
+
+       * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Add gdbarch
+       parameter.
+       * vax-tdep.c (vax_breakpoint_from_pc): Likewise.
+       * v850-tdep.c (v850_breakpoint_from_pc): Likewise.
+       * spu-tdep.c (spu_breakpoint_from_pc): Likewise.
+       * sparc-tdep.c (sparc_breakpoint_from_pc): Likewise.
+       * s390-tdep.c (s390_breakpoint_from_pc): Likewise.
+       * mn10300-tdep.c (mn10300_breakpoint_from_pc): Likewise.
+       * mt-tdep.c (mt_breakpoint_from_pc): Likewise.
+       * mep-tdep.c (mep_breakpoint_from_pc): Likewise.
+       * m88k-tdep.c (m88k_breakpoint_from_pc): Likewise.
+       * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Likewise.
+       * m32c-tdep.c (m32c_breakpoint_from_pc): Likewise.
+       * ia64-tdep.c (ia64_breakpoint_from_pc): Likewise.
+       * i386-tdep.c (i386_breakpoint_from_pc): Likewise.
+       * hppa-tdep.c (hppa_breakpoint_from_pc): Likewise.
+       * h8300-tdep.c (h8300_breakpoint_from_pc): Likewise.
+       * frv-tdep.c (frv_breakpoint_from_pc): Likewise.
+       * cris-tdep.c (cris_breakpoint_from_pc): Likewise.
+       * avr-tdep.c (avr_breakpoint_from_pc): Likewise.
+       * alpha-tdep.c (alpha_breakpoint_from_pc): Likewise.
+       * m68k-tdep.c (m68k_local_breakpoint_from_pc): Likewise.
+
+       * rs6000-tdep.c (rs6000_breakpoint_from_pc): Add gdbarch parameter.
+       Replace current_gdbarch by gdbarch.
+       (rs6000_software_single_step): Use get_frame_arch to get at the
+       current architecture by frame_info. Add gdbarch to
+       rs6000_breakpoint_from_pc call.
+
+2007-11-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * 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-07  Markus Deuling  <deuling@de.ibm.com>
+
+       * MAINTAINERS (Write After Approval): Add self.
+
+2007-11-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * features/rs6000/power-core.xml: Use uint32 as register type.
+       * 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  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (set_raw_breakpoint_without_location): Make static.
+
+2007-11-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.h (create_solib_load_event_breakpoint)
+       (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  Joel Brobecker  <brobecker@adacore.com>
 
        * breakpoint.h (set_breakpoint_sal): Remove declaration.
This page took 0.045727 seconds and 4 git commands to generate.