X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/cee86be37f49b8e1ec399271b9e7a4945faf34e5..3ed810117065061a1e23a808e7776aa7f279d2a0:/gdb/ChangeLog diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 774c63da5b..accb87eb65 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,392 @@ +Mon May 3 23:34:09 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * nindy-share/Onindy.c, nindy-share/nindy.c: convert malloc calls + to xmalloc. Include defs.h. Rename local macro from + REGISTER_BYTES to NINDY_REGISTER_BYTES to avoid conflict with + defs.h. + +Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c. + * Makefile.in (SFILES): Add ${srcdir}/putenv.c. + * depend: Update to latest automatically built version. + +Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com) + + * sparclite/Makefile.in: Create default target that does nothing + in order to force user to build by hand. + + * sparclite/Makefile: Remove. It's not necessary anymore. + + * ser-unix.c (wait_for): New routine to handle read timeouts, + etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise. + +Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips-pinsn.c (print_insn): Return value. + +Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made + at configuration time and doesn't belong in the distribution archive. + + * Makefile.in (NONSRC): Add 29k-share/README. + * Makefile.in (HFILES): Add 29k-share/udi/udiids.h. + + * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex + constants with slightly more portable definitions (still depends + on 2's complement arithmetic though). + * config/i386/nm-linux.h: Define NO_SYS_REG_H for no . + * i386v-nat.c (sys/reg.h): Conditionalize include on + NO_SYS_REG_H. Linux doesn't have . + * ser-unix.c (termio.h): Include like other files that + include termio.h, not which may not exist (on + linux for example). + +Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com) + + * valprint.c (print_longest): Change format parameter from a + 'char' to an 'int'. We can't have 'char' parameters with the + current coding style, where we mix prototypes with pre-ANSI + style declarations. + * value.h (print_longest): Change format parameter in prototype + from a 'char' to an 'int'. + +Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc + definition. + * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add. + * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp. + +Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com) + + * The following patches are from Jeffrey Law . + * config/pa/hppabsd.mh: Add more files to NATDEPFILES. + * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE. + * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs. + ptrace needs 5 arguments, #define ptrace to always + pass zero as the 5th argument. + +Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * configure.in: Match z8k-*-sim for z8000. + * config/h8500/tm-h8500.h, h8500-tdep.c: Lint. + * remote-hms.c: Update to use new serial protocol. + +Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * mips-tdep.c: remove include of sys/dir.h. Doesn't seem + necessary and Solaris doesn't have it. + + * Makefile.in (clean-info, install, install-info, info, dvi, + check, all): do not echo recursion lines. + + * 29k-share/udip2soc.c (UDIConnect): replace union wait with int. + + * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is + required target ports which use sockets (like a29k-udi). + + * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST. + +Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com) + + * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with + systems lacking select(). + + * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES. + +Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com) + + * alldeps.mak, depend: Update with latest automatically built + versions. + +Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c. + + * Makefile.in (make-proto-testsuite.dir): New target to make + prototype testsuite tree. + + * Makefile.in (VERSION): Bump to 4.8.4. + +Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabsread.c (define_symbol): If unrecognized constant type, + complain() not error(). + +Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com) + + * infptrace.c: Add missing close paren to test for + FIVE_ARG_PTRACE defined. + + * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG + when compiling with gcc, but disable it for now. See comment. + * defs.h (LONGEST): Define as either "long" or "long long" + based on CC_HAS_LONG_LONG. + * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control + how longest_to_int is defined. + * c-valprint.c (c_val_print): Call print_longest. + * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG + instead of LONG_LONG. + * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with + CC_HAS_LONG_LONG. + * printcmd.c (print_scalar_formatted): Call print_longest + and let it figure out what to do for PRINTF_HAS_LONG_LONG. + * typeprint.c (print_type_scalar): Call print_longest and let + it figure out what to do for PRINTF_HAS_LONG_LONG. + * valprint.c (val_print_type_code_int): Call print_longest + and let it figure out what to do for PRINTF_HAS_LONG_LONG. + * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. + * value.h (struct value): Replace usage of LONG_LONG with + CC_HAS_LONG_LONG. + * value.h (print_longest): Add prototype. + * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. + * values.c (unpack_double): Collapse code that was unnecessarily + dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types. + * values.c (value_from_longest): Remove dependency on + CC_HAS_LONG_LONG and just use LONGEST. + * solib.c (solib_map_sections): Use bfd_get_filename + to access filename field. + * solib.c (clear_solib): Save filename and free it later, after + bfd_close, since bfd_close may reference it. Use bfd_get_filename + to access the field. + * config/convex/xm-convex.h (LONG_LONG): Replace with + CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG. + * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG. + Add PRINTF_HAS_LONG_LONG references. + +Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * inflow.c (kill_command), infcmd.c (attach_command), + remote.c (remote_interrupt_twice): In messages for the user, call it + "the program" or "the program being debugged" not "the inferior". + + * hp300ux-nat.c: Cast second arg to supply_register calls. + (_initialize_kernel_u_addr, getpagesize): New functions. + (store_inferior_register_1): Change arg name from value to val. + (fetch_core_registers): Make arg core_reg_size unsigned. + Pass 5 args to ptrace. + * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE. + Remove KERNEL_U_ADDR stuff. + * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace. + * config/m68k/hp300hpux.m{t,h}: + Move exec.o from NATDEPFILES to TDEPFILES + * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove + hp-include stuff. Add m68k-tdep.o to TDEPFILES. + +Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL. + +Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE. + +Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * doc/gdb.texinfo: make node "Shell Commands" unconditional; + describe `set demangle-style arm' (not cfront); + mention can type `q' to discard output, when gdb pages + +Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * valops.c (search_struct_field): Fix gdb core dump with incomplete + stabs info. + +Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * remote.c: Change timeout to 2. + (remote_open): Use unpush_target not remote_close. + (remote_resume): If siggnal != 0, give warning not error(). + (remote_wait, remote_interrupt, remote_interrupt_twice): + If we get two interrupts, let the user get out if they want. + (remote_{kill,mourn}): New functions. + i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT. + +Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com) + + * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl. + +Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * Remote targets (mourn): Call unpush_target. + + * config/sparc/xm-sun4os4.h: Declare free() to return int. + Remove twisted use of PARAMS. + + * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now + that ansidecl.h assumes ANSI on AIX. + +Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com) + + * README: Move most stuff about hacking GDB to doc/gdbint.texinfo. + (Known bugs): Remove AIX bugs, revise SPARC struct bug description. + +Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output. + +Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com) + + * remote-vx.c (net_connect): Allow numeric IP address for host. + +Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files. + +Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com) + + * rs6000-tdep.c (branch_dest): Deal with stepping through system call. + + * symtab.h, xcoffread.c: Revise linetable sorting comments. + +Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * valops.c (value_cast): A cast might also change the object + representation in C++. + * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst + to get the proper read_symtab function when called from mipsread.c. + * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1): + Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid + for dummy psymtabs, inhibit processing of dummy psymtabs. + +Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com) + + * Changes from (or inspired by) AMD: + * remote-udi.c (udi_attach): Assignments to Space and Offset were + switched, fix it. + (udi_wait): Make error message (UDIGetStdout) match error. + (udi_wait): Handle UDIStdinNeeded. + * command.c [CANT_FORK]: Use system(). + * utils.c (prompt_for_continue): Allow quit with 'q'. + + * solib.c (solib_add): Don't call special_symbol_handling if there + were errors in symbol_add_stub. Also set so->from_tty before + calling symbol_add_stub. + +Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com) + + * Merge in HPPA/BSD patches from Utah: + * defs.h: Add const to 2nd arg of psignal prototype. + * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with + BSD now. + * hppab-core.c: Deleted. No longer useful. + * hppab-nat.c: #include more files. Use PT_WUREGS, not + PT_WRITE_U. + * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c. + * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o. + * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o + * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o + * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE. + +Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com) + + * Fix two bugs found by deja-gnu. One is the incorrect reporting + of the PC being in a stack dummy when looking at a core file + without symbols. The other is the incorrect passing of char + arguments during expression evaluation (ie: p foo('a','b') would + mess up the passing of it's args because it wasn't coercing the + char's to ints). + * hppah-tdep.c: Rename global functions to have consistent hppa_ + prefix. Make more functions static. Drop hp_ prefix from static + functions. (hppa_push_arguments): Call value_arg_coerce to cast + char to int args if necessary. (hppa_fix_call_dummy): Create + this routine from FIX_CALL_DUMMY macro in tm-hppa.h. + * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being + valid (ie: != 0) before doing comparison against PC. + * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY + to reflect new arguments. + * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_ + prefix for func name. (FIX_CALL_DUMMY): Move code into + hppah-tdep.c. + + * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls + to malloc() so that we can test GDB eval of dynamically created + arrays (like char strings in `print "foo"'). + +Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * printcmd.c (print_address_symbolic): Search symtabs as well as the + minimal symbols for a nearby symbol. + +Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * coffread.c: Comment changes around minimal symbol recording. + +Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * command.c: comment changes only. + + * mips-tdep.c (heuristic_fence_post): new static variable. + (heuristic_proc_start): use heuristic_fence_post, print better + warnings, but only if not stop_soon_quietly. + (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post. + +Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com) + + * symtab.h: Fix LOC_REF_ARG comment. + +Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + and Jim Kingdon (kingdon@cygnus.com) + + * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a + LOC_REGPARM symbol. + * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments. + symfile.c (compare_symbols): Don't check first character; STRCMP + does that. + + * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for + structures that are passed by address in a register. + * symtab.h (enum address_class): Add LOC_REGPARM_ADDR. + * findvar.c (read_var_value), + printcmd.c (address_info, print_frame_args), + stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol), + * symtab.c (lookup_block_symbol): Deal with it. + +Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com) + + * objfiles.h (obj_section), objfiles.c (build_objfile_section_table): + Add objfile field. + * objfiles.c (find_pc_section): Return a struct obj_section *. + * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return. + * symfile.c (syms_from_objfile) [IBM6000_TARGET]: + Don't use obj_section hack. + * xcoffexec (vmap_symtab): Relocate obj_sections. + * printcmd.c (containing_function_bounds): Use find_pc_section. + + * symtab.h: Clean up SYMBOL_VALUE comments. + +Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com) + + * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args): + Expand comments about LOC_ARG/LOC_LOCAL pairs. + + * coffread.c (read_coff_symtab): Use rewind before fseek. + +Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com) + + * ch-exp.y: Removed unused structure_primitive_value and FIXME_23. + * Makefile.in: Add $(YFLAGS) when using $(YACC). + * Makefile.in: Remove message to expect conflicts and unused + rules in ch-exp.y, since there no longer are any such. + +Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * stabs.texinfo: fixed bad xrefs (un-initialized statics) + Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com) + * xcoffexec.c (xcoff_relocate_core): If no exec file, error() + rather than dumping core. + + * Makefile.in: Add ${srcdir}/ to all source files. + (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak. + (TAGS): Deal with srcdir and new config directory scheme. + createtags: Remove. + Makefile.in (NONSRC): Remove createtags. + alldeps.mak: Updated. + * rs6000-tdep.c: Delete unused function print_frame. * frame.h (struct frame_info): Doc fix for next_frame.