* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 44b591a3e00c757e2403109f6ba26a3a27d587a2..99c69f4007361ad00ae6158d93c82367d261e66c 100644 (file)
@@ -1,3 +1,264 @@
+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.
This page took 0.025314 seconds and 4 git commands to generate.