aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
AgeCommit message (Collapse)AuthorFilesLines
2002-05-162002-05-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-2/+11
From Martin Pool <mbp@samba.org>: * gdbserver/server.c (gdbserver_usage): New function. (main): Call it.
2002-05-152002-05-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo stop_at -> stop_pc.
2002-05-04* MAINTAINERS: Mark a29k as deleted.Andrew Cagney1-8/+0
* NEWS: Mention that a29k was removed. Add OBSOLETE section. Move new configurations to the top. * configure.tgt: Remove a29k. * config/a29k/tm-vx29k.h: Delete. * config/a29k/vx29k.mt: Delete. * config/a29k/tm-a29k.h: Delete. * config/a29k/a29k-udi.mt: Delete. * config/a29k/a29k.mt: Delete. * a29k-tdep.c: Delete. * remote-udi.c: Delete. * remote-mm.c: Delete. * remote-eb.c: Delete. * remote-adapt.c: Delete. * Makefile.in: Remove obsolete code. * gdbserver/Makefile.in: Ditto. * config/s390/s390x.mt: Ditto. * config/s390/s390.mt: Ditto. * config/sparc/sparclynx.mh: Ditto. * config/sparc/linux.mh: Ditto. * config/pa/hppaosf.mh: Ditto. * config/pa/hppabsd.mh: Ditto. * config/ns32k/nbsd.mt: Ditto. * config/mips/vr5000.mt: Ditto. * config/m68k/sun3os4.mh: Ditto. * config/m68k/nbsd.mt: Ditto. * config/m68k/m68klynx.mh: Ditto. * config/m32r/m32r.mt: Ditto. * config/i386/x86-64linux.mt: Ditto. * config/i386/nbsdelf.mt: Ditto. * config/i386/nbsd.mt: Ditto. * config/i386/i386lynx.mh: Ditto.
2002-04-242002-04-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-2/+4
* gdbserver/linux-low.c (regsets_fetch_inferior_registers), (regsets_store_inferior_registers): Removed cast to int from ptrace() calls. * gdbserver/regcache.h: Added declaration of struct inferior_info.
2002-04-202002-04-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-6/+75
* gdbserver/inferiors.c (struct inferior_info): Add regcache_data. (add_inferior): Call create_register_cache. (clear_inferiors): Call free_register_cache. (inferior_regcache_data, set_inferior_regcache_data): New functions. * gdbserver/regcache.c (struct inferior_regcache_data): New. (registers): Remove. (get_regcache): New function. (create_register_cache, free_register_cache): New functions. (set_register_cache): Don't initialize the register cache here. (registers_to_string, registers_from_string, register_data): Call get_regcache. * gdbserver/regcache.h: Add prototypes. * gdbserver/server.h: Likewise.
2002-04-202002-04-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz11-16/+515
* gdbserver/mem-break.c: New file. * gdbserver/mem-break.h: New file. * gdbserver/Makefile.in: Add mem-break.o rule; update server.h dependencies. * gdbserver/inferiors.c (struct inferior_info): Add target_data member. (clear_inferiors): Free target_data member if set. (inferior_target_data, set_inferior_target_data): New functions. * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) (i386_stop_pc, i386_set_pc): New. Add to the_low_target. * gdbserver/linux-low.c (linux_bp_reinsert): New variable. (struct inferior_linux_data): New. (linux_create_inferior): Use set_inferior_target_data. (linux_attach): Likewise. Call add_inferior. (linux_wait_for_one_inferior): New function. (linux_wait): Call it. (linux_write_memory): Add const. (initialize_low): Call set_breakpoint_data. * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint handling members. * gdbserver/server.c (attach_inferior): Remove extra add_inferior call. * gdbserver/server.h: Include mem-break.h. Update inferior.c prototypes. * gdbserver/target.c (read_inferior_memory) (write_inferior_memory): New functions. * gdbserver/target.h (read_inferior_memory) (write_inferior_memory): Change macros to prototypes. (struct target_ops): Update comments. Add const to write_memory definition.
2002-04-112002-04-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-10/+19
* gdbserver/linux-low.c (usr_store_inferior_registers): Support registers which are allowed to fail to store. * gdbserver/linux-low.h (linux_target_ops): Likewise. * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. (ppc_cannot_store_register): FPSCR may not be storable. * regformats/reg-ppc.dat: Support FPSCR.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz5-7/+75
* linux-low.c (linux_look_up_symbols): New hook. (linux_target_ops): Add linux_look_up_symbols. * remote-utils.c (decode_address): New function. (look_up_one_symbol): New function. * server.c (handle_query): Call target look_up_symbols hook. * server.h (look_up_one_symbol): Add prototype. * target.h (struct target_ops): Add look_up_symbols hook.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+4
* gdbserver/server.h: Include <string.h> if HAVE_STRING_H. * ChangeLog: Correct paths in last ChangeLog entry.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz11-86/+141
* linux-low.h: Remove obsolete prototypes. (struct linux_target_ops): New. (extern the_low_target): New. * linux-low.c (num_regs, regmap): Remove declarations. (register_addr): Use the_low_target explicitly. (fetch_register): Likewise. (usr_fetch_inferior_registers): Likewise. (usr_store_inferior_registers): Likewise. * linux-arm-low.c (num_regs): Remove. (arm_num_regs): Define. (arm_regmap): Renamed from regmap, made static. (arm_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (arm_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-i386-low.c (num_regs): Remove. (i386_num_regs): Define. (i386_regmap): Renamed from regmap, made static. (i386_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (i386_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-ia64-low.c (num_regs): Remove. (ia64_num_regs): Define. (ia64_regmap): Renamed from regmap, made static. (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (ia64_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-m68k-low.c (num_regs): Remove. (m68k_num_regs): Define. (m68k_regmap): Renamed from regmap, made static. (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (m68k_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-mips-low.c (num_regs): Remove. (mips_num_regs): Define. (mips_regmap): Renamed from regmap, made static. (mips_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (mips_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-ppc-low.c (num_regs): Remove. (ppc_num_regs): Define. (ppc_regmap): Renamed from regmap, made static. (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (ppc_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-s390-low.c (num_regs): Remove. (s390_num_regs): Define. (s390_regmap): Renamed from regmap, made static. (s390_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (s390_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-sh-low.c (num_regs): Remove. (sh_num_regs): Define. (sh_regmap): Renamed from regmap, made static. (sh_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (sh_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. (the_low_target): New.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-2/+12
* gdbserver/Makefile.in: Add stamp-h target. * gdbserver/configure.in: Create stamp-h. * gdbserver/configure: Regenerated.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz8-40/+371
* gdbserver/inferiors.c: New file. * gdbserver/target.c: New file. * gdbserver/target.h: New file. * gdbserver/Makefile.in: Add target.o and inferiors.o. Update dependencies. * gdbserver/linux-low.c (inferior_pid): New static variable, moved from server.c. (linux_create_inferior): Renamed from create_inferior. Call add_inferior. Return 0 on success instead of a PID. (linux_attach): Renamed from myattach. (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). (linux_thread_alive): Renamed from mythread_alive. (linux_wait): Renamed from mywait. Call clear_inferiors () if the child dies. (linux_resume): Renamed from myresume. Add missing ``return 0''. (regsets_store_inferior_registers): Correct error message. Add missing ``return 0''. (linux_fetch_registers): Renamed from fetch_inferior_registers. (linux_store_registers): Renamed from store_inferior_registers. (linux_read_memory): Renamed from read_inferior_memory. (linux_write_memory): Renamed from write_inferior_memory. (linux_target_ops): New structure. (initialize_low): Call set_target_ops (). * gdbserver/remote-utils.c (unhexify): New function. (hexify): New function. (input_interrupt): Send signals to ``signal_pid''. * gdbserver/server.c (inferior_pid): Remove. (start_inferior): Update create_inferior call. (attach_inferior): Call add_inferior. (handle_query): New function. (main): Call handle_query for `q' packets. * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz12-23/+65
* gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury dependencies. * gdbserver/configure.in: Check for <string.h> * gdbserver/configure: Regenerate. * gdbserver/config.in: Regenerate. * gdbserver/gdbreplay.c: Include needed system headers. (remote_open): Remove strchr prototype. * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. * gdbserver/regcache.c (supply_register): Change buf argument to const void *. (supply_register_by_name): Likewise. (collect_register): Change buf argument to void *. (collect_register_by_name): Likewise. * gdbserver/regcache.h: Add missing prototypes. * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. * gdbserver/server.c (handle_query): New function. (attached): New static variable, moved out of main. (main): Quiet longjmp clobber warnings. * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. * gdbserver/utils.c (error): Remove NORETURN. (fatal): Likewise.
2002-03-27 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.Michal Ludvig1-5/+8
(x86_64_num_regs, x86_64_num_gregs): Added extern variables. * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. (x86_64_linux_dr_get_status, supply_gregset), (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. (x86_64_register_info_table): Add. (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. (x86_64_register_raw_size, x86_64_register_virtual_type), (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new general x86_64_register_info_table. (i386_gdbarch_init): gdbarch_register_bytes is now set dynamicaly during initialization. * regformats/reg-x86-64.dat: Synced with changes to registers above. * gdbserver/linux-x86-64-low.c: Ditto.
2002-03-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-11/+25
* gdbserver/server.c (main): Call target_signal_to_host_p and target_signal_to_host on signals received from the remote. * gdbserver/remote-utils.c (prepare_resume_reply): Call target_signal_from_host on signals sent to the remote. * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
2002-03-212002-03-20 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-12/+2
* gdbserver/remote-utils.c (remote_open): Don't call getprotobyname, we're all using TCP here so just use IPPROTO_TCP. * gdbserver/gdbreplay.c (remote_open): Ditto.
2002-03-13 * gdbserver/remote-util.c (remote_open): Print remote-side'sMichal Ludvig1-3/+6
IP address when remote debugging over the network.
2002-03-042002-03-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-9/+8
* gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. (register_addr, REGISTER_RAW_SIZE): Likewise. (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. * gdbserver/linux-x86-64-low.c: Remove extra #endif.
2002-02-282002-02-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-0/+96
* gdbserver/linux-s390-low.c: New file. * regformats/reg-s390.dat: New file. * regformats/reg-s390x.dat: New file. * gdbserver/configure.srv: Add S/390. * gdbserver/Makefile.in: Add S/390. * configure.tgt: Enable gdbserver for S/390.
2002-02-272002-02-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz19-23/+840
* gdbserver/acconfig.h: New file. * gdbserver/i387-fp.c: New file. * gdbserver/i387-fp.h: New file. * gdbserver/linux-x86-64.c: New file. * regformats/reg-x86-64.dat: New file. * configure.tgt: Add x86_64-*-linux* gdbserver support. & gdbserver/configure.srv: Add x86_64-*-linux* and regset support. * gdbserver/configure.in: Add support for regsets. * gdbserver/config.in: Regenerate. * gdbserver/configure: Regenerate. * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). * gdbserver/linux-low.h: New file. * gdbserver/linux-low.c: Include "linux-low.h". Add support for regsets. * gdbserver/linux-arm-low.c: Include "linux-low.h". * gdbserver/linux-ia64-low.c: Include "linux-low.h". * gdbserver/linux-m68k-low.c: Include "linux-low.h". * gdbserver/linux-mips-low.c: Include "linux-low.h". * gdbserver/linux-ppc-low.c: Include "linux-low.h". * gdbserver/linux-sh-low.c: Include "linux-low.h". * gdbserver/linux-i386-low.c: Include "linux-low.h". Include "i387-fp.h". Add PTRACE_GETREGS and friends. * gdbserver/regcache.c (supply_register): New function. (supply_register_by_name): New function. (collect_register): New function. (collect_register_by_name): New function.
2002-02-272002-02-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-3/+3
* gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. (config.status): Add configure.srv dependency. (server_h): Add config.h dependency.
2002-02-272002-02-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+5
* regformats/reg-i386-linux.dat: New file, with $orig_eax. * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. * gdbserver/configure.srv: Change i386-*-linux* to use reg-i386-linux.o.
2002-02-262002-02-25 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
From Eliot Dresselhaus <eliot@ayrnetworks.com>: * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
2002-02-252002-02-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz5-86/+106
* gdbserver/configure.srv: New file. * gdbserver/configure.in: Use configure.srv instead of the host/target makefile fragments. Set GDBSERVER_DEPFILES from it. * gdbserver/configure: Regenerated. * gdbserver/terminal.h: New file. * gdbserver/Makefile.in: Update for configure changes. Remove more unneeded include paths.
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-2/+2
* gdbserver/linux-low.c (mywait): Change argument to waitpid to be an integer instead of a `union wait'.
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-103/+22
* gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change AC_STDC_HEADERS to AC_HEADER_STDC. * gdbserver/configure: Regenerated.
2002-02-192002-02-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-153/+799
* gdbserver/README: Update documentation. * gdbserver/configure.in: Update configury to match documentation. * gdbserver/Makefile.in: Likewise. * gdbserver/configure: Regenerated. * gdbserver/aclocal.m4: New file, generated by aclocal. * gdbserver/config.in: New file, generated by autoheader.
2002-02-152002-02-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-13/+5
* gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno instead of find_register_by_number. (cannot_store_register): Likewise.
2002-02-152002-02-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+13
* gdbserver/gdbserver.1: Document --attach.
2002-02-152002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-6/+6
* gdbserver/Makefile.in: Fix typos in target rules.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz16-1302/+992
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, and remove unused $(INCLUDE_DIR). Add regcache.c to OBS. Add generated register protocol files to clean target. Update dependencies for new objects, obsolete old target code. * gdbserver/linux-low.c: Remove all platform-specific code to new files. Remove various dead code. Update to use regcache functionality. * gdbserver/remote-utils.c (fromhex): Add return statement to quiet warning. (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer constant. (input_interrupt): Add integer parameter to match prototype of a signal handler. (outreg): Use register_data (). (prepare_resume_reply): Use gdbserver_expedite_regs. * gdbserver/server.c (main): Dynamically allocate own_buf because PBUFSIZ is no longer constant. Use registers_to_string () and registers_from_string (). * gdbserver/server.h: No longer include "defs.h". Add prototypes for error (), fatal (), and warning (). Update definition of PBUFSIZ to use regcache functionality. Add include guard. * gdbserver/utils.c (fatal): Add missing ``const''. (warning): New function. * regformats/regdat.sh: Include "regcache.h" in generated files. Provide init_registers () function. * regformats/regdef.h: Add prototype for set_register_cache (). Add include guard. * gdbserver/linux-arm-low.c: New file. * gdbserver/linux-i386-low.c: New file. * gdbserver/linux-ia64-low.c: New file. * gdbserver/linux-m68k-low.c: New file. * gdbserver/linux-mips-low.c: New file. * gdbserver/linux-ppc-low.c: New file. * gdbserver/linux-sh-low.c: New file. * gdbserver/regcache.c: New file. * gdbserver/regcache.h: New file. * gdbserver/low-linux.c: Removed obsolete file.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid to (int *).
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+0
* gdbserver/linux-low.c (kill_inferior): Remove commented out code.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-2/+0
* gdbserver/linux-low.c: Remove unused include files.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-7/+8
* gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. (read_inferior_memory): Use it. (write_inferior_memory): Likewise.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+2
* gdbserver/linux-low.c (create_inferior): Call strerror instead of grubbing through sys_errlist.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+777
* gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2002-02-042002-02-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+28
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. Add rules for building the register data files.
2002-01-20Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney1-4/+0
2002-01-172002-01-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz8-8/+8
* gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, gdbserver/low-nbsd.c, gdbserver/low-sim.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c, gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
2002-01-172002-01-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz8-9/+126
* low-hppabsd.c (myattach): New function, returning -1. * low-lynx.c (myattach): Likewise. * low-nbsd.c (myattach): Likewise. * low-sim.c (myattach): Likewise. * low-sparc.c (myattach): Likewise. * low-sun3.c (myattach): Likewise. * low-linux.c (myattach): New function. * server.c (attach_inferior): New function. (main): Handle "--attach".
2001-12-05* gdbserver/low-linux.c (arm_register_u_addr): added.Keith Walker1-0/+13
(initialize_arch): added for ARM target. * config/arm/nm-linux.h (U_REGS_OFFSET) defined. (REGISTER_U_ADDR) defined. * config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
2001-07-26 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.Daniel Jacobowitz6-12/+12
* infttrace.c (child_xfer_memory): Likewise. * symm-nat.c (child_xfer_memory): Likewise. * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-linux.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-lynx.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-nbsd.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-sparc.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-sun3.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise.
2001-07-12 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1Daniel Jacobowitz1-2/+2
in HAVE_TERMIO/HAVE_TERMIOS cases.
2001-07-11minor F_SETOWN nitDaniel Jacobowitz1-1/+1
2001-07-11* gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"J.T. Conklin5-14/+38
of SIGIO. (input_interrupt): Don't block on read, in case we got redundant SIGIO. Don't gripe about redundant SIGIO. * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO handler while waiting. * gdbserver/low-linux.c (mywait): Likewise. * gdbserver/low-nbsd.c (mywait): Likewise. * gdbserver/low-sparc.c (mywait): Likewise.
2001-04-06* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicitJ.T. Conklin4-0/+4
void return value; * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. ---------------------------------------------------------------------
2001-03-28* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code andMark Kettenis1-27/+32
make it work again. (NUM_FREGS): Redefine to 0. (NUM_REGS): Redefine as NUM_GREGS. (i386_register_byte, i386_register_raw_size): Update from i386-tdep.c. Add comment about their origin. (regmap, register_u_addr): Take these from i386-linux-nat.c. (i386_register_u_addr): Removed.
2001-03-13Eliminate ARCH_NUM_REGS.Andrew Cagney2-2/+2
2001-03-06Update/correct copyright notices.Kevin Buettner14-14/+24