* Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2d30e2cb7abcb562b85abf52f3211fdb75f058d9..d9ec4c5cfd1ca702967b493995e2cb96e0dce008 100644 (file)
@@ -1,3 +1,219 @@
+2006-04-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
+       * s390-tdep.c: Include "prologue-value.h".
+       (struct prologue_value): Remove.
+       (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
+       pv_constant_last, pv_add, pv_add_constant, pv_subtract,
+       pv_logical_and, pv_is_identical, pv_is_register): Remove.
+       (compute_x_addr): Remove, replace by ...
+       (s390_addr): ... this new function.
+       (struct s390_prologue_data): Use pv_t instead of prologue_value.
+       (s390_store, s390_load): Likewise.
+       (s390_prologue_frame_unwind_cache): Likewise.
+       (s390_analyze_prologue): Likewise.  Also, simplify and combine
+       several conditional statements.
+
+2006-04-08  Jim Blandy  <jimb@codesourcery.com>
+
+       * Makefile.in (COMMON_OBS): List prologue-value.o.  (Omitted from
+       last patch.)
+
+2006-04-08  David S. Miller  <davem@sunset.davemloft.net>
+
+       * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
+       (sparc32_linux_init_abi): Hook it into tdep->step_trap.
+       (sparc32_linux_core_gregset,
+       sparc32_linux_supply_core_gregset,
+       sparc32_linux_collect_core_gregset,
+       sparc32_linux_supply_core_fpregset,
+       sparc32_linux_collect_core_fpregset): New.
+       (sparc32_linux_init_abi): Register them with generic sparc
+       core regset infrastructure.
+       * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
+       (sparc64_linux_init_abi): Hook it into tdep->step_trap.
+       (sparc64_linux_core_gregset,
+       sparc64_linux_supply_core_gregset,
+       sparc64_linux_collect_core_gregset,
+       sparc64_linux_supply_core_fpregset,
+       sparc64_linux_collect_core_fpregset): New.
+       (sparc64_linux_init_abi): Register them with generic sparc
+       core regset infrastructure.     
+       * Makefile.in: Update dependencies.
+
+2006-04-07  David S. Miller  <davem@sunset.davemloft.net>
+
+       * linux-nat.c (linux_nat_thread_alive): Handle targets that
+       do not implement PTRACE_PEEKUSER.
+
+2006-04-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_wait): Convert warning to error before
+       parsing corrupt packets.
+
+2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * cli/cli-script.c (struct user_args): Add command field.
+       (arg_cleanup): Free command string.
+       (setup_user_args): Copy the command line before relying on it.
+
+2006-04-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
+       of the "delete" command.
+
+2006-04-06  Randolph Chung  <tausq@debian.org>
+
+       * MAINTAINERS (Patch champions): Add myself.
+
+2006-04-05  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in: Update dependencies.
+
+2006-04-05  David S. Miller  <davem@sunset.davemloft.net>
+
+       * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
+       (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
+       * Makefile.in (sparc-tdep.o): Update dependencies.
+       * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
+       window out of the correct stack frame.
+       * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
+       * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
+       argument.
+       (dwarf2_frame_default_init_reg): Likewise.
+       (dwarf2_frame_set_init_reg): Update init_reg arg.
+       (dwarf2_frame_init_reg): Take "next_frame" and pass it to
+       ops->init_reg().
+       (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
+       * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
+       * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
+       * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
+       * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
+       * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
+       * sparc-tdep.c (sparc32_struct_return_from_sym): New function.
+       (sparc32_frame_cache): Call it.
+       (sparc32_dwarf2_struct_return_p): New function.
+       (sparc_dwarf2_frame_init_reg): Use it to determine if the function
+       returns a structure and thus we have to indicate the return PC and
+       NPC are 4 bytes later than usual.
+       * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
+       dwarf2 frame sniffer.
+       * Makefile.in (sparc-linux-tdep.o): Update dependencies.
+       
+2006-04-04  David S. Miller  <davem@davemloft.net>
+
+       * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
+       * config/linux64.h (NATDEPFILES): Likewise
+       * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
+       fill_fpregset): New.
+       * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
+       fill_fpregset): New.
+       * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
+       new includes.
+       
+2006-04-04  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (elf_common_h): Define.
+
+2006-04-03  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
+       (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
+
+2006-03-31  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * value.h (struct internalvar): Add field 'endian'.
+       * value.c (lookup_internalvar): Initialise endian.
+       (value_of_internalvar): Flip the endian of built-in types if required.
+       (set_internalvar): Set the endian.
+       (show_convenience): Access the value through value_of_internalvar().
+
+2006-03-30  Vladimir Prus  <ghost@cs.msu.su>
+
+       * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
+       instead of hardcoded integer literals.
+
+2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cli/cli-script.c (insert_args): Handle NULL user_args.
+
+2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (thumb_scan_prologue): Don't try to analyze
+       the function at zero if we have no symbols.
+
+2006-03-30  Adrien Kunysz  <a_kunysz@yahoo.com>
+
+       * i386-stub.c (getpacket): Fix array overflow.
+       * m32r-stub.c (getpacket): Likewise.
+       * m68k-stub.c (getpacket): Likewise.
+       * sh-stub.c (getpacket): Likewise.
+       * sparc-stub.c (getpacket): Likewise.
+
+2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+       * frame.h (set_current_sal_from_frame): New prototype.
+       * stack.c (set_current_sal_from_frame): Make global.
+       * infrun.c (normal_stop): Call set_current_sal_from_frame.
+
+2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c: Include "linux-nat.h".
+       (check_for_thread_db): New function, split out from
+       thread_db_new_objfile.  Remove dead check for active
+       thread_db on inapplicable targets.
+       (thread_db_new_objfile): Call check_for_thread_db.
+       * Makefile.in (linux-thread-db.o): Update.
+       * linux-nat.c (child_post_attach): Call check_for_thread_db.
+       (linux_child_post_startup_inferior): Likewise.
+       (lin_lwp_attach_lwp): Call target_post_attach instead of
+       child_post_attach.
+       * linux-nat.h (check_for_thread_db): New prototype.
+
+2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (struct remote_state): Add BUF and BUF_SIZE.
+       (init_remote_state): Initialize the new fields.
+       (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
+       (set_thread, remote_thread_alive, remote_unpack_thread_info_response)
+       (remote_get_threadinfo, parse_threadlist_response)
+       (remote_get_threadlist, remote_current_thread, remote_threads_info)
+       (remote_threads_extra_info, extended_remote_restart, get_offsets)
+       (remote_check_symbols, remote_open_1, remote_detach)
+       (remove_vcont_probe, remote_vcont_resume, remote_resume)
+       (remote_wait, remote_async_wait, fetch_register_using_p)
+       (remote_fetch_registers, store_register_using_P)
+       (remote_store_registers, check_binary_download, remote_write_bytes)
+       (remote_read_bytes, remote_insert_breakpoint)
+       (remote_remove_breakpoint, remote_insert_watchpoint)
+       (remote_remove_watchpoint, remote_insert_hw_breakpoint)
+       (remote_remove_hw_breakpoint, compare_sections_command)
+       (remote_xfer_partial, remote_rcmd, packet_command)
+       (remote_get_thread_local_address): Use the global incoming buffer
+       instead of alloca or xmalloc.  Limit outgoing packets to
+       rs->remote_packet_size and incoming packets to rs->buf_size.
+       Update calls to getpkt and remote_send.
+       (remote_send): Take arguments by reference.
+       (putpkt_binary): Eliminate junkbuf.  Use skip_frame.
+       (skip_frame): New function.
+       (read_frame): Take arguments by reference.  Expand the packet
+       buffer instead of issuing an error.
+       (getpkt, getpkt_sane): Take arguments by reference.
+       * remote.h (getpkt): Update prototype and doc.
+       * tracepoint.c (remote_get_noisy_reply): Take arguments by
+       reference.
+       (target_buf): Change from array to pointer.
+       (target_buf_size): New variable.
+       (remote_set_transparent_ranges): Update call to getpkt.
+       (trace_start_command, trace_stop_command, trace_status_command):
+       Update calls to remote_get_noisy_reply.
+       (finish_tfind_command): Take arguments by reference.
+       (trace_find_command, trace_find_pc_command)
+       (trace_find_tracepoint_command, trace_find_line_command):
+       (trace_find_range_command, trace_find_outside_command): Update
+       calls to finish_tfind_command.
+       (_initialize_tracepoint): Initialize target_buf_size and target_buf.
+
 2005-03-30  Randolph Chung  <tausq@debian.org>
 
        * hppa-linux-tdep.c: Include regset.h.
This page took 0.028121 seconds and 4 git commands to generate.