]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/ChangeLog
from Mat Hostetter <mat@lcs.mit.edu>
[thirdparty/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 4646b35c172ad1075753534f9676dccb8d51879b..19003715e257428c7bb3d75c28cc679a0d3b284e 100644 (file)
@@ -1,3 +1,321 @@
+2007-02-26  Mat Hostetter  <mat@lcs.mit.edu>
+
+       * remote-utils.c (remote_open): Print out the assigned port number.
+
+2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (monitor_output): New function.
+       * server.c (debug_threads): Define here.
+       (monitor_show_help): New function.
+       (handle_query): Handle qRcmd.
+       (main): Do not handle 'd' packet.
+       * server.h (debug_threads, remote_debug, monitor_output): Declare.
+       * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
+       of debug_threads.
+
+2007-02-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * Makefile.in (EXEEXT): New.
+       (clean): Use $(EXEEXT).
+
+2007-02-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * target.h (target_ops): Rename send_signal to request_interrupt,
+       and remove enum target_signal parameter.
+       * linux-low.c (linux_request_interrupt): Rename from
+       linux_send_signal, and always send SIGINT.
+       * spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
+       and always send SIGINT.
+       * remote-utils.c (putpkt_binary): Call request_interrupt, instead
+       of send_signal.
+       (input_interrupt): Likewise.
+
+2007-02-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * server.c (get_features_xml): Check if target implemented
+       arch_string.
+       * win32-i386-low.c (win32_arch_string): New.
+       (win32_target_ops): Add win32_arch_string as arch_string member.
+
+2007-02-22  Markus Deuling  <deuling@de.ibm.com>
+
+       * spu-low.c (spu_arch_string): New.
+       (spu_target_ops): Add spu_arch_string.
+
+2007-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c: Remove HAVE_TERMINAL_H check.
+       * configure.ac: Do not check for terminal.h.
+       * configure, config.in: Regenerated.
+
+2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (OBS): Add $(XML_BUILTIN).
+       (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New.
+       (clean): Update.
+       (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o)
+       (arm-with-iwmmxt.c): New.
+       * config.in, configure: Regenerate.
+       * configure.ac: Check for iWMMXt.  Handle srv_xmltarget,
+       srv_xmlbuiltin, and srv_xmlfiles.  Define USE_XML.
+       * configure.srv: Mention srv_xmltarget and srv_xmlfiles.
+       (arm*-*-linux*): Add iWMMXt and regset support.
+       * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
+       (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset)
+       (arm_store_wmmxregset, target_regsets): New.
+       * server.c (get_features_xml): Take annex argument.  Check builtin
+       XML documents.
+       (handle_query): Handle multiple annexes.
+
+2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c [USE_WIN32API] (read, write): Define.
+       (putpkt_binary, input_interrupt, readchar, getpkt): Use read and
+       write.
+
+2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-i386-low.c (the_low_target): Set arch_string.
+       * linux-x86-64-low.c (the_low_target): Likewise.
+       * linux-low.c (linux_arch_string): New.
+       (linux_target_ops): Add it.
+       * linux-low.h (struct linux_target_ops): Add arch_string.
+       * server.c (write_qxfer_response): Use const void * for DATA.
+       (get_features_xml): New.
+       (handle_query): Handle qXfer:features:read.  Report it for qSupported.
+       * target.h (struct target_ops): Add arch_string method.
+
+2007-01-03  Denis Pilat  <denis.pilat@st.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-low.c (linux_kill): Handle being called with no threads.
+       * win32-i386-low.c (win32_kill): Likewise.
+       (get_child_debug_event): Clear current_process_handle.
+
+2006-12-30  Denis PILAT  <denis.pilat@st.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (remote_open): Check the type of specified
+       serial port devices before opening them.
+       * server.c (main): Kill the inferior if an error occurs during
+       the first remote_open.
+
+2006-12-05  Markus Deuling  <deuling@de.ibm.com>
+
+       * README: Update supported targets.
+
+2006-11-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (clean): Remove reg-mips64.c.
+       (reg-mips64.c, reg-mips64.o): New rules.
+       * configure.srv: Handle mips64.  Include regset support for mips.
+       * linux-mips-low.c (union mips_register): New.
+       (mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it.
+       (mips_breakpoint, mips_breakpoint_at): Use int.
+       (mips_collect_register, mips_supply_register)
+       (mips_collect_register_32bit, mips_supply_register_32bit)
+       (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
+       (mips_store_fpregset, target_regsets): New.
+       * thread-db.c (thread_db_get_tls_address): Use uintptr_t.
+
+2006-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.srv: Add target "spu*-*-*".
+       * Makefile.in (clean): Remove reg-spu.c.
+       (reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
+       * spu-low.c: New file.
+
+2006-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.ac: Correct td_thr_tls_get_addr test.
+       * configure: Regenerated.
+
+2006-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-low.c (linux_wait_for_event): Reformat.  Use the
+       pass_signals array.
+       * remote-utils.c (decode_address_to_semicolon): New.
+       * server.c (pass_signals, handle_general_set): New.
+       (handle_query): Mention QPassSignals for qSupported.
+       (main): Call handle_general_set.
+       * server.h (pass_signals, decode_address_to_semicolon): New.
+
+2006-11-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * server.c (handle_query): Correct error handling for read_auxv.
+
+2005-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
+       and srv_linux_thread_db to yes.
+       * linux-s390-low.c (s390_fill_gregset): New function.
+       (target_regsets): Define data structure.
+
+2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
+       * configure.ac: Use it.  Define HAVE_TD_THR_TLS_GET_ADDR.
+       * config.in, configure: Regenerated.
+       * inferiors.c (gdb_id_to_thread): New function.
+       (gdb_id_to_thread_id): Use it.
+       * linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
+       * linux-low.h (struct process_info): Add th member.
+       (thread_db_get_tls_address): New prototype.
+       * remote-utils.c (decode_address): Make non-static.
+       * server.c (handle_query): Handle qGetTLSAddr.
+       * server.h (gdb_id_to_thread, decode_address): New prototypes.
+       * target.h (struct target_ops): Add get_tls_address.
+       * thread-db.c (maybe_attach_thread): Save the thread handle.
+       (thread_db_get_tls_address): New.
+
+2006-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
+       (linux_resume_one_process): Take a siginfo_t *.  Update all
+       callers.  Queue it if necessary.  Use PTRACE_SETSIGINFO.
+       (struct pending_signals): Add a siginfo_t.
+       (linux_wait_for_process): Always set last_status.
+       (linux_wait_for_event): Use PTRACE_GETSIGINFO.
+       (linux_queue_one_thread): Use PTRACE_GETSIGINFO.
+       * linux-low.h (struct process_info): Add last_status.
+
+2006-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (try_rle): New function.
+       (putpkt_binary): Use it.
+
+2006-08-19  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (clean): Clean reg-x86-64-linux.c.
+       (reg-x86-64-linux.o, reg-x86-64-linux.c): New.
+       * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
+       * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
+       (x86_64_fill_gregset, x86_64_store_gregset): Skip floating
+       point registers.
+
+2006-08-08  Richard Sandiford  <richard@codesourcery.com>
+
+       * server.c (terminal_fd): New variable.
+       (old_foreground_pgrp): Likewise.
+       (restore_old_foreground_pgrp): New function.
+       (start_inferior): Record the terminal file descriptor in terminal_fd
+       and its original foreground group in old_foreground_pgrp.  Register
+       restore_old_foreground_pgrp with atexit().
+
+2006-07-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * server.c (handle_query): Correct qPart to qXfer.
+
+2006-07-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.ac: Check for more headers which are missing on
+       Windows.  Automatically supply -lwsock32 and USE_WIN32API.
+       * configure.srv: Add Cygwin and mingw32.
+       * remote-utils.c: Don't include headers unconditionally which
+       are missing on mingw32.  Include <winsock.h> for mingw32.
+       (remote_open): Adjust for mingw32 support.  Flush
+       standard error after writing to it.
+       (remote_close, putpkt_binary, input_interrupt, block_async_io)
+       (unblock_async_io, enable_async_io, disable_async_io)
+       (readchar, getpkt): Update for Winsock support.
+       (prepare_resume_reply): Expect a protocol signal number.
+       * server.c: Disable <sys/wait.h> on mingw32.
+       (start_inferior): Adjust for mingw32 support.  Flush
+       standard error after writing to it.
+       (attach_inferior): Likewise.  Use protocol signal
+       numbers.
+       (main): Skip 'D' packet on mingw32.  Use protocol signal numbers
+       and names.
+       * win32-i386-low.c: New file.
+       * Makefile.in (XM_CLIBS): Set.
+       (gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
+       (win32-i386-low.o): New dependency rule.
+       * linux-low.c (linux_wait): Use target signal numbers.
+       * target.h (struct target_ops): Doc fix.
+       * server.h (target_signal_to_name): New prototype.
+       * gdbreplay.c: Don't include headers unconditionally which
+       are missing on mingw32.  Include <winsock.h> for mingw32.
+       (remote_close, remote_open): Adjust for Winsock support.
+       * configure, config.in: Regenerated.
+
+2006-07-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * server.c (decode_xfer_read, write_qxfer_response): New.
+       (handle_query): Take a packet length argument.  Handle
+       qXfer:auxv:read instead of qPart:auxv:read.  Mention it in
+       the qSupported response.
+       (main): Update call to handle_query.
+
+2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (remote_escape_output, remote_unescape_input): New.
+       (putpkt_binary): Renamed from putpkt and adjusted for binary
+       data.
+       (putpkt): New wrapper for putpkt_binary.
+       (readchar): Don't mask off the high bit.
+       (decode_X_packet): New function.
+       * server.c (main): Call putpkt_binary if a handler sets the packet
+       length.  Save the length of the incoming packet.  Handle 'X'.
+       * server.h (gdb_byte, remote_escape_output, decode_X_packet): New.
+
+2006-06-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * server.c (handle_query): Handle qSupported.
+
+2006-05-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (all_symbols_looked_up): New variable.
+       (look_up_one_symbol): Check it.
+       * server.h (look_up_one_symbol): New declaration.
+       * thread-db.c (thread_db_init): Set all_symbols_looked_up.
+
+2006-05-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (linux-arm-low.o): Update dependencies.
+       * linux-arm-low.c: Include "gdb_proc_service.h".
+       (PTRACE_GET_THREAD_AREA): Define.
+       (ps_get_thread_area): New function.
+
+2006-05-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.srv (m68k*-*-uclinux*): New target.
+       * linux-low.c (linux_create_inferior): Use vfork on mmuless systems.
+       (linux_resume_one_process): Remove extraneous cast.
+       (linux_read_offsets): New.
+       (linux_target_op): Add linux_read_offsets on mmuless systems.
+       * server.c (handle_query): Add qOffsets logic.
+       * target.h (struct target_ops): Add read_offsets.
+
+2006-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-mips-low.c: Include <sys/ptrace.h> and "gdb_proc_service.h".
+       (PTRACE_GET_THREAD_AREA): Define.
+       (ps_get_thread_area): New function.
+       * Makefile.in (linux-i386-low.o, linux-mips-low.o)
+       (linux-x86-64-low.o): Update.
+
+2006-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.ac: Remove checks for prfpregset_t.
+       * gdb_proc_service.h: New file.
+       * linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the
+       new "gdb_proc_service.h".
+       * proc-service.c: Likewise.
+       (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t.
+       (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument.
+       * Makefile.in (gdb_proc_service_h): Updated.
+       * configure, config.in: Regenerated.
+
+2006-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-utils.c (prepare_resume_reply): Move declaration
+       of gdb_id_from_wait to the top of the block.
+
+2006-02-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-low.c (regsets_store_inferior_registers): Read the regset
+       from the target before filling it.
+
 2006-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * server.c (attach_inferior): Return SIGTRAP for a successful