X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=6ced58219189d9aaf11bbbea4c0a0e04f6c53362;hb=2447e9afab92a5700ccc6e4d90d3cef8f082c009;hp=d8628f4822ca135a106cfeda2f43e45e6db5e944;hpb=c3a9b88e1e06ff8253a0919edd6dc91ebe64d83d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8628f4822..6ced582191 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,750 @@ +Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack + to inhibit infinite recursion when printing aggregate types. + +Fri Aug 18 17:48:55 1995 steve chamberlain + + * dcache.c (dcache_write_line): Write dirty lines right. + +Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * sparc-tdep.c (isbranch): Fix typo which caused wrong + target addresses for annulled branches. + +Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu) + + * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define. + +Tue Aug 15 07:51:21 1995 steve chamberlain + + * remote.c (remote_write_bytes): Chop up large transfers. + +Mon Aug 14 17:56:36 1995 Stan Shebs + + * gcc.patch: Remove, relevant only to long-ago versions of GCC. + +Mon Aug 14 13:43:01 1995 Kung Hsu + + * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE. + * blockframe.c (inside_main_func): If main func addr range not set, + try to set it now. + +Sat Aug 12 15:34:54 1995 Jeffrey A. Law + + * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define. + * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. + + * configure.in: Recognize aix4 specially as some aspects + of aix4 need different handling than aix3. + * configure: Updated. + * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files + specific to aix4 support on the power pc. + * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do + not defined. The aix4 specific target files will do that. + * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files + specific to aix4 support on the rs6000. + + * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't + do the conversion if the pointer is not a magic aix function + pointer. + * rs6000-tdep.c: Include objfiles.h and symtab.h. + (is_magic_function_pointer): New function. + + * rs6000-tdep.c (skip_prologue): Refine check for frameless + functions. Handle b .+4 emitted by aix4 compilers. Only + allow one load of a minimal toc pointer. Handle aix4 compiler's + code for alloca. + + * rs6000-tdep.c (find_toc_address): Report an error if no toc was + found rather than possibly core dumping. + + * partial-stab.h: Handle extra field generated by the aix4 compiler + for enumerations. + * stabsread.c (read_enum_type): Likewise. + +Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * rs6000-tdep.c (extract_return_value): Fix returning of values + whose length is less than the register size for big endian targets. + +Fri Aug 11 13:04:32 1995 Kung Hsu + + * symtab.c (list_symbols): if break command set breakpoint on + matched symbol. + +Wed Aug 9 18:59:05 1995 Fred Fish + + * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in + #ifndefs to protect against previous definitions as macros. + +Wed Aug 9 14:51:36 1995 Kung Hsu + + * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change + that got in accidentally with Aug 1 change. + +Sat Aug 5 09:07:28 1995 steve chamberlain + + * remote-hms.c (hms_cmds): Get reg term right. + * monitor.c (monitor_fetch_register): If we see + a non-hex digit, just stop reading. + * remote.c (remote_wait): Change way $O is handled. + +Wed Aug 9 11:42:36 1995 Jeffrey A. Law + + * configure.in (powerpc-*-aix*): Recognize as a new gdb host + and target. + (powerpc-*-eabi*): Don't set configdirs. + (powerpcle-*-eabi*): Likewise. + * configure: Updated. + * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses + for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is + defined. + * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments + for powerpc running aix4. + * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target + and host include files for powerpc running aix4. + +Wed Aug 9 08:11:45 1995 Stan Shebs + + * top.c (target_output_hook): Really make it match defs.h (char * + is not the same as unsigned char *). + +Tue Aug 8 15:13:05 1995 J.T. Conklin + + * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc + unless it is present. + +Tue Aug 8 10:50:15 1995 Jeffrey A. Law + + * top.c (target_output_hook): Make declaration match the one + in defs.h. + + * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION. + (add_psymbol_addr_to_list): Likewise. + * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise. + +Mon Aug 7 15:34:29 1995 steve chamberlain + + * top.c (target_output_hook): New definition. + * stack.c (gdb_string.h): Include after defs.h + * defs.h (target_output_hook): New declaration. + * source.c (mod_path): Fix Win32 \ handling. + +Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer + out of a long branch stub. + +Fri Aug 4 13:37:31 1995 Jeffrey A. Law + + * xcoffread.c (process_linenos): Fix typo in last change. + +Thu Aug 3 22:01:26 1995 Fred Fish + + * ch-exp.y (write_lower_upper_value): Add prototype so bison + generated parser will insert prototype before first func usage. + Bison and byacc order the output sections differently. Also + make function static. + +Thu Aug 3 10:45:37 1995 Fred Fish + + * Update all FSF addresses except those in COPYING* files. + +Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field. + (SKIP_TRAMPOLINE_CODE): Define. + * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from + frame to find the saved pc register. + (alpha_saved_pc_after_call): Skip over shared library trampoline + before trying to find the saved pc register. + (find_proc_desc): Copy PROC_PC_REG from found proc_desc + to heuristic proc_desc. + (init_extra_frame_info): Initialize pc_reg field in frame. + +Wed Aug 2 18:00:36 1995 Stan Shebs + + * configure.in (m68*-est-*): Use monitor target config. + * configure: Update. + * config/m68k/est.mt, config/m68k/tm-est.h: Delete. + * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments. + +Tue Aug 1 22:52:53 1995 Fred Fish + + * Makefile.in (VERSION): Bump to 4.14.2 + +Tue Aug 1 16:04:36 1995 Kung Hsu + + * xcoffread.c (process_linenos): The value in include file symbol + should point to line number table. Currently this value is not + set correctly by AIX ld. A fix to get around this bug. + +Tue Aug 1 11:44:53 1995 J.T. Conklin + + * configure.in: Check for working mmap, ansi headers, string.h, + strings.h, and memory.h. + * configure: Regenerated. + + * gdb_stat.h: New file, "portable" . + * gdb_string.h: New file, "portable" . + + * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, + convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, + gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, + i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, + mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, + rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, + symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, + ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" + instead of . + + * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, + ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, + core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, + dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, + exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, + fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, + inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, + m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, + monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, + printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, + remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, + remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, + remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, + remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, + remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, + solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, + symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, + valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include + "gdb_string.h" instead of . +start-sanitize-gdbtk + * gdbtk.c: Likewise. +end-sanitize-gdbtk + + * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, + sparc/xm-sun4os4.h (HAVE_MMAP): Removed. + + * config/xm-lynx.h, config/i386/xm-ptx.h, + config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, + config/mips/xm-irix3.h, config/mips/xm-mips.h, + config/mips/xm-news-mips.h, config/mips/xm-riscos.h, + config/pa/hppah.h, config/rs6000/xm-rs6000.h, + config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, + config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, + config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. + * config/mips/xm-irix3.h, config/mips/xm-mips.h, + config/pa/xm-hppah.h (memcpy, memset): Removed declarations. + +Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tdep.c (mips_extract_return_value): Fix returning of + values whose length is less than the register size for big endian + targets. + * alpha-tdep.c (alpha_extract_return_value, + alpha_store_return_value): Use alpha_convert_register_to_* + to handle functions returning "float" correctly. + +Mon Jul 31 19:12:48 1995 Stan Shebs + + * h8500-tdep.c: General linting and cleanup. + (opcodes/h8500-opc.h): Don't include. + (code_size, data_size): Make static. + (frame_locals_address, frame_args_address): Remove. + (h8300_pop_frame): Rename to h8500_pop_frame. + (big_command, medium_command, compact_command, small_command): + Define as regular functions rather than with macro trickery. + (tm_print_insn): Set to correct disassembler function. + * config/h8500/tm-h8500.h: Minor cleanup, add prototypes. + (ABOUT_TO_RETURN): #if 0 out. + (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define. + (GDB_TARGET_IS_H8500): Remove duplicate definition. + (regoff): Remove, never used. + * config/h8500/h8500.mt (TDEPFILES): Add monitor.o. + +Mon Jul 31 14:32:30 1995 J.T. Conklin + + * configure.in: Check for unistd.h. + * configure: Regenerated. + + * command.c, cp-valprint.c, fork-child.c, i386-tdep.c, + i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c, + source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h + and/or unistd.h to bring prototypes into scope. + +Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller + before trying to determine the start of the function. + (skip_prologue): Skip subroutine call which might save the + floating point registers only if it is within the first three + instructions. + Reinstate setting of alloca_reg if setup of a gcc frame pointer + is found. + (frame_get_cache_fsr): Use new fields in rs6000_framedata. + +Sat Jul 29 14:43:35 1995 Stan Shebs + + * sparclite: Removed subdirectory. aload and eload are now in + utils/sparclite, low-level library is in libgloss. + * configure.in (sparclite*): Don't configure sparclite subdir. + * configure: Update. + * Makefile.in (TARDIRS): Remove, no longer used. + +Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * procfs.c (unconditionally_kill_inferior): Clear current signal + if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined. + * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define. + + * alpha-tdep.c: Move sigtramp handling of saved registers from + read_next_frame_reg to alpha_find_saved_regs, handle saved + floating point registers. + * mips-tdep.c: Move sigtramp handling of saved registers from + read_next_frame_reg to mips_find_saved_regs, handle saved + floating point registers. + * config/mips/tm-irix3.h, config/mips/tm-irix5.h, + config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define. + + * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp' + instruction to handle functions returning structures with + large sizes properly. + +Fri Jul 28 11:50:17 1995 steve chamberlain + + * configure, configure.in (z8k-*-sim): deleted. + +Thu Jul 27 12:49:28 1995 Jeffrey A. Law + + * lynx-nat.c (child_wait): Handle threads exiting. + +Thu Jul 27 07:47:50 1995 Michael Meissner + + * rs6000-tdep.c (skip_prologue): Don't assume the update stack + instruction is the last in the prologue, since xlc stores the lr + after the stack update. Make sure offset is correct sign for + large frames. + (frame_saved_pc): Move test for signal before frameless. + + * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define. + * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine. + +Thu Jul 27 01:22:08 1995 Jeffrey A. Law + + * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling + into shared libraries. + +Wed Jul 26 23:33:34 1995 Michael Meissner + + * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the + gprs, fprs, lr, and cr is stored at. + (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata. + (function_frame_info): Delete declaration. + (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata + structure to fill in. + (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a + second argument. + (FRAME_SAVED_PC): Call frame_saved_pc. + + * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well + as AIX style. Fill in rs6000_framedata structure. Remember where + the gprs, fprs, cr, and lr are saved. + (pop_frame): Use skip_prologue, not function_frame_info, and use + new rs6000_framedata fields. + (function_frame_info): Function deleted. + (frameless_function_invocation): Separate frame_saved_pc support + to new function. Recognize V.4 frames. + (frame_saved_pc): New function. + (frame_get_cache_fsr): Use skip_prologue, not function_frame_info. + (frame_initial_stack_address): Ditto. + +Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu) + + * remote.c: Add documentation for extended protocol operations + and for thread_alive change from a couple weeks ago. + (extended_remote_ops): Declare and define a new target vector + for the extended remote protocol. + (extended_remote_restart): New function to restart the remote + server & process. + (remote_open): Just a stub routine. + (extended_remote_open): New function to start a remote session + using the extended gdb remote protocol. + (remote_open_1): New function containing code common to both + remote_open and extended_remote_open. + (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly. + (extended_remote_create_inferior): New function for the extended + remote target. + (initialize_remote): Add the extended_remote_ops target vector. + * gdbserver/server.c (main, case '!'): Set extended_protocol. + (main, case 'k'): If the extended protocol is in use, kill the + inferior then start a new one. + (main, case 'R'): New command to restart the remote server and + inferior process. Only supported when using the extended + protocol. + (main, server loop): If the inferior terminates while using the + extended protocol then start a new one. If getpkt fails when + using the extended protocol then exit. + +Tue Jul 25 11:43:44 1995 Stan Shebs + + * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab + line numbers using the psymtab's section offsets. + +Tue Jul 25 10:43:27 1995 Michael Meissner + + * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from + aix_framedata. Change all uses. + * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata. + +Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu) + + * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined. + +Fri Jul 21 16:50:28 1995 Jeffrey A. Law + + * lynx-nat.c (child_thread_alive): New function. Somehow I + forgot to check this in with all the other thread_alive changes. + +Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu) + + * somread.c (som_symtab_read): Add unsatisfied common symbols to + the minimal symbol table. All common symbols are "unsatisfied" + when -E is passed to the linker. + +Thu Jul 20 15:04:57 1995 Fred Fish + + * top.c (show_endian): Cast first arg of printf_unfiltered to + correct type of "char *". + +Thu Jul 20 14:18:51 1995 Jeffrey A. Law + + * lynx-nat.c (child_wait): A thread_id of zero from wait apparently + means the process is single threaded, so there's no need to add + it to the thread list. Handle case where multi-threaded process + reverts back to a single-threaded process. + + * gdbserver/low-hppabsd.c: Remove error declaration. + * gdbserver/low-sparc.c: Likewise. + * gdbserver/low-sun3.c: Likewise. + * gdbserver/server.h: Remove error and fatal declaration. + * gdbserver/utils.c (error): Update to be compatable with recent + changes in defs.h. + (fatal): Likewise. + +Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to + correctly map floating point registers numbers. + + * dwarfread.c (locval, new_symbol): Handle variables that are + optimized out. + + * mdebugread.c: Replace all uses of builtin_type_* with + mdebug_type_*. Define and initialize mdebug_type_*. + + * serial.h (serial_close): Add additional argument `really_close'. + (SERIAL_CLOSE): Update serial_close call accordingly. + (SERIAL_UN_FDOPEN): Use serial_close to handle refcnt properly. + * serial.c (serial_close): Handle `really_close'. + * serial.h (scb_base): Moved to serial.c, made static. + + * valops.c (value_addr): Don't coerce arrays. + (typecmp): Coerce arrays instead of calling value_addr if necessary. + +Wed Jul 19 18:19:28 1995 Stan Shebs + + From Richard Earnshaw (rearnsha@armltd.co.uk): + * infrun.c (wait_for_inferior): Set the convenience variable + $_exitcode to the termination code of the inferior. + * top.c (quit_command): Accept optional expression to use + as parameter to exit(). + +Wed Jul 19 13:15:32 1995 Kung Hsu + + * remote.c (remote_wait): When getting registers, check endianess and + do conversion if necessary. + +Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu) + + * gdbserver/low-hppabsd.c: New file. + * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c. + * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o. + (GDBSERVER_DEPFILES): Add low-hppabsd.o. + * config/pa/hppaosf.mh: Likewise. + +Mon Jul 17 21:35:18 1995 Fred Fish + + * dache.c (struct dcache_block): Change data member from unsigned + char to char, since everything passed in and out of dcache is char + or casted to appropriate type anyway. + (dcache_alloc): Move assignment of db out of test and combine + separate tests into if-else. + (dcache_peek_byte): Change ptr from unsigned char* to char*. + (dcache_peek_byte): Remove now unnecessary cast in read_memory call. + (dcache_peek): Change cast of incoming data arg. + (dcache_poke): Change cast of addr of incoming data arg. + (dcache_info): Mask data passed to printf_filtered to lsbyte only. + (dcache_info): Change printf_filtered arg from "% 2x" to " %2x". + * target.c (debug_to_thread_alive): Change return type to int and + return zero, for type compatibility with other *_thread_alive + funcs. + (cleanup_target): Change cast of ignore function to match type of the + to_thread_alive member. + * defs.h (error_hook): Add ATTR_NORETURN. + * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to + __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug. + * remote.c (remote_wait): Cast first arg to strtol, strchr, and + strncmp to "const char *" from "unsigned char *". + (remote_wait): Cast arg to putpkt and strcpy from "unsigned char *" + to "char *". + (remote_wait): Change printf format for long arg from "%d" to "%ld". + (getpkt): Remove unused variable "bp". + (remote_fetch_word, remote_store_word): Ifdef out apparently unused + functions. + * breakpoint.c (watchpoint_check): Removed unused variables + "saved_level" and "saved_frame". + * valops.c (value_arg_coerce): Add other enum TYPE_CODE_* and + default cases to switch for completeness. + * infrun.c (wait_for_inferior): Enclose "have_waited" label + in #ifdef that matches the one in which it is referenced. + * ser-unix.c (hardwire_noflush_set_tty_state): Enclose otherwise + unused variable "state" in #ifdef that matches one in which it is + referenced. + * eval.c (evaluate_subexp_standard): Remove unused variable "var". + * eval.c (evaluate_subexp_standard): Remove unused variable + "tmp_symbol". + * valarith.c (value_subscript): Remove unused variable + "lowerbound", which is redeclared in a nested scope prior to use. + * printcmd.c (print_frame_nameless_args): Use "%ld" to print long + arg, not "%d". + * {mem-break.c, remote-pa.c, remote.c, saber.suppress}: + Remove unused static var "check_break_insn_size". + * buildsym.c (finish_block): Add other enum LOC_* and default + cases to switch for completeness. + ch-lang.c (type_lower_upper): Removed unused label "retry". + Add other enum TYPE_* and default cases to switch for completeness. + * f-typeprint.c (f_type_print_args): Ifdef out unused function + that may be used someday when Fortran support is complete. + * ch-valprint.c (chill_print_type_scalar): Add other enum + TYPE_* and default cases to switch for completeness. + (chill_val_print): Remove unused local var "high_bound" that + is redeclared in a nested scope prior to use. + (chill_var_print): Use "%ld" to print long arg, not "%d". + * regex.c (re_compile_fastmap, re_match_2): Add remaining enum + types and default to switches for completeness. + * minsyms.c (lookup_minimal_symbol_text): Delete unused variable + "trampoline_symbol". + (prim_record_minimal_symbol_and_info): Return NULL rather than + trash. + * elfread.c (elf_symtab_read): Don't dereference NULL returns from + record_minimal_symbol_and_info. + * f-lang.c (saved_function_list_end): Ifdef out unused variable + that may be used someday. + * f-valprint.c (f_val_print): Remove unused local "straddr". + +Mon Jul 17 13:08:00 1995 Ian Lance Taylor + + * stabsread.h (struct stab_section_list): Define. + (coffstab_build_psymtabs): Remove staboff and stabsize parameters. + Add textaddr, textsize, and stabs parameters. + * gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field. + Add text_addr and text_size fields. + (DBX_TEXT_SECT): Don't define. + (DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define. + * coffread.c: Include . + (struct coff_symfile_info): Remove stabsect and stabindexsect + fields. Add textaddr, textsize, and stabsects fields. + (coff_locate_sections): Record the address of the .text section, + and total the sizes of all sections with names beginning with + ".text". Don't bother to record a .stab.index section (COFF + doesn't use them). Make a linked list of all sections with names + beginning with ".stab". + (coff_symfile_read): Adjust call to coffstab_build_psymtabs for + new parameters. + * dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and + DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT. + (dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not + DBX_TEXT_SECT. + (elfstab_build_psymtabs): Likewise. + (stabsect_build_psymtabs): Likewise. + (symbuf_sections, symbuf_left, symbuf_read): New static variables. + (fill_symbuf): If symbuf_sections is not NULL, read symbols from + multiple sections. + (coffstab_build_psymtabs): Remove staboffset and stabsize + parameters. Add textaddr, textsize, and stabsects parameters. + Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT. Handle + multiple stabs sections. + * os9kread.c (os9k_symfile_read): Use DBX_TEXT_ADDR and + DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT. + (os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not + DBX_TEXT_SECT. + + * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive + field. + +Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files + for OSF/1-3.x procfs support. + * configure.in (alpha-dec-osf): Use them when configuring + for OSF/1-3.x. + * configure: Updated. + * target.c: Include . + +Fri Jul 14 16:16:56 1995 J.T. Conklin + + * Makefile.in, configure.in: Use one variable, frags, to hold + pathnames of makefile fragments. + * configure: regenerated. + +Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu) + + * procfs.c (procfs_ops): Fix typo in last change. + +Thu Jul 13 13:42:38 1995 Jeffrey A. Law + + * 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 + + * 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 + + * elfread.c (elf_symtab_read): Fix a bug ignoring compiler + generated internal labels ($LM...). + +Wed Jul 5 11:38:36 1995 Kung Hsu + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * remote-nindy (nindy_load): Put in target specific load, it's + 20 times faster. + +Thu Jun 22 20:21:59 1995 Stan Shebs + + * 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 + + * 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 * monitor.c: Turn on caching.