]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/ChangeLog
* linux-thread-db.c (BUILD_THREAD): Delete.
[thirdparty/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index c5365cf4e00e951f19a201a4513007be385bf87f..c98b951803941558ef90473e13506c4df0ce9483 100644 (file)
@@ -1,3 +1,286 @@
+2004-11-21  Andreas Schwab  <schwab@suse.de>
+
+       * linux-m68k-low.c (m68k_num_gregs): Define.
+       (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
+       (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
+       (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
+       (m68k_breakpoint_at): New.  Add to the_low_target.
+
+       * configure.srv (m68*-*-linux*): Set srv_linux_regsets and
+       srv_linux_thread_db to yes.
+
+2004-10-20  Joel Brobecker  <brobecker@gnat.com>
+
+       * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
+       (ARCH_SET_FS): Likewise.
+       (ARCH_GET_FS): Likewise.
+       (ARCH_GET_GS): Likewise.
+
+2004-10-16  Daniel Jacobowitz  <dan@debian.org>
+
+       * linux-i386-low.c (ps_get_thread_area): New.
+       * linux-x86-64-low.c (ps_get_thread_area): New.
+       * linux-low.c: Include <sys/syscall.h>.
+       (linux_kill_one_process): Don't kill the first thread here.
+       (linux_kill): Kill the first thread here.
+       (kill_lwp): New function.
+       (send_sigstop, linux_send_signal): Use it.
+       * proc-service.c: Clean up #ifdefs.
+       (fpregset_info): Delete.
+       (ps_lgetregs): Update and enable implementation.
+       (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled
+       implementations.
+       * remote-utils.c (struct sym_cache, symbol_cache): New.
+       (input_interrupt): Print a clearer message.
+       (async_io_enabled): New variable.
+       (enable_async_io, disable_async_io): Use it.  Update comments.
+       (look_up_one_symbol): Use the symbol cache.
+       * thread-db.c (thread_db_look_up_symbols): New function.
+       (thread_db_init): Update comments.  Call thread_db_look_up_symbols.
+
+2004-10-16  Daniel Jacobowitz  <dan@debian.org>
+
+       * configure.in: Test for -rdynamic.
+       * configure: Regenerated.
+       * Makefile (INTERNAL_LDFLAGS): New.
+       (gdbserver, gdbreplay): Use it.
+
+2004-09-02  Andrew Cagney  <cagney@gnu.org>
+
+       * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE.
+
+2004-03-23  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_wait): Clear all_processes list also.
+
+2004-03-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c: Include <errno.h>.  Remove extern declaration of
+       errno.
+
+2004-03-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbreplay.c, server.h, utils.c: Update copyright years.
+
+2004-03-04  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * server.c (main): Print child status or termination signal from
+       variable 'signal', not 'sig'.
+
+2004-03-04  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * linux-low.c (linux_read_memory): Change return type to
+       int.  Check for and return error from ptrace().
+       * target.c (read_inferior_memory): Change return type to int.  Pass
+       back return status from the_target->read_memory().
+       * target.h (struct target_ops): Adapt *read_memory() prototype.
+       Update comment.
+       (read_inferior_memory): Adapt prototype.
+       * server.c (main): Return an error packet if
+       read_inferior_memory() returns an error.
+
+2004-03-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
+       Unify with other clean targets.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * server.c (handle_v_cont): Call set_desired_inferior.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * remote-utils.c (prepare_resume_reply): Always supply "thread:".
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_wait): Unblock async I/O.
+       (linux_resume): Block and enable async I/O.
+       * remote-utils.c (block_async_io, unblock_async_io): New functions.
+       * server.h (block_async_io, unblock_async_io): Add prototypes.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * remote-utils.c (remote_open): Print a status notice after
+       opening a TCP port.
+       * server.c (attach_inferior): Print a status notice after
+       attaching.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode.
+
+2004-02-26  Daniel Jacobowitz  <drow@mvista.com>
+
+       * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
+       error packet.
+       * server.c, target.h: Update copyright years.
+
+2004-02-25  Roland McGrath  <roland@redhat.com>
+
+       * target.h (struct target_ops): New member `read_auxv'.
+       * server.c (handle_query): Handle qPart:auxv:read: query using that.
+       * linux-low.c (linux_read_auxv): New function.
+       (linux_target_ops): Initialize `read_auxv' member to that.
+
+2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+       Committed by Jim Blandy  <jimb@redhat.com>.
+
+       * linux-s390-low.c (s390_num_regs): Update.
+       (s390_regmap): Remove control registers.  Use __s390x__ predefine
+       instead of GPR_SIZE to distiguish s390 and s390x targets.
+
+2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c: Update copyright year.
+       (check_removed_breakpoint): Clear pending_is_breakpoint.
+       (linux_set_resume_request, linux_queue_one_thread)
+       (resume_status_pending_p): New functions.
+       (linux_continue_one_thread): Use process->resume.
+       (linux_resume): Only resume threads if there are no pending events.
+       * linux-low.h (struct process_info): Add resume request
+       pointer.
+
+2004-01-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regcache.c (new_register_cache): Clear the allocated register
+       buffer.  Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
+
+2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_resume): Take a struct thread_resume *
+       argument.
+       (linux_wait): Update call.
+       (resume_ptr): New static variable.
+       (linux_continue_one_thread): Renamed from
+       linux_continue_one_process.  Use resume_ptr.
+       (linux_resume): Use linux_continue_one_thread.
+       * server.c (handle_v_cont, handle_v_requests): New functions.
+       (myresume): New function.
+       (main): Handle 'v' case.
+       * target.h (struct thread_resume): New type.
+       (struct target_ops): Change argument of "resume" to struct
+       thread_resume *.
+       (myresume): Delete macro.
+
+2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in (install-only): Create dest dir. Support DESTDIR.
+       (uninstall): Support DESTDIR.
+
+Mon Jul 21 20:09:34 UTC 2003  Brendan Conoboy  <blc@redhat.com>
+
+       * configure.srv: Add xscale*linux copy of arm*linux entry.
+
+2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-arm-low.c (arm_reinsert_addr): New function.
+       (the_low_target): Add arm_reinsert_addr.
+
+2003-07-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * mem-break.c: Remove whitespace at end of file.
+
+2003-06-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Check whether we need to prototype strerror.
+       * server.h: Optionally prototype strerror.
+       * gdbreplay.c (perror_with_name): Use strerror.
+       * linux-low.c (linux_attach_lwp): Use strerror.
+       * utils.c (perror_with_name): Use strerror.
+       * config.in, configure: Regenerated.
+
+2003-06-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
+       SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
+
+2003-06-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in (SFILES): Update.
+       * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c,
+       low-sun3.c: Remove files.
+
+2003-06-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c: Move comment to linux_thread_alive where it belonged.
+       (linux_detach_one_process, linux_detach): New functions.
+       (linux_target_ops): Add linux_detach.
+       * server.c (main): Handle 'D' packet.
+       * target.h (struct target_ops): Add "detach" member.
+       (detach_inferior): Define.
+
+2003-06-13  Mark Kettenis  <kettenis@gnu.org>
+
+       From Kelley Cook  <kelleycook@wideopenwest.com>:
+       * configure.srv: Accept i[34567]86 variants.
+
+2003-06-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_wait_for_event): Correct comment typos.
+       (linux_resume_one_process): Call check_removed_breakpoint.
+       (linux_send_signal): New function.
+       (linux_target_ops): Add linux_send_signal.
+       * remote-utils.c (putpkt, input_interrupt): Use send_signal instead
+       of kill.
+       * target.h (struct target_ops): Add send_signal.
+
+2003-05-29  Jim Blandy  <jimb@redhat.com>
+
+       * linux-low.c (usr_store_inferior_registers): Transfer buf in
+       PTRACE_XFER_TYPE-sized chunks, not int-sized chunks.  Otherwise,
+       if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
+       away part of the register's value.
+
+2003-03-26  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_create_inferior): Use __SIGRTMIN.
+       (linux_wait_for_event, linux_init_signals): Likewise.
+
+2003-03-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Check for stdlib.h.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+
+2003-01-04  Andreas Schwab  <schwab@suse.de>
+
+       * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.
+
+2003-01-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Remove obsolete code.
+
+2002-11-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
+       defined(PT_FPR0_HI).
+
+2002-11-17  Stuart Hughes  <seh@zee2.com>
+
+       * linux-arm-low.c (arm_num_regs): Increase.
+       (arm_regmap): Include status register.
+
+2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (register_addr): Remove incorrect -1 check.
+
+2002-08-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-low.c (linux_create_inferior): Call setpgid.  Return
+       the new PID.
+       (unstopped_p, linux_signal_pid): Remove.
+       (linux_target_ops): Remove linux_signal_pid.
+       * remote-utils.c (putpkt, input_interrupt): Use signal_pid
+       global instead of target method.
+       * target.h (struct target_ops): Remove signal_pid.  Update comment
+       for create_inferior.
+       * server.c (signal_pid): New variable.
+       (create_inferior): Set signal_pid.  Block SIGTTOU and SIGTTIN in
+       gdbserver.  Set the child to be the foreground process group.
+       (attach_inferior): Set signal_pid.
+
 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
 
        * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2.
 
 2002-07-04  Michal Ludvig  <mludvig@suse.cz>
 
-       * linux-x86-64-low.c (x86_64_regmap): Make it an array of 
+       * linux-x86-64-low.c (x86_64_regmap): Make it an array of
        byte offsets instead of an array of indexes.
        (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.
 
        * server.h: Add ATTR_NORETURN and ATTR_FORMAT.  Update prototypes.
        * utils.c (error): Remove NORETURN.
        (fatal): Likewise.
-