* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 08e24677755df97683a0629e9aeb207563e1bd4e..99c69f4007361ad00ae6158d93c82367d261e66c 100644 (file)
@@ -1,3 +1,406 @@
+Thu Jul 13 13:42:38 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * inftarg.c (child_thread_alive): New function to see if a
+       particular thread is still running.
+       (child_ops): Add child_thread_alive entry.
+       * remote.c (remote_thread_alive): New function to see if a
+       particular thread is still alive.
+       (remote_ops): Add remote_thread_alive.
+       * target.c (dummy_target): Add dummy entry for thread_alive.
+       (cleanup_target): de_fault thread_alive too.
+       (update_current_target): INHERIT thread_alive too.
+       (debug_to_thread_alive): New function.
+       (setup_target_debug): Add debug_to_thread_alive.
+       * target.h (struct target_ops): Add to_thread_alive.
+       (target_thread_alive): Define.
+       * thread.c (info_threads_command): Don't call kill; use
+       target_thread_alive instead.
+       * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
+       * gdbserver/low-lynx.c (mythread_alive): New function.
+       (mywait): Don't restart any threads after a new thread notification,
+       let the generic code handle it.
+       * gdbserver/low-sparc.c (mythread_alive): Dummy version.
+       * gdbserver/low-sun3.c (mythread_alive): Likewise.
+       * gdbserver/server.c (main): Handle thread_alive requests.
+       * gdbserver/server.h (mythread_alive): Declare.
+       * corelow.c (core_ops): Add dummy entry for thread_alive.
+       * exec.c (exec_ops): Likewise.
+       * m3-nat.c (m3_ops): Likewise.
+       * monitor.c (monitor_ops): Likewise.
+       * procfs.c (procfs_ops): Likewise.
+       * remote-arc.c (arc_ops): Likewise.
+       * remote-array.c (array_ops): Likewise.
+       * remote-e7000.c (e7000_ops): Likewise.
+       * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
+       * remote-mips.c (mips_ops): Likewise.
+       * remote-pa.c (remote_hppro_ops): Likewise.
+       * remote-sim.c (gdbsim_ops): Likewise.
+       * sparcl-tdep.c (sparclite_ops): Likewise.
+
+
+Tue Jul 11 11:15:55 1995  Kung Hsu  <kung@rtl.cygnus.com>
+
+       * solib.c: Add _DYNAMIC__MGC base symbol for Mentor Graphics Inc.
+       * solib.c (match_main): New function for checking name of main.
+       * solib.c (solib_add): Not to add if solib match main.
+
+Fri Jul  7 14:41:56 1995  Kung Hsu  <kung@rtl.cygnus.com>
+
+       * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
+       generated internal labels ($LM...).
+
+Wed Jul  5 11:38:36 1995  Kung Hsu  <kung@rtl.cygnus.com>
+
+       * defs.h: if __GO32__ or WIN32 the directory separating symbol should
+       be '\' not '/'.
+
+       * remote-nindy (nindy_wait): Use infinite timeout reading after
+       esacpe character.
+
+Tue Jul  4 10:30:22 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * infrun.c (wait_for_inferior): When switching from one thread to
+       another, save infrun's state for the old thread and load infrun's
+       previous state for the new thread.
+       * thread.c (struct thread_info): Add new fields for thread specific
+       state saved/restored in infrun.c.
+       (add_thread): Initialize new fields.
+       (load_infrun_state): New function.
+       (save_infrun_state): New function.
+       * thread.h (load_infrun_state): Provide external decl.
+       (save_infrun_state): Likewise.
+
+       * infrun.c (wait_for_inferior): When we hit a breakpoint for the
+       wrong thread, make sure to write the fixed PC value into the thread
+       that stopped.  Restart all threads after single stepping over a
+       breakpoint for a different thread.
+       * breakpoint.c (set_momentary_breakpoint): Make momentary
+       breakpoints thread specific in a multi-threaded program.
+       * lynx-nat.c (child_resume): Add some comments.  Correctly
+       choose between the single and multi-threaded step and continue
+       ptrace calls.
+
+Fri Jun 30 16:15:36 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * config/h8300/h8300.mt: Renamed from h8300hms.mt.
+       * config/h8500/h8500.mt: Renamed from h8500hms.mt.
+       * config/z8k/z8k.mt: Renamed from z8ksim.mt.
+       * configure, configure.in: Update to reflect renamings.
+
+       * remote-sim.c (sim): New command, passes commands to simulator.
+       (simulator_command): New function.
+       (gdbsim_ops): Clean up.
+       * remote-sim.h (sim_do_command): Declare.
+       * sh-tdep.c (memory_size): Remove command.
+
+       * Makefile.in (SIM, SIM_OBS): New variables.
+       (CLIBS, CDEPS): Add value of SIM.
+       (DEPFILES): Add value of SIM_OBS
+
+       * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
+       config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
+       config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
+       define in SIM_OBS and SIM.
+       config/sparc/sp64sim.mt (SIMFILES): Remove.
+
+       * remote-z8k.c: Remove, was superseded by remote-sim.c
+       * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
+
+Sun Jun 25 15:30:43 1995  Stan Shebs  <shebs@cygnus.com>
+
+       * remote.c (remote_read_bytes, remote_write_bytes): Second arg
+       should be char *, not unsigned char *.
+       * dcache.h (memxferfunc): Ditto.
+       * monitor.c (monitor_write_memory, monitor_read_memory_single):
+       Ditto.
+       (monitor_make_srec): Let compiler figure size of hextab.
+
+Sat Jun 24 19:27:37 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * lynx-nat.c (child_wait): Don't restart new threads and loop
+       to the top of child_wait; let the machine independent code in
+       wait_for_inferior deal with new thread notifications.
+
+Fri Jun 23 11:51:58 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-nindy (nindy_load): Put in target specific load, it's 
+       20 times faster.
+
+Thu Jun 22 20:21:59 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * utils.c (error): Move local `args' outside conditional,
+       move local `string1' inside, declare function as void if
+       non-ANSI compiler, dereference error_hook when calling.
+
+       * mac-xdep.c (stdarg.h): Don't include.
+
+Thu Jun 22 13:12:33 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
+
+Wed Jun 21 13:24:41 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
+       HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
+
+Wed Jun 21 05:57:56 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * monitor.c: Turn on caching.
+       (monitor_printf): If a ^C was sent, don't expect to see its
+       echo.
+       (monitor_open): Enable caching.
+       (monitor_resume, monitor_load): Flush cache.
+       (monitor_xfer_memory): Call cache routine.
+       (monitor_dump_regs): New.
+       (monitor_fetch_registers):  If monitor_dump_regs available
+       then use it.
+       (monitor_load): Don't ref exec_bfd if it's NULL.
+       (monitor_load_srec): Use new monitor_make_srec calling convention.
+       (monitor_make_srec): Rewrite to cope with two, three and four byte
+       addresses.
+       * remote-hms.c (hms_cmds): Initialze end-of-command delim.
+       * dcache.h, dcache.h: Rewritten.
+       * remote.c: Reenable caching.
+       (getpkt): Reduce MAX_TRIES to 3.
+       (remote_xfer_memory): Use dcache_xfer_memory.
+       * defs.h (error_hook): New.
+       * top.c (error_hook): New definition.
+       * utils.c (error): Use error_hook if initialized.
+       * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use 
+       HAVE_SOCKETS in place of #ifndef GO32.
+
+Tue Jun 20 22:17:44 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
+       (INSTRUCTION_NULLIFIED): Allow specific targets to override.
+       * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
+       around losing mach kernel behavior.
+
+Tue Jun 20 12:03:36 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * monitor.c (monitor_wait): Don't use the watchdog timeout
+       if its value is 0.
+       * w89k-rom.c (w89k_open): Define to be static.
+
+start-sanitize-gdbtk
+Tue Jun 20 10:19:40 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * gdbtk.c:  Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
+
+       * gdbtk.tcl (add_breakpoint_frame):  Add more fields.
+       * (create_file_win create_asm_win build_framework):  Create null
+       bindings for meta keys to keep window from dropping down to
+       insertion point when meta is pressed by itself.  New bindings:
+          Up/Down - Scroll up/down one line at a time
+          Next/Prior - Scroll up/down one page at a time
+          Home/End - Warp to current pc/end of file
+       * (build_framework):  Turn on breakpoint menu.
+       * (create_command_window):  Implement tab completion.  Add binding
+       for ^C to stop target.
+end-sanitize-gdbtk
+
+Sat Jun 17 10:17:16 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c (som_solib_add): Validate regexp argument.
+       Don't assume the first entry on dld's library list is the main
+       program.  Don't load the same library more than once and don't
+       consider the main program a shared library.
+       (som_solib_sharedlibrary_command): New function
+       (_initialize_som_solib): Add "sharedlibrary" command.
+
+Thu Jun 15 14:54:58 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * array-rom.c: Remove, no longer used.
+
+       * remote-hms.c (hms_open): Make static.
+
+       * mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
+       not {MPW}Interfaces:CIncludes.
+       * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
+
+Wed Jun 14 14:27:07 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * ch-exp.y:  Remove lots of unsupported productions and names.
+       Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
+
+Tue Jun 13 21:40:11 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * parser-defs.h (enum precedence):  Added PREC_BUILTIN_FUNCTION.
+       * expression.h (enum exp_opcode):  Added UNOP_LOWER, UNOP_UPPER,
+       UNUP_LENGTH.
+       * expprint.c (dump_expression):  Handle the new exp_opcodes.
+       (print_subexp):  Handle PREC_BUILTIN_FUNCTION.
+       (print_simple_m2_func):  Removed.
+       (print_subexp):  Remove support for Modula2 builtin functions.
+       * m2-lang.c (m2_op_print_tab):  Add support for builtin functions.
+       * ch-exp.y:  Parse LOWER, UPPER, and LENGTH builtins.
+       (write_lower_upper_value):  Convenience function for LOWER and UPPER.
+       (upper_lower_argument, length_argument):  Removed non-terminals.
+       * ch-lang.c (chill_op_print_tab):  Entries for UPPER, LOWER, LENGTH.
+       (type_lower_upper):  New function.  Calculate LOWER/UPPER of type.
+       (value_chill_length):  New function.  Calcalate LENGTH of ARRAY/STRING.
+       (evaluate_subexp_chill):  Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
+
+Mon Jun 12 12:48:13 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
+       * defs.h: Don't declare strchr and friends if WIN32.
+       (DIRNAME_SEPARATOR): Move here from source.c.
+       (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
+       symbolic definitions for filename bits.
+       * top.c (cd_command): Use these.
+       * source.c (mod_path, openp): Ditto.
+       * terminal.h: Disable termio/sgtty definitions if WIN32.
+       * findvar.c (registers_changed): Call registers_changed_hook
+       if it is defined.
+
+Mon Jun 12 12:22:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (distclean, realclean): Remove config.cache and
+         config.log.
+
+Mon Jun 12 00:21:59 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c: Include gdb-stabs.h.
+       (som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
+       etc.  Initialize offsets for RODATA & BSS too.
+
+Sat Jun 10 17:59:11 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (frame_chain): Try to compensate for incomplete
+       register information in core files when backtracing.
+
+Fri Jun  9 14:51:38 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * remote-nrom.c:  Remove everything but download code.  More
+       cleanups.
+
+Thu Jun  8 15:06:00 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * defs.h maint.c monitor.c remote-mips.c remote.c:  Add support
+       for `watchdog' variable.  This allows the user to put an upper
+       limit on the amount of time that GDB will wait for the target to
+       return from a step or continue operation.  This will primarily be
+       used for the testsuite, where it is difficult to come up with a
+       reasonable timeout for things like function calls, which can take
+       as long as three minutes under some circumstances.  If the
+       watchdog timer expires, GDB will generate an error that looks like
+       `Watchdog has expired.', and will detach from the target.
+
+       * remote-mips.c (mips_open):  Setup initial frame from target.
+       Print it out so that user is told where the program is stopped
+       when they attach.
+
+       * remote-nrom.c:  Loads of cleanups.  Use serial code to open
+       network connections.  Use expect() to wait for response to
+       download command.
+
+       * ser-tcp.c (tcp_open):  Retry connection if we get ECONNREFUSED.
+
+       * serial.c serial.h (serial_open serial_fdopen serial_close):
+       Allow users to open the same device multiple times.  They all get
+       to share the same serial_t.  This is about the only way to have
+       multiple active targets use the same device (for download and
+       debug).
+
+       * sparcl-tdep.c:  Keep #include <unistd.h> away from GO32.
+
+       * target.c:  Add `targetdebug' variable.  If this is non-zero,
+       then a special target is put at the top of the target stack which
+       will cause all calls through the target vector to have their args
+       and results printed out.
+
+Wed Jun  7 17:40:37 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * ch-exp.y: Handle <primitive_value> "->" <modename>.
+
+Wed Jun  7 17:46:33 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
+       {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
+       (BIG_BREAKPOINT): Ditto.
+
+       * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
+       BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
+       order.
+
+Wed Jun  7 12:41:42 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
+
+       * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
+       handler in dynamically linked executables.
+
+Tue Jun  6 10:44:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       From Andrew Cagney <cagney@highland.com.au>
+       * rs6000-tdep.c (single_step): Handle both little and big endian
+       breakpoints.
+       (gdb_print_insn_powerpc): Deal with disassembling both little and
+       big endian PowerPC systems.
+       (_initialize_rs6000_tdep): Use gdb_print_insn_powerpc to handle
+       disassembly, rather that assuming big endian order.
+
+       * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
+       (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
+       (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
+
+Sat Jun  3 01:54:56 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * README:  Add note about Unixware 2.x.
+
+       * dbxread.c (process_one_symbol):  Check for exact symbol name
+       match when fixing up N_GSYM and N_STSYM symbols from Sun acc.
+
+       * valprint.c (value_print_array_elements):  Use
+       fprintf_filtered to put out `<repeats %u times>',
+       from schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
+
+       * value.h (struct value):  Change `repetitions' field from
+       `short' to `int' type.
+
+start-sanitize-arc
+Fri Jun  2 11:17:23 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * arc-tdep.c (arc_bfd_mach_type): New static global.
+       (codestream_fill): Handle byte order differences.
+       (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
+       (arc_get_frame_setup): Read it here.
+       (arc_frame_saved_pc): And here.
+       (arc_print_insn): New function.
+       (arc_set_cpu_type): Set arc_bfd_mach_type.  Don't set tm_print_insn.
+       (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
+end-sanitize-arc
+
+Wed May 31 12:04:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
+       * nlm/configure: New file, generated with autoconf 2.3.
+
+       * nlm/configure.in: Use sed instead of awk to get the value of
+         cpufile.  Awk is not a utility required by the GNU coding
+         standards.  This change also fixes the rigid whitespace
+         requirements that were required for awk.
+
+       * sparclite/aload.c: Use a file descriptor instead of a stdio
+         stream for i/o with target board.
+         Use #error if HAVE_TERMIOS is not defined.
+
+       * sparclite/{Makefile.in, configure.in}: Converted to use
+         autoconf.
+       * sparclite/configure: New file, generated with autoconf 2.3.
+
+Sun May 28 23:10:07 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * defs.h: Include either varargs.h or stdarg.h (for va_list).
+       Fix stupid thinko in last change ("..." -> "va_list").
+
+       * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
+       gcc-2.5 chokes on format attributes for unprototyped functions.
+       (vfprintf_filtered declaration): Likewise.
+       (vprintf_unfiltered declaration): Likewise.
+       (vfprintf_unfiltered). Likewise.
+
 Sat May 27 23:54:17 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
 
        * configure.in: Use sed instead of awk to get the values of
This page took 0.026687 seconds and 4 git commands to generate.