X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/f31e2e7a1e7c5519694bb736b9ca752aca5ad35f..0e18483336d60bcc644a2fcd9365d7981d42a170:/gdb/ChangeLog diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7977a6dce2..408f1c1dd1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,658 @@ +Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section): + ifdef protect using BAD_RICH_HACK. This should be removed soon. + * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define. + +Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a. + + * core.c (dis_asm_print_address): New function. + + * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype + has been fixed. + +Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the + entire breakpoint chain and print only the first entry that needs to + be printed and needs to be stopped for. Fixes problems with printing + of multiple breakpoints with different conditions. + * breakpoint.c (print_it_done): Renamed from print_it_noop as it + effectively stops printing of the breakpoint chain. + * breakpoint.c (print_it_noop): New routine to print nothing + for this breakpoint entry and dont stop printing. + * breakpoint.c (breakpoint_re_set_one): mention the reevaluated + watchpoint only if it is enabled. + * mipsread.c (parse_procedure): Correct incorrect setjmp procedure + descriptor from the library to make backtraces through setjmp work. + * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for + sigtramp. + * mips-tdep.c (read_next_frame_reg): Provide correct values for + all registers saved within sigtramp, cleanup. + +Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a. + +Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * core.c (dis_asm_read_memory): drop fourth arg which conflicts + with prototype in ../include/dis-asm.h. + +Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * core.c (dis_asm_{read_memory,memory_error}): New functions. + m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c: + Use read_memory_func interface to disassembler. + +Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + Teach sparc solaris to next over shared library functions. + * solib.[hc] (find_pc_section_from_so_list): new function and + prototype. + * sparc-tdep.c (in_solib_trampoline): new function. + * symfile.[hc] (find_pc_section): new function and prototypes. + * target.[hc] (find_pc_section_from_targets): new function and + prototypes. + * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to + in_solib_trampoline. + +Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com) + + * infrun.c (wait_for_inferior): Revise comment. + + * command.c (do_setshow_command): Use %u with var_{u,z}integer. + + * command.{c,h}: New var_type var_integer. + main.c: Use it for history_size. + + * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c: + Lint and byte-order fixups. + + * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint. + + * breakpoint.h (bpstat): New field print_it. + breakpoint.c (bpstat_print): Use it. + (print_it_normal): New function (from old bpstat_print code). + (bpstat_{alloc,stop_status}): Set print_it field. + + * breakpoint.c (bpstat_stop_status): Use catch_errors when + evaluating watchpoint condition, via new function watchpoint_check. + Also stop if watchpoint disabled due to leaving its block. + + * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment. + +Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-pinsn.c: Add missing include of dis-asm.h. + +Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (clean, distclean, realclean): Recursively apply + to subdirs first, rather than last. This avoids, for example, + Makefile being removed in a parent directory before the recursive + make is run. + + * alldeps.mak, depend: Update for below changes. + + * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h. + * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h, + tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h, + tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h + instead of tm-68k.h. + * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h. + * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c, + m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h, + nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'. + * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of + tm-68k.h to tm-m68k.h. + * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h. + * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to + tm-m68k-nofp.h. + + * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h. + * a29k-pinsn.c: Renamed from am29k-pinsn.c. + * a29k-tdep.c: Renamed from am29k-tdep.c. + * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h. + * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h, + tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi, + testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp: + Map '29k' to 'a29k'. + * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt} + (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o. + * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed + tm-a29k.h. + * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K + define that does not appear anywhere else in the gdb source tree. + * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h. + +Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com) + + * breakpoint.c: Add comments regarding breakpoint_re_set. + + * xcoffread.c (sort_syms, compare_symbols): Remove. + (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c + not our own sort_syms (it is identical). + + * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used). + +Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * breakpoint.c (breakpoint_re_set_one): Fix storage leak. + * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it + went out of scope. + * exec.c (exec_close): Fix storage leak. + * exec.c (exec_file_command): Make sure that bfd doesn't realign the + output sections when patching an executable. + * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR + when writing all registers. + * mips-tdep.c (mips_push_dummy_frame): Save floating point registers + at the right offset in the dummy frame. + * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc, + stStaticProc and stEnd symbols as they are generated by gcc-2.x. + * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym. + +Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com) + + * Makefile.in (TARFILES): Avoid trailing backslash. + +Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com) + + * breakpoint.{c,h}: Add exp_string to struct breakpoint and use + it in breakpoint_re_set. + * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values. + + * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int, + don't use sizeof(int) for target stuff, etc). + +Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com) + + * alldeps.mak, configure.in, i860-break.h, i860-opcode.h, + i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860 + support that can't be integrated anyway due to lack of clear + authorship. + +Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com) + + * findvar.c (read_register, write_register): Make these capable + of reading/writing registers that are shorter than REGISTER_TYPE. + * (value_from_register): Install H8500 specific code to return + proper value when register is being used as a pointer. + * h8500-tdep.c: Remove extra defines of NUM_REGS. + (h8500_skip_prologue): Use correct lengths for LINK instructions. + (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to + chain frames properly by combining frame pointer with T reg. + (init_extra_frame_info): Delete. It's now a macro. + (frame_args_address): Don't add PTR_SIZE. Stack args are already + offset by the correct amount off of the frame pointer. + (register_byte): Delete. It's now a macro. + (register_raw_size, register_virtual_size): Delete. Replaced by + common routine h8500_register_size, cuz there's no difference + between the raw & virtual sizes on this machine. + (register_convert_to_raw, register_convert_to_virtual): Delete, + cuz there's no difference between the raw & virtual forms. + Replaced by memcpy in tm file. + (register_virtual_type): Rename to h8500_register_virtual_type. + Get rid of pointer pseudo-regs, use _REGNUM with all reg names. + (_initialize_h8500_tdep): Get rid of crock to ensure that GDB & + emulator have same reg offsets. This is all handled in the + simulator code now. + (h8500_trapped_internalvar): New routine to detect references to + convenience vars acting as pointer pseudo-regs. + (h8500_value_trapped_internalvar): Conjure up value of pointer + pseudo-regs. + (h8500_set_trapped_internalvar): Convert set value in real + register references. + infcmd.c (read_pc, write_pc): Add h8500 specific code to handle + code segment register. + infrun.c (proceed): Simplify. Call write_pc instead of doing it + by hand. + (wait_for_inferior): Add h8500 specific code to add stack segment + when reading SP register. + remote-sim.c (fetch_register): Spacing. + tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to + detect cruft. Redo all register manipulation stuff. Get rid of + pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment + to frame pointer. (IS_TRAPPED_INTERNALVAL, + VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these + to create internal vars for pointer pseudo-regs. + +Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in: Numerous small changes to macro definitions + and rules for building gdb distribution tree. Many macros + eliminated or merged, and rules simplified. + * alldeps.mak: Update. + * depend: Update. + +Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) + + * Makefile.in: recurse through SUBDIRS for dvi target too + +Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com) + + * Clean up xcoff relocation. + objfiles.h (struct objfiles): Add section_offsets, num_sections. + symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets): + Set them. + symtab.h (struct general_symbol_info): Add section field. + minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it. + xcoffread.c: Set section for symbols and msymbols. + (struct symtab): Add block_line_section field. + buildsym.c (end_symtab): Set it. + (end_symtab and callers): Add section parameter. + objfiles.c (objfile_relocate): New funciton. + xcoffexec.c (vmap_symtab): Use it. + xcoffsolib.h (struct vmap): Remove unused fields. + config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove + CORE_NEEDS_RELOCATION, symtab_relocated. + config/rs6000/tm-rs6000.h: Remove use of loadinfotext. + rs6000-tdep.c: Make loadinfotext static. + breakpoint.c (fixup_breakpoints): Doc fix. + symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c + (end_symtab): primary field replaces nonreloc. + +Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com) + + * symtab.h (struct linetable_entry): Remove confusing comment. + +Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: add installcheck target + +Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com) + + * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k, + m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax, + z8k}: New directories to hold cpu specific configuration files. + Naming follows gcc convention. + * config/{*.mt, *.mh}: All target and host makefile fragment + config files moved to an appropriate config/ subdirectory. + * nm-*, xm-*, tm-*: All native, host, and target files, which + get linked to nm.h, xm.h, and tm.h respectively by configure, + moved to appropriate config/ subdirectory. + * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h: + Native, host, and target files that are common across more than + one cpu architecture and included by one of the configured + native, host, or target files, get moved to config directory. + * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to + pick up native, host, or target include files moved to one of + the config subdirectories, and that are included by other files. + * Makefile.in (alldeps.mak): Modify to account for new config + directory structure. + * alldeps.mak, depend: Update for new config directory structure. + * config/*/[ntx]m-*.h: Modify all files that include other + [ntx]m-*.h files to use path relative to gdb/config. I.E. + "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just + "tm-29k.h". + * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h. + * mipsread.c (tm-mips.h): Include mips/tm-mips.h. + * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h. + * configure.in: Default gdb_host_cpu to host_cpu, and remap + the ones where the default is not unique or different than the + config subdirectory name. Similarly, handle gdb_target_cpu. + Modify configure.in as appropriate to make use of gdb_host_cpu + and gdb_target_cpu to find makefile fragments and make links. + +Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com) + + * mipsread.c (compare_blocks): Sort blocks with the same start + address by decreasing ending address. + +Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mipsread.c (parse_procedure): Save cur_fdr accross call to + lookup_symbol as it might get clobbered by the call. + + * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST. + The previous code did not initialize the language field for the psymtab + entry. + +Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com) + + * c-exp.y (parse_number): Avoid shift warning. + * serial.h (struct ttystate): Declare empty one on DOS. + +Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com) + + * xm-sun4os4.h: Return type of free() should be void, not int. + + * vx-share/vxWorks.h: Remove #def of NULL. + +Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com) + + * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM. + +Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com) + + * z8k-tdep.c (print_insn): Include the new dis-asm header file. + +Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com) + + * ieee-float.c: Moved to ../libiberty. + * ieee-float.h: Moved to ../include. + * Makefile.in: Update accordingly. + * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn): + Convert to stubs that call disassemblers in ../opcodes/*-dis.c. + * m68k-tdep.c: Removed definition of ext_format ext_format_68881; + it is now in ../opcodes/m68881-ext.c. + * mips-tdep.c (mips_skip_prologue): Try to skip more of the + prologue (some callers _do_ care). + * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to + new interface of ../opcodes/*-dis.c. + * ch-exp.y: Add #include . + +Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffexec.c (exec_close): Don't close exec_bfd twice. + + * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive. + +Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc. + +Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-tdep.c (extract_return_value, write_return_value, + store_struct_return): New functions from macros in tm-z8k.h. + +Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com) + + * valops.c (value_arg_coerce): Apply temporary patch to + fix problem with coercion of array and function types when + passed as arguments to C functions, pending a more complete + review of when and how coercion should be done, depending + upon context and language. + +Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffread.c (MIN_TBTABSIZ): Change to 12. + + * xcoffread.c (xcoff_symfile_read): Only read stringtab and + debugsec if there are a non-zero number of symbols. + +Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com) + + * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!). + +Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors. + + * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf, + not just 50 symbols. + (symtbl_num_syms): New variable. + (read_xcoff_symtab): Set it. + (read_symbol_nvalue): Check for bad symno. + (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's + always symtbl. + +Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com) + + * config/rs6000.mh: Get rid of -Dfd_set=int crock. + This is defined in defs.h if necessary. + * vx-share/vxWorks.h: Remove #defs of min and max. + * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c, + vx-share/xdr_rdb.c: include defs.h. + +Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffread.c (retrieve_tracebackinfo): Move assignment out + of while condition. + + * xcoffread.c (enter_line_range): complain() on bad endoffset. + xcoffread.c: Doc fixes. + +Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com) + + * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core. + xcoffexec.c (xcoff_relocate_core): New function. + (text_adjustment): Removed. + (add_vmap): Return the vmap. + rs6000-tdep.c (add_text_to_loadinfo): No longer static. + +Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffsolib.h: Add objfile member to struct vmap. + xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd. + xcoffexec.c (add_vmap): Allocate objfiles here. + +Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com) + + Support 68000 series without floating point. + + * configure.in (m68000-*-{aout,elf,coff}): New configs. + * tm-68k-nofp.h: New file, lacks 68881 support. + * config/m68k-nofp.mt: New file. + +Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com) + + Remove a few remaining underscore/no-underscore remnants from + config files. + + * config/{m68k-un.mt, sparc-un.mt}: Remove. + * config/m68k-noun.mt: Rename to m68k-fp.mt. + * config/sparc-noun.mt: Rename to sparc-em.mt. + * tm-68k-noun.h, tm-spc-noun.h: Remove. + * tm-68k-un.h: Rename to tm-68k-fp.h. + * tm-spc-un.h: Rename to tm-spc-em.h. + * tm-sun4sol2.h: Cleanup. + * configure.in (m68k-*, sparc-* targets): Corresponding changes. + +Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com) + + * symmisc.c (std_in, std_out, std_err): Move initializations + to runtime code, in case they aren't constant. + +Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com) + + * symtab.c (find_pc_symtab): some object file formats, notably + mips, have holes in the address ranges of symtabs. Change + this algorythm from first hit to tightest fit. + + * mips-tdep.c (heuristic_proc_start): if we walk the pc into the + fence post without finding the enclosing function, then print a + warning. + +Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com) + + * utils.c (fputs_demangled, fprint_symbol): Remove. + * utils.c (fprintf_symbol_filtered): New function which combines + the functionality of fputs_demangled and fprint_symbol. Uses a + caller provided language parameter to select the appropriate + demangler, and caller provided args to pass to the demangler. + * defs.h (enum language): Move further up in file so enum can + be used in prototypes. + * defs.h (fputs_demangled, fprint_symbol): Remove prototypes. + * defs.h (fprintf_symbol_filtered): Add prototype. + * c-typeprint.c (cp_type_print_method_args): Replace calls to + fputs_demangled with call to fprintf_symbol_filtered. + * cp-valprint.c (demangle.h): Include + * cp-valprint.c (cp_print_value_fields): Replace calls to + fprint_symbol with calls to fprintf_symbol_filtered. + * printcmd.c (print_frame_args): Replace call to fprint_symbol + with call to fprintf_symbol_filtered. + * stack.c (print_frame_info): Remove obsolete code so we don't + have to update fputs_demangled usage in it. + * stack.c (print_frame_info, frame_info): Add language variable + to pass to fprintf_symbol_demangled and initialize it from the + symbol's language. Replace calls to fputs_demangled with calls + to fprintf_symbol_filtered. + * symtab.c (find_methods): Replace call to fputs_demangled with + call to fprintf_symbol_filtered. + **** start-sanitize-chill **** + * ch-valprint.c (demangle.h): Include. + * ch-valprint.c (chill_print_value_fields): Replace call to + fprint_symbol with call to new fprintf_symbol_filtered. + **** end-sanitize-chill **** + +Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (VERSION): Bump version to 4.8.2. + + * main.c (source_command): Require an explicit pathname of file + to source, since previous behavior of defaulting to gdb init file + was troublesome and undocumented. + * printcmd.c (disassemble_command): Add missing '{}' pair to + else with two statements. Bug reported by Stephane Tsacas + . + * symtab.c (find_pc_line): Don't complain about zero length or + negative length line numbers for the moment, since we may not own + the terminal when called, such as when single stepping. (FIXME) + * language.h (CAST_IS_CONVERSION): True if current language is + C++ as well as C. Fix from Peter Schauer. + * environ.c (get_in_environ, set_in_environ, unset_in_environ): + Use STREQN macro rather than bare '!strncmp()'. + * environ.c (unset_in_environ): Avoid use of memcpy on + overlapping memory regions, as suggested by Paul Eggert + . + * c-exp.y (%union struct): Remove unused ulval as suggested + by Paul Eggert . + +Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com) + + * main.c (gdbinit): Make static. + * main.c (inhibit_gdbinit): Move to file scope. + * main.c (main): Remove local inhibit_gdbinit. + * main.c (source_command): Don't source '.gdbinit' file by + default if gdb has been told to ignore it. + +Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make + 3.63. + +Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * printcmd.c (print_address_symbolic): Only print if offset + is shorter than max_symbolic_offset. + (initialize_printcmd): `set print max-symbolic-offset'. + + * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define. + (examine_tag): Use it. + (read_register_stack): Only look in the local registers for a + memory address if it's between rfb and rsp; go to memory otherwise. + (initialize_29k): Fix call_scratch_address doc. Remove reginv_com. + (reginv_com): Remove ancient kludge command. + +Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that + irix4 will again compile. + + * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed. + + * configure.in: accept mips-sgi-irix4* for irix4. + +Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com) + + * z8k-tdep.c (print_register_hook): Lint. + +Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com) + + Lint fixes from Paul Eggert (eggert@twinsun.com): + + * command.c (do_setshow_command): var_uintegers are unsigned. + * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes): + unsigned, since they use hex values with the high bit set. + +Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com) + + Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com): + * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to + access symbol name. + * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose + macro definitions in parenthesis. + + * dbxread.c (dbx_symfile_init): Catch the case where there is + no string table, but the only way we find out is by reading zero + bytes from EOF. + +Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com) + + * dbxread.c (dbx_symfile_init): Make size of the string table + size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the + offset to the string table is nonzero and handle the nonexistant + string table case, should it occur. Ensure that the string table + size read from the file is reasonable, with a minimum lower bound + of DBX_STRINGTAB_SIZE_SIZE instead of zero. + +Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: Changes to build testsuite correctly. + (FLAGS_TO_PASS): Added CXX and CXXFLAGS. + (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables. + (TARGET_FLAGS_TO_PASS): New variable. + (SUBDIRS): Added testsuite. + (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that + testsuite is compiled with CC_FOR_TARGET rather than CC. + +Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com) + + * dbxread.c (dbx_symfile_init): Fix for nonexistant string table, + reported by mycroft@gnu.ai.mit.edu. + + (Ultrix 2.2 support from Michael Rendell ) + * configure.in (vax-*-ultrix2*): New triplet. + * config/vaxult2.mh: New file. + * xm-vaxult2.h: New file. + + * c-exp.y (parse_number): Change high_bit to unsigned. + * demangle.c: Change all references to cfront to ARM, since the + actual algorithm is the one specified in the Annotated Reference + Manual. This was confusing users into thinking that full cfront + support was implemented. + * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. + * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type + directly to lookup_struct_elt_type, which will do the + dereferencing itself. + * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix + NULL dereferencing bug for unnamed structs, comment out + questionable code. + +Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com) + + * coffread.c (process_coff_symbol): Change PCC argument correction + so that it only happens on big-endian targets; so that it only + happens if the short or char argument is aligned on an int + boundary; and so that it changes the location, rather than the + type, of the argument. These changes tend to parallel similar + (old) changes in stabsread.c. + + * coffread.c (coff_read_enum_type): Use the specified size for + enums, don't assume that they are int-sized. + + * c-valprint.c (c_val_print): Don't assume enums are the same as + ints. + + * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael + Rendell, . + +Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com) + + * language.h (local_decimal_format_custom): Add prototype. + * language.c (local_decimal_format_custom): Add function, bug + reported by Robert R. Henry (rrh@tera.com). + +Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported + by Josef Leherbauer, joe@takeFive.co.at. + +Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h, + tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h, + tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h, + tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h, + tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h, + tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h, + tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h, + tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE. + Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com) * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents @@ -1319,8 +1974,7 @@ Thu Dec 17 00:44:57 1992 John Gilmore (gnu@cygnus.com) * solib.c: Replace NAMES_HAVE_UNDERSCORE. * stabsread.h: Remove NAMES_HAVE_UNDERSCORE and HASH_OFFSET. * symfile.c (syms_from_objfile): Insert debugging check to test - NAMES_HAVE_UNDERSCORE setting against the BFD support. FIXME, - remove this (and all tm-*.h NAMES_HAVE_UNDERSCORE) soon. + NAMES_HAVE_UNDERSCORE setting against the BFD support. * doc/gdbint.texinfo (Host Conditionals): Remove NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document @@ -3364,7 +4018,7 @@ Wed Sep 2 00:10:43 1992 John Gilmore (gnu@cygnus.com) * tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New target definitions for embedded with and without underlines on - identifiers. FIXME -- this ought to be known by BFD instead. + identifiers. * tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE: not a parameter of the CPU, but of the development environment.