X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=4048467f15e635e1d502465e6ccd6baa2d4acfd2;hb=25286543da71d927d59a7479e7e1bd0a1b9e1321;hp=031f782ccc47c8b8fec2af2e8735cc512e2a9a2e;hpb=e1f63216eb229e4f939e4f46aa099daaae2cc23f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 031f782ccc..4048467f15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,517 @@ +Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com) + + * Makefile.in (CLIBS): Reorder to make Lynx ld happy. + * (HFILES): New file thread.h. + * (OBS): New file thread.c. + * configure.in: Host config for Lynx/386. + * fork-child.c (fork_inferior): Call init_thread_list(). + * infrun.c (resume): Add pid to invocation of target_resume(). + * (wait_for_inferior): Pay attention to pid from target_wait(). + Multi-threading code now uses this to determine what to do. + * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro. + Use target_pid_to_str() macro throughout when printing pid. + * inferior.h (child_resume): Add pid to prototype. + * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as + argument, instead of using inferior_pid. + * procfs.c (procfs_resume): Pass in pid as argument. Ignored for + now. Use target_pid_to_str() macro throughout for printing process id. + * remote-adapt.c (adapt_resume): Pass in pid as argument. + * remote-eb.c (eb_resume): Pass in pid as argument. + * remote-es.c (es1800_resume): Pass in pid as argument. + * remote-hms.c (hms_resume): Pass in pid as argument. + * remote-mips.c (mips_resume): Pass in pid as argument. + * remote-mm.c (mm_resume): Pass in pid as argument. + * remote-monitor.c (monitor_resume): Pass in pid as argument. + * remote-nindy.c (nindy_resume): Pass in pid as argument. + * remote-sa.sparc.c (remote_resume): Pass in pid as argument. + * remote-sim.c (rem_resume): Pass in pid as argument. + * remote-sp64sim.c (simif_resume): Pass in pid as argument. + * remote-st.c (st2000_resume): Pass in pid as argument. + * remote-udi.c (udi_resume): Pass in pid as argument. + * remote-vx.c (vx_resume): Pass in pid as argument. + * remote-z8k.c (rem_resume): Pass in pid as argument. + * remote.c (remote_resume): Pass in pid as argument. + * solib.c (solid_create_inferior_hook): Pass inferior_pid to + target_resume(). + * target.c (normal_pid_to_str): New routine to print out process + ID normally. + * target.h (struct target_ops): Add pid to prototype at + to_resume(). (target_resume): Add pid argument. + * (target_pid_to_str): Default definition for normal type pids. + * thread.c, thread.c: New modules for multi thread/process control. + +Sun Aug 1 13:02:42 1993 John Gilmore (gnu@cygnus.com) + + * README: Say that bug-gdb is also the place to send requests + for help with GDB. + +Sun Aug 1 09:42:13 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile. + * h8500-tdep.c: Add parens around a few macro args. + +Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * TODO: Remove items about unix-to-unix/rapp debugging (now we + have gdbserver), moving xm files to subdirectory, ptype yylval, + and file-local symbols. + + * gdbtypes.h: Improve comments about C++ methods. + +Fri Jul 30 14:16:32 1993 Fred Fish (fnf@deneb.cygnus.com) + + * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast + NULL in all other calls to correct pointer types. + +Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + From Jeffrey Law: + * tm-hppa.h (TARGET_WRITE_PC): Define. + * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall, + then return the address of the dummy itself rather than + the address of $$dyncall. + (target_write_pc): New function to store a new PC. + +Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + and Jim Kingdon (kingdon@cygnus.com) + + * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint + conditions, they might contain symbol table references. + +Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mipsread.c (parse_symbol): Handle opaque struct definitions and + type naming for stTypedef symbols. + +Fri Jul 30 14:44:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * c-exp.y (yylex): Detect C++ nested types. + +start-sanitize-v9 +Fri Jul 30 11:07:37 1993 Doug Evans (dje@canuck.cygnus.com) + + * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted. + (dump_ccreg, sparc_print_register_hook): New fns. + * remote-sim.h: New file. + * remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns. + + * config/sparc/sp64.mt: New file. + * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted. + (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook. +end-sanitize-v9 + +Fri Jul 30 10:15:01 1993 Fred Fish (fnf@deneb.cygnus.com) + + * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh + +Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + From J. Law: + * infcmd.c (read_pc): Remove PA specific code. + * tm-hppa.h (TARGET_READ_PC): Define. + * hppa-tdep.c (target_read_pc): New function. + + * symtab.c (gdb_mangle_name): Deal with it if type lacks a name. + +Fri Jul 30 07:36:53 1993 Fred Fish (fnf@deneb.cygnus.com) + + * NEWS: Add note that DEC alpha support is host only, not native. + * README: Emphasize that C++ support works best with GNU C++ and + stabs debugging format. + * delta68-nat.c: Add missing FSF copyright. + +Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols. + * hppa-tdep.c (frame_chain_valid): Check that our function has the + same address as _start, not that it must be the same symbol. + +Fri Jul 30 00:18:40 1993 Fred Fish (fnf@deneb.cygnus.com) + + * Makefile.in (ALLDEPFILES): Add delta68-nat.c + * Makefile.in (delta68-nat.o): Add dependency. + +Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind + was adequate in gdb 3.5 but not now. + + * valops.c (typecmp): An array in t2 matches a pointer in t1. + + * valops.c (typecmp): When comparing type1& to type2, compare + type1 and type2 as leniently as if we were comparing type1 to + type2. + + * cp-valprint.c (cplus_print_value): Don't dump core if the + baseclass doesn't have a name. + * values.c (vb_match): New function, which finds the virtual + base class pointer even if the types are nameless. + (baseclass_{addr,offset}): Use it. + + * hppa-tdep.c: Make "maintenance print unwind" command from old + "unwind" command. + + * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated + obsolete junk which apparently had been copied from the + pre-serial.h remote.c, but which is no longer used. + +Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com) + + * Makefile.in (NONSRC): Need 29k-share/README, not + 29k-share/udi/README. + +Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * paread.c (pa_symfile_init): If error reading string table, don't + use errno in cases where it hasn't been set. + + * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid. + + * remote-monitor.c (_initialize_monitor): Comment out use of + connect_command, since connect_command itself is commented out. + + * remote-monitor.c (generic_open): Parse arguments the same way + as remote.c. + + * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments. + +Wed Jul 28 13:19:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * config/mips/xm-mips.h: Define HAVE_TERMIOS. + + * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or + __gnu_compiled* symbols into the minimal symbols. + +Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com) + + * remote-mips.c (_initialize_remote_mips): Added "timeout" and + "retransmit-timeout" variables to set mips_receive_wait and + mips_retransmit_wait, respectively. + +Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de) + + * symmisc.c (dump_msymbols): Handle new mst_file_* types. + +Tue Jul 27 12:07:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote-udi.c: Remove old comment about download not implemented. + + * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break. + * nindy-share/*, remote-nindy.c: Extensive hacking to make it + conform to GDB conventions like using memcpy not bcopy, serial.h, + etc. This is to make it host on Solaris, AIX, etc. + * Makefile.in: Reflect removed nindy-share files. + * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o. + + * stack.c (print_frame_info): Revise comment about `pathological' + case (there was a wrong FIXME about text labels; also asm() can + trigger this as well as versions of ar which truncate .o names). + + * buildsym.c (start_subfile): If a .c file includes a .C file, set + the language of both of them to C++. + + * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include + . + Include rather than declaring malloc functions ourself. + + * ser-unix.c (set_tty_state): Don't ignore errors setting process + group. + * inflow.c (terminal_inferior): If attach_flag set, ignore errors + from set_tty_state. + + * fork-child.c (fork_inferior): Only quote exec file if needed. + + * mipsread.c (parse_symbol): Remove 21 Jul 93 change with + stTypedef inside an stBlock. + +Tue Jul 27 12:36:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if + we have breakpoints or watchpoints as we might have to ignore internal + breakpoints. + + Fix gdb core dumps after `file newfile' commands. + * symtab.h, symfile.c (clear_symtab_users): New routine which + unconditionally clears symtab users. clear_symtab_users_once + commented out as it was a noop anyway. + * objfiles.c (free_objfile): Don't call clear_symtab_users_once. + * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile), + xcoffexec.c (exec_close): Call clear_symtab_users if necessary. + * symfile.c (syms_from_objfile): Install cleanups for errors during + symbol reading. + * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read): + Lint cleanup code, call do_cleanups explicitly. + * symfile.c (symbol_file_add): Call new_symfile_objfile and + reinit_frame_cache _after_ the new symbols are read in. + +Tue Jul 27 01:57:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mipsread.c (parse_type): Do not set tag name for compiler + generated fake tag names. + +Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * config/m88k/m88k.mt (TDEPFILES): add exec.o. + +Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind' + command. Now we use unwind info by default if we can find it. + + * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG + to tm-sparc.h so they are shared between Solaris and SunOS4. + * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and + N_GSYM functions. + + * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp" + for floating point registers. + + * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal + symbols as mst_file_text. + + * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory. + + * stabsread.c (rs6000_builtin_type): Make logical types be + TYPE_CODE_BOOL. + +Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * breakpoint.{c,h} (struct breakpoint): Replace symtab field with + source_file field. + +Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * remote.c: Don't error() on errors xferring memory. + * target.h: Clean up comments about *xfer_memory. + + * exec.c, corelow.c (target_ops struct): Don't allow + {insert,remove}_breakpoints to be defaulted to + memory_{insert_remove}_breakpoint. + + * demangle.c: Make it so `help set dem' tells you how to get the + list of demangling styles. + +Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * Makefile.in: Use REMOTE_O macro not remote.o. + * config/i960/{nindy960,vxworks960}: Don't use remote.o. + +Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com) + + * coredep.c: If NEED_SYS_CORE_H defined, include + (can't include it in nm-*.h file because it causes conflicts with + a.out symbol definitions). + * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete. + * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and + corelow.o. + * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined. + (REGISTER_U_ADDR): Defined. + * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of + HAVE_TERMIO. + * config/pa/xm-hppah.h: Likewise. + +Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * mipsread.c (parse_symbol): when stTypedef and friends occur within + an stBlock, skip over the fields of the inner one. + + * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call + heuristic_proc_desc rather than just assuming registers not saved. + + * Makefile.in (regex.o): Add dependency. + + * hppa{b,h}-nat.c: Warning, not error, if can't access registers. + + * config/pa/hppa{b,h}.h: Define ATTACH_DETACH. + +Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/mips/xm-makeva.h: New file implements va_list alignment + restrictions for mips hosts. + * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}: + Use it. + +Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tdep.c (init_extra_frame_info): Do not check for + mips_in_lenient_prologue if it is a dummy frame. + * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by + mips_in_lenient_prologue. + +Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * mips-tdep.c (heuristic_proc_start): First time we print the + warning, elaborate. + (_initialize_mips_tdep): Improve docstring for `set heur'. + + * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint. + + * symtab.c (find_line_symtab): New function, to deal with multiple + symtabs with the same name. + (find_line_pc{,_range}): Use it. + (find_pc_symtab): Add comment about overlapping symtabs. + +Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com) + + * Makefile.in (SFILES): Add nlmread.c. + * Makefile.in (OBS): Add nlmread.o. + * Makefile.in (nlmread.o): Add new target. + * configure.in (i[34]86-*-netware): New configuration. + * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files + for NLM/NetWare support. + +Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * symtab.h (enum minimal_symbol_type): Add mst_file_*. + * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols. + * dbxread.c (record_minimal_symbol): Deal with statics. + * minsyms.c (lookup_minimal_symbol): Prefer externals to statics. + + * config/i386/xm-i386sco.h: Define HAVE_TERMIOS. + + * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so + arg_bytes field of makeva_list is always aligned. + * config/pa/xm-pa.h: Make arglist_address a char *. + + * ser-unix.c: Don't try to use job control with termio. + +Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + and Jim Kingdon (kingdon@cygnus.com) + + Make breakpoint_re_set_one work with overloaded member functions, + `b 123' and `b foo' if foo is a static function. + * symtab.c (decode_line_1, decode_line_2): New argument `canonical' + to return canonical line specs if requested by the caller. + * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and + callers accordingly. + * symtab.c (build_canonical_line_spec): New helper function which + constructs the canonical line spec. + * breakpoint.c (break_command_1): Use canonical line spec instead + of command string as addr_string if necessary. + * source.c (line_info): Fix storage leak. + +Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com) + + * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL + but not the others. + * symm-tdep.c: Remove exec_file_command. + [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions. + A few miscellaneous cleanups. + * symm-nat.c: Renamed from symm-xdep.c. + * All symmetry dependent files: Many changes. + + * mips-tdep.c (mips_skip_prologue): New argument lenient. + Use read_memory_nobpt. + (is_delayed, mips_in_lenient_prologue): New functions. + (init_extra_frame_info): If in the prologue, don't use saved registers. + * config/mips/tm-mips.h: Declare mips_skip_prologue. + + * partial-stab.h (N_SO): Add the text offset to valu before, not after, + passing it to END_PSYMTAB. + +Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com) + + * symtab.c (find_pc_symtab): Call warning, not printf directly. + + * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc. + +Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com) + + * mipsread.c: No longer need to undefine ZMAGIC. + +Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c. + (print_insn): Now just calls print_insn_m88k. + +Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com) + + * h8300-tdep.c (examine_prologue): Make prototype match definition. + +Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * NEWS: Mention that remote.c now has a `load' operation. + + * hppa-tdep.c (pc_in_linker_stub): New function. + (find_proc_framesize): Return 0 for linker stubs. + (rp_saved): Tell the caller where rp is saved. + (frame_chain_valid): Return 1 for linker stubs. + (frame_saved_pc): Use return value from rp_saved. + + * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY, + pass the sp relative to the frame in question, not the sp in the + innermost frame. + +Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * mipsread.c (parse_procedure): Take as argument the symtab to look + the name up in. Look it up with mylookup_symbol, not lookup_symbol. + (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure. + + * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have + already checked the first characters. + + Changes from Jeffrey Law: + * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define + machine dependent fields in the makeva_list structure. + (makeva_size): Allocate extra space to handle gaps made by + alignment restrictions. + * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define. + (MAKEVA_START): Initialize arglist_address field. + (MAKEVA_ARG): Always store arguments on natural alignment + boundaries. Set arglist_address to the address right after + the args. + (MAKEVA_END): Simply return the value stored in arglist_address. + +Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print + address, not addr. + + * hppah-nat.c (store_inferior_registers): Don't print i in cases + where we aren't using it. + + * a29k-tdep.c (get_saved_register): Fix typo. + +Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com) + + * configure.in: Recognize h8300h (variant of h8300). + +start-sanitize-v9 +Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com) + + * configure.in: Recognize sparc64-*-*. +end-sanitize-v9 + +Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabsread.c (define_symbol): Make the caddr_t hack apply to `function + returning foo' as well as `pointer to foo'. + + * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined. + * config/m68k/tm-m68k.h: Define it. + * mem-break.c, breakpoint.c: Improve comments. + +Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h". + * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO. + +Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com) + + * gdbcore.h (read_memory_integer, read_memory_unsigned_integer): + Make prototype match definition. + +Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com) + + * elfread.c: Remove notice about file still being under + construction. + * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'. + +Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * a29k-tdep.c (read_register_stack): Make val static. + Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com) * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0. @@ -366,6 +880,30 @@ Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating CALL_DUMMY between different 68k machines. +Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com) + + * gdbserver/Makefile.in: Add dependancies on server.h. + * gdbserver/remote-gutils.c: Remove lots of unused functions and + variables. + * gdbserver/remote-inflow.c: Remove lots of unused variables and + #includes. Also, use PTRACE_* symbols instead of constants. + (mywait): Surround calls to wait() with enable/disable_async_io() + so that we can be interrupted from GDB while waiting for the + child. Also, handle child exit more gracefully. + * gdbserver/remote-server.c: Remove lots of unused variables. + Move all extern defs into server.h. Redo main loop so that + failure from getpkt() causes communications to be re-established. + Fix 'k' command so that it restarts the child. + * gdbserver/remote-utils.c: Remove lots of unloved vars and + subrs. Move many extern decls into server.h. (remote_open): For + tcp, seperate usage of proto fd from connected fd. Close proto + fd after getting connection. (putpkt/getpkt): Pay attention to + errors when reading/writing. Report these to the caller. New + routines input_interrupt/enable_async_io/disable_async_io to make + it possible to get an I/O interrupt when data arrives from the + comm link. + * serial.h: New file to contain common defs for all remote files. + Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com) * remote.c: Add arg names to prototypes, in a modest effort at @@ -380,6 +918,11 @@ Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com) * ser-unix.c (wait_for): Restart select() if we got EINTR. * serial.c: (serial_close): Clean up code. +Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating + CALL_DUMMY between different 68k machines. + Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.