* remote.c (struct remote_state): Add BUF and BUF_SIZE.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6dc05680ae057df20931d488e69e2c7cf7e57091..550b4f265d1b410d27d6195225c5ba740107341e 100644 (file)
@@ -1,5 +1,222 @@
+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.
+       (GR_REGNUM, TR_REGNUM, greg_map): New.
+       (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
+       (hppa_linux_regset, hppa_linux_fpregset): New.
+       (hppa_linux_regset_from_core_section): New.
+       (hppa_linux_init_abi): Set regset_from_core_section.
+       (_initialize_hppa_linux_tdep): Register osabi handler for
+       64-bit Linux.
+       * Makefile.in (hppa-linux-tdep.o): Update dependencies.
+       * config/pa/linux.mh: Stop using core-regset.o
+
+2006-03-30  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
+       (hppa_frame_cache): Use new function to find unwind entry.
+       (hppa_frame_this_id): Likewise.
+       (hppa_frame_unwind_sniffer): Likewise.
+
+2006-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention the removal of NLM.
+
+2006-03-29  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in (nlm): Remove target.
+       * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
+       * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
+       * configure: Regenerate.
+       * doc/gdb.texinfo: Remove gdbserve.nlm documentation.
+       * nlm: Remove directory.
+
+2006-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (utils.o): Update.
+       * top.c (in_user_command): New.
+       (command_line_input): Use input_from_terminal_p.
+       (input_from_terminal_p): Don't check caution.  Handle
+       stdin == NULL for Insight.
+       * top.h (in_user_command, caution): New declarations.
+       * utils.c: Include "top.h".
+       (query, defaulted_query): Check caution here.  Move the call
+       to input_from_terminal_p higher.
+       * cli/cli-script.c (do_restore_user_call_depth): Only decrement
+       the depth.  Update in_user_command if necessary.
+       (execute_user_command): Don't clobber old_chain.  Set
+       in_user_command.  Let do_restore_user_call_depth handle
+       user_call_depth.
+       (read_command_lines): Check whether to prompt before calling
+       Insight hooks.
+       * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
+       input_from_terminal_p check.
+
+2006-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-nat.c (s390_insert_watchpoint): Add missing argument.
+       (s390_remove_watchpoint): Likewise.
+
+2006-03-28  Jim Blandy  <jimb@codesourcery.com>
+
+       * prologue-value.c, prologue-value.h: New files.
+       * Makefile.in (prologue_value_h): New variable.
+       (HFILES_NO_SRCDIR): List prologue-value.h.
+       (SFILES): List prologue-value.c.
+       (COMMON_OBS): List prologue-value.o.
+       (prologue-value.o): New rule.
+
+2006-03-27  Michael Snyder  <msnyder@redhat.com>
+
+       * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
+       xstormy16_pointer_to_address, xstormy16_address_to_pointer, 
+       xstormy16_frame_prev_register): Change void* to gdb_byte*.
+       (xstormy16_push_dummy_call): Add block-local char* val, 
+       to avoid type conflict with outer scope variable.
+
+2006-03-27  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * sh-tdep.c (sh_gdbarch_init): Add missing architectures.
+
+2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
+
+       * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero
+       offsets for languages like Fortran.
+
+2006-03-26  Randolph Chung  <tausq@debian.org>
+
+       * config/pa/hppa64.mt: Use HPUX version of the tm file.
+
+2006-03-25  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands.
+       Try to deal with continuation line.
+       (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
+       variable names.
+       (gdb-break-list-regexp, gdb-stack-list-frames-regexp): 
+       Future proof against new fields being added to MI output.
+       (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
+       (gdbmi-frame-handler): Update to new variable name
+       gdb-get-buffer-create.
+       (gdbmi-frame-handler): Use hollow-right-triangle for all selected
+       frames which except the innermost (where execution has stopped).
+
+2006-03-24  Randolph Chung  <tausq@debian.org>
+
+       * solib-som.c (link_map_start): Don't error out if there is
+       not yet a link map.
+
+2006-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (linux_ops_saved): New.
+       (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
+       (child_mourn_inferior, child_wait, linux_nat_create_inferior)
+       (linux_nat_fetch_registers, linux_nat_store_registers)
+       (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
+       (init_lwp_list): Don't set threaded.
+       (add_lwp): Don't modify threaded.
+       (delete_lwp): Don't mention non-threaded mode.
+       (linux_nat_switch_fork): New.
+       (linux_nat_attach): Update inferior_ptid.
+       (linux_nat_wait): Handle num_lwps == 0 at entry.  Don't check
+       threaded flag.
+       (linux_nat_kill): Handle pending forks and saved forks.
+       (linux_nat_mourn_inferior): Handle saved forks.
+       (linux_nat_pid_to_str): Don't use the LWP form when there is
+       only one thread.
+       (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
+       (linux_nat_add_target): New.
+       (_initialize_linux_nat): Don't initialize the linux native target
+       here.
+       * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
+       prototypes.
+       * linux-fork.c: Include "linux-nat.h".
+       (add_fork): Update initial PID.
+       (fork_load_infrun_state): Call linux_nat_switch_fork.
+       * Makefile.in (linux-fork.o): Update.
+
+       * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
+       linux_nat_add_target instead of add_target.
+       * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
+       * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
+       * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
+       * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
+       * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
+       * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
+       * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
+       * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
+       * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
+       * s390-nat.c (_initialize_s390_nat): Likewise.
+       * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
+       * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
+
+2006-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-fork.c: Include "gdb_assert.h".
+       (fork_load_infrun_state): Set inferior_ptid and stop_pc here.
+       Update the register cache and selected frame also.
+       (linux_fork_mourn_inferior): Use fork_load_infrun_state.  Return
+       to single fork mode if necessary.
+       (linux_fork_context): Remove bits handled by fork_load_infrun_state.
+       * Makefile.in (linux_fork_h): New.
+       (linux-fork.o, linux-nat.o): Update.
+
+2006-03-23  Andreas Schwab  <schwab@suse.de>
+
+       * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
+
+2006-03-18  Jim Blandy  <jimb@codesourcery.com>
+
+       * symtab.h (enum address_class): Doc fix.
+
 2006-03-16  Michael Snyder  <msnyder@redhat.com>
 
+       * tracepoint.c (tracepoint_save_command): Fix typo in error msg.
+       * target.c (push_target): Fix typo in comment.
        * remote.c (remote_watch_data_address): Fix typo in comment.
        * i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
 
 
        * mi/gdb-mi.el: Use more functions from gdb-ui.el.
        (gdb-break-list-regexp): Match "what" field if present.
-       (gdb-stack-list-frames-regexp): Match "from" if present field.
+       (gdb-stack-list-frames-regexp): Match "from" field if present.
        (gdb-stack-list-frames-handler): Present output like "info
        breakpoints" so regexps can be shared with gdb-ui
 
This page took 0.031054 seconds and 4 git commands to generate.