X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=50503bfc3d3a738b44dfa15d4a5c7e16df6f2fb6;hb=c20c1bdf992a90db69c4abb73594b2ff58154ef6;hp=f5b375c9927f625cc35a1a83511da3a2b63e39c0;hpb=895efe6b576d919cb593ed68ad8dc88b2c921b2a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5b375c992..50503bfc3d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,483 @@ +Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * remote.c, remote-mon.c, remote-utils.c, remote-utils.h, + target.h, remote-es.c, remote-nindy.c: Don't set baud rate if + baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; + just use the global variable itself. When printing baud rate, + don't print a baud rate if baud_rate is -1. + + * coffread.c (read_coff_symtab): Pass mst_file_* to + record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT + symbols in the minimal symbols regardless of SDB_TYPE. + +Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * breakpoint.h (enum bptype): New type bp_through_sigtramp. + (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. + * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP + if we hit a bp_through_sigtramp breakpoint. Remove kludge which + ignored bs->stop for a bp_step_resume breakpoint. + * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint + which performs one (the check_sigtramp2 one) of the functions + which had been handled by the step_resume_breakpoint. For each + use of the step_resume_breakpoint, make it still use the + step_resume_breakpoint, use the through_sigtramp_breakpoint, or + operate on both. + Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. + When setting the frame address of the step resume breakpoint, set + it to the address for frame *before* the call instruction is + executed, not after. + + * mips-tdep.c (mips_print_register): Print integers using + print_scalar_formatted rather than duplicating all the + CC_HAS_LONG_LONG and so on. + (mips_push_dummy_frame): Use read_register_gen rather than using + read_register and then putting it back in target format with + store_unsigned_integer. If registers are more than 4 bytes, give + an error rather than have some registers overwrite other + registers. + #if 0 unused include of opcode/mips.h. + + * symfile.h: Don't declare arguments for coff_getfilename. + + * defs.h: Revert Kung change regarding FORCE_LONG_LONG. + +Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * configure.in (hppa*-*-osf*): New configuration. + * config/pa/hppaosf.mt: New target makefile fragment. + * config/pa/tm-hppao.h: New target include file. + +Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * exec.c (print_section_info): Print entry point for exec_bfd only. + * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case. + * dwarfread.c: Remove second inclusion of , which + causes problems if has no multiple inclusion protection. + +Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com) + + * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of + the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1. + (CALL_DUMMY_LENGTH): Changed accordingly. + +Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com) + + * sparc-stub.c (trap_low): Make trap handler work for arbitrary + numbers of register windows. + + * sparclite/hello.c: Add factorial function for testing. + * salib.c: Use macros instead of constants for I/O addresses to + make 931 support easier. + * sparclite.h: Change constraint for LOC to "rJ" to force use of + register in sta/lda instructions. + +Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) + + * dbxread.c (process_one_symbol): Set + block_address_function_relative for COFF like we do for ELF and SOM. + +Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mdebugread.c (new_psymtab): Pass in section_offsets and set + them in the pst. + * mdebugread.c (handle_psymbol_enumerators): New function to enter + the enumerators of an ecoff enum into the partial symbol table. + * mdebugread.c (parse_partial_symbols): Call it. + * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next. + * symmisc.c (dump_psymtab): Fix typo, clean up output of section + offsets. Cast psymtab->read_symtab to PTR before passing it to + gdb_print_address. + * i386-tdep.c (i386_skip_prologue): Skip over instructions that + set up the global offset table pointer in pic compiled code. + * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets, + error() on TYPE_CODE_FLT arguments whose size is greater than 8, + swap all other TYPE_CODE_FLT arguments as mips_push_arguments + ensures that floats are promoted to doubles before they are pushed + on the stack. + +Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com) + + * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h: + Fixup cache_on and flush_i_cache so that they work for both the + 930 and 932 processors. Rewrite most low level funcs (uart + access & cache stuff) to use new ASI access macros in sparclite.h. + Also make it easy to access second serial port. + +Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * hp300ux-nat.c: Don't incloude , , or + ; not needed. + +Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stack.c (print_frame_info): In "pathological" case, don't + distrust the line number information. + +Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com) + + * mips-tdep.c (mips_print_register): handle 64 bits register. + * valprint.c (print_longest): fix a bug in printing 64 bits value. + +Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Version 4.12.2. + + * Makefile.in (install): Do the sed for program_transform_name + ourselves instead of worrying about INSTALL_XFORM. This enables + users to override INSTALL_PROGRAM in the standard way. + + * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't + depend on Makefile.in. + + * defs.h, valprint.c: Make longest_to_int a function not a macro. + Only test against INT_MIN if a LONGEST is bigger than an int. + + * README: Change GhostScript to Ghostscript. + +Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com) + + * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}: + Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14 + character file names. + * Makefile.in (ALLPARAM): Add these files. + + * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14 + character file names. + * Makefile.in: Add Kung's new mips64 files. + +Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com) + + * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf, + mips64el-*-ecoff and mips64-big-*. + * defs.h: get rid of FORCE_LONG_LONG. + * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction + parsing. Change register size to be MIPS_REGSIZE. + +Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c, + osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c, + xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names. + +Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) + + * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust. + (remove_commands, add_commands): Add/remove hms-drain when target + is connected. + +Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com) + + * configure.in: Add Lynx/rs6000 support. + * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error + messages. Add rs6000 support. Don't try to modify unwritable + registers. + * rs6000-nat.c: Move lots of native dependent stuff (like core + file support) from rs6000-tdep.c & xcoffexec.c to here. + * rs6000-tdep.c: Move native dependent stuff to nat.c. + * xcoffexec.c: Move native dependent stuff to nat.c. + * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here + from tm file. + * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're + really native. + * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h: + New files to support Lynx/rs6000. + +Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * README: Remove note about gcc warnings on alpha, these should be + gone now. + * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, + m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c + remote-utils.c, stabsread.c: Include . + * regex.c: Include "defs.h", change re_comp argument to const char *. + * infptrace.c (fetch_register, store_inferior_registers): Change + regaddr to type CORE_ADDR. + * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): + Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR. + +Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * symtab.h: Always define BYTE_BITFIELD to nothing. + +Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used. + * configure.in: Remove comment about m68k-em.mt. + * Makefile.in: Remove references. + +Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent + BFD_HOST_64_TYPE. + +Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * target.c (target_preopen): If target_kill doesn't remove the + target from the stack, use pop_target to do it. + + * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name + of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar + changes to stabsread.c from summer 1993. + + * remote-udi.c (udi_files_info): If prog_name is NULL, just skip + printing the program, rather than passing NULL to printf. + (udi_detach): Set udi_session_id to -1 so that udi_close doesn't + try to call UDIDisconnect again. Print better message. + (udi_kill): Just call UDIDisconnect ourselves, rather than doing + it via udi_close. + (udi_create_inferior): If udi_session_id is negative, open a new + TIP rather than giving an error. + + * config/mips/mipsm3.mh, config/i386/i386m3.mh, + config/ns32k/ns32km3.mh: Define NAT_FILE. + * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H + (it was inconsistent and namespace-wrong) to NM_M3_H. + * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. + (m3_open): New function. + (m3_ops): Use it. + * TODO: Update Mach section. + + * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver. + +Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * printcmd.c (printf_command): Add missing single-letter + backslash-escape sequences, and improve error message. + +Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * corelow.c (solib_add_stub, core_open): Pass address of from_tty + rather than trying to shove an int into a pointer and back out + again. This avoids compiler warnings. + + * defs.h (alloca): Declare as void *, not char *, on hpux. + Don't prototype it, just declare the return type. + +Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/i386/tm-sun386.h, config/i386/tm-symmetry.h + (REGISTER_CONVERT_TO_RAW): Add missing backslash. + +Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or + ZERO_REGNUM, just read it as zero without talking to the board. + + * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing + backslash. + * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type) + to store_floating, not nonexistent variable len. + + * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): + New functions. + (mips_store_word): Change calling convention to return errors, and + to provide old contents if the caller wants it. + (mips_xfer_memory): Deal with errors from mips_store_word. + * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT + define now that remote-mips.c doesn't use BREAKPOINT. + + * remote-mips.c (mips_create_inferior): Call warning if arguments + specified, and then execute "set args" command. Call error, not + mips_error, if executable file not specified. + + * remote-e7000.c: Replace "snoop" command (e7000_noecho) with + remote_debug. + + * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast + to unsigned int. + +Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * value.h (print_longest): Rename "value" to "val" in prototype + declaration because some compilers don't like arguments whose + names are the same as types. + * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char * + before passing it to remote_*_bytes. + +Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com) + + * h8500-tdep.c (saved_pc_after_call): The size of the + pc is memory model dependent. (segmented_command, + unsegmented_command, _initialize_h8500_tdep): New commands to + change memory model. + * remote-e7000.c (_initialize_remote_e7000): Change name of snoop + command. + * remote-hms.c (hms_load): Remove breakpoints when loaded. + (hms_wait): Use new status structure + (hms_open): Push the target here. (hms_before_main_loop): Not + here. (supply_val, hms_fetch_register, hms_store_register): Cope + with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE. + * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print + all registers in a compact way. + +Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address + as CORE_ADDR to match definition in rs6000-tdep.c. + +Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs. + * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate + definitions into the psymtab. + +Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide + a special exceptionSize for the 68332. + + * remote-udi.c (udi_attach): If no arguments, print error. + +Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com) + + * Makefile.in (VERSION): Bump to 4.12.1 + * NEWS, README: Update to match 4.12 release. + +Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * command.c (empty_sfunc): New function. + (add_set_cmd): Use it instead of not_just_help_class_command. + (not_just_help_class_command): Change calling convention back to + what it was before yesterday's change. + + * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end + of the type if present. + +Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * printcmd.c (decode_format): Don't blithely set the size for + an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. + + * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. + If BFD64, make a LONGEST a BFD_HOST_64_BIT. + * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead + always just check against INT_MIN and INT_MAX (this also fixes things + if sizeof (long) > sizeof (int), e.g. Alpha). + * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: + Don't define LONGEST or BUILTIN_TYPE_LONGEST. + * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and + BUILTIN_TYPE_UNSIGNED_LONGEST. + * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove + longest_int and longest_unsigned_int. + * value.h (struct value): Just align to LONGEST, rather than worrying + about CC_HAS_LONG_LONG. + * valarith.c (value_binop): Figure out type ourself based on + sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The + point is that we don't depend on CC_HAS_LONG_LONG anymore. + * valprint.c (val_print_type_code_int): Just call + extract_unsigned_integer directly, rather than going through + unpack_long. + * printcmd.c (decode_format): Remove code which would sometimes + change 'g' size to 'w' for integers. print_scalar_formatted handles + printing huge integers well enough, thank you. + + * command.c (add_set_cmd, not_just_help_class_command): Change + to make this the sfunc, not cfunc, since that is how we call it. + * command.h: Comment difference between sfunc and cfunc. + * demangle.c (set_demangling_command): Add third arg since that + is how it is called. + (_initialize_demangler): Use sfunc, not cfunc, for + set_demangling_command, since that is how it is called. + Remove show_demangling_command; it has no effect. + + * command.c (shell_escape): Report errors correctly (with error + message from strerror). + +Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use + x_scnlen.l rather than x_scnlen to match corresponding change in + coff/internal.h. + +Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbtypes.h, ch-typeprint.c, ch-valprint.c: + Change comments regarding TYPE_CODE_BOOL. + * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL, + regardless of the language. + (value_true): Just call value_logical_not regardless of language. + * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type): + Remove #if 0'd code which makes some enums TYPE_CODE_BOOL. + * language.h: Improve comment for la_builtin_type_vector. + * m2-lang.c (_initialize_m2_language): Don't add any fields to + builtin_type_m2_bool. + +Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com) + + * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c: + Define IN_SIGTRAMP and backtrace correctly through signal handlers. + +Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl + by restarting the ioctl. + +Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * target.h (target_wait): Add comment about calling + return_to_top_level. + +Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes + additional arguments. + * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise. + +Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com) + + * sparc-stub.c: Remove unnecessary #include of memory.h. + +Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * mips-tdep.c: Remove code which sets saved_regs from + init_extra_frame_info and put it in new function mips_find_saved_regs. + (READ_FRAME_REG): Remove macro and replace uses with the expansion. + * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs, + check if it is NULL and call mips_find_saved_regs if so. + + * remote-mips.c: Use unfiltered, not filtered, output most places. + + * blockframe.c (get_prev_frame_info): Detect and stop an infinite + backtrace. Revise comments. + +Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mdebugread.c (parse_procedure): Remove _sigtramp kludges for + alpha and irix. The _sigtramp case has to be handled properly + in the tdep files if we have no ecoff debugging info. + * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain), + mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames + without PC_REGNUM kludge. + * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg): + Clean up handling of mips sigtramp frames, improve comments. + +Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * paread.c (read_unwind_info): Fix typo. + + * paread.c (pa_symtab_read): Update the "check_strange_names" + filter to match GCC's current output. Filter out section symbols + (which the HP linker sometimes puts in the wrong place). + Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + * serial.h (SERIAL_SET_TTY_STATE): Comment return value. + + * Makefile.in (TAGS): Just echo one line, rather than the whole thing. + + * Makefile.in: Remove all references to sparcly-nat.c. + + * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h + remote-sim.h directly, rather than via $(remote_utils_h). This avoids + duplicating serial.h and target.h. + + * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables + are not used anywhere (a 5 Oct 1993 change removed the uses). + * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o. * config/m68k/es1800.mt: Add comment. - * remote-es.c: Comment out entire file until it can be fixed. + * remote-es.c: Extensive changes to update to current conventions. * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]: If the timeout is too big to fit in c_cc[VTIME], then do multiple reads