* mips-tdep.c (isa_NAN): Fix byte order dependency.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 096fa55daa53189827cd423173742d6b3d85fe43..1519e93f68930419685aed2e4b850820af6328d0 100644 (file)
@@ -1,5 +1,413 @@
+Thu Feb 11 00:59:07 1993  John Gilmore  (gnu@cygnus.com)
+
+       * mips-tdep.c (isa_NAN):  Fix byte order dependency.
+       Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
+       fixed by sato@sm.sony.co.jp.
+
+       * xcoffread.c (parmsym):  Don't use an initializer to set up
+       this struct symbol.  Set it up in initialize_xcoffread.
+       (read_xcoff_symtab, xcoff_symfile_read):  Surround code that only
+       works on real rs/6000 target with #ifndef FAKING_RS6000.
+
+Wed Feb 10 23:42:37 1993  John Gilmore  (gnu@cygnus.com)
+
+       * stabsread.c (rs6000_builtin_type):  Move function from
+       xcoffread.c:builtin_type.
+       * xcoffread.c (builtin_type):  Move to stabsread.  Remove
+       IBM6000_HOST dependency.  Move misplaced comments.
+       (various):  Change printf's to complaints.
+       (patch_block_stabs, process_xcoff_symbol case C_DECL):  Add
+       objfile argument to read_type calls under #if 0.
+       (process_xcoff_symbol case C_RSYM):  Fix typo in #ifdef.
+       * xcoffexec.c (map_vmap):  Don't allocate an objfile for the exec_file.
+       * Makefile.in:  xcoffread.o is not built by default.
+       * xm-rs6000.h (IBM6000_HOST):  Remove.
+       * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
+       * doc/gdbint.texinfo:  Eliminate IBM6000_HOST, document
+       IBM6000_TARGET.
+
+Wed Feb 10 18:31:20 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * findvar.c (read_var_value):  If REG_STRUCT_HAS_ADDR, then set
+       VALUE_LVAL to be lval_memory so that we don't try to modify wild
+       register numbers when user tries to modify elements in structs
+       passed as arguments.
+       * inflow.c (child_terminal_info):  Move banner outside of system
+       specific #ifdefs.
+       * tm-hppa.h (REG_STRUCT_HAS_ADDR):  Define this for HPPA, which
+       passes struct/union arguments by address.
+
+Wed Feb 10 15:34:46 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Based on patch from Martin Walker <maw@netcom.com>:
+       * nm-i386sco4.h: New file.  Like nm-i386sco.h, but define
+       ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
+       * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
+
+Tue Feb  9 20:07:18 1993  John Gilmore  (gnu@cygnus.com)
+
+       * remote-udi.c (FREEZE_MODE):  Fix && for & typo.  Found and
+       fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
+
+Tue Feb  9 08:18:07 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
+       cc debugging output.
+
+Tue Feb  9 00:19:28 1993  John Gilmore  (gnu@cygnus.com)
+
+       * stabsread.c (define_symbol):  Complain about unrecognized names
+       that begin with CPLUS_MARKER (often '$'), but don't die.  Fix
+       suggested by gb@cs.purdue.edu (Gerald Baumgartner).
+       (read_cpp_abbrev):  Don't use the class name as part of the
+       vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
+       abbrevs.  Inspired by Mike Tiemann.
+       (read_tilde_fields):  Comment.  Remove ancient dead code.
+       Remove erroneous but non-dead code.  Simplify.  Add complaints.
+       (in general):  Remove extraneous (parentheses) in return
+       statements.
+
+Fri Feb  5 14:01:22 1993  John Gilmore  (gnu@cygnus.com)
+
+       * coffread.c (coff_lookup_type):  Fix fencepost error reported
+       by Art Berggreen, <arg@opal.acc.com>.
+
+       Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
+       <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
+         
+       * coffread.c (getfilename):  Eliminate COFF_NO_LONG_FILE_NAMES
+       test, which is apparently left over from when we used native
+       include files and couldn't depend on the member names being there.
+       * tm-3b1.h, tm-altos.h, tm-i386v.h:  Don't set it.
+
+Thu Feb  4 12:23:15 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * mipsread.c: Major overhaul to use new BFD symbol table reading
+       routines.  Now swaps information as it is needed, rather than
+       swapping everything when the file is read.
+
+Thu Feb  4 01:52:36 1993  John Gilmore  (gnu@cygnus.com)
+
+       * Makefile.in (TARDIRS):  Add sparclite demo dir.
+       (*.tab.c):  Change dependency on Makefile to depend on
+       Makefile.in, otherwise it always rebuilds after configuring.
+       Force output *.tab.c file into current directory even in "make"
+       versions that rewrite dependent file names used in command lines.
+
+       * TODO:  Remove some things we did.
+       * am29k-opcode.h, convx-opcode:  Remove; now in ../include/opcode.
+       * os68k-xdep.c:  Remove; useless file (os68k is a target only).
+       * convex-pinsn.c:  Use ../include/opcode/convex.h.  Add CONST.
+       * symtab.h:  Eliminate unnamed unions and structs.
+
+Wed Feb  3 14:48:08 1993  John Gilmore  (gnu@cygnus.com)
+
+       * Makefile.in (VERSION):  Roll to 4.7.5.
+
+Tue Feb  2 20:47:42 1993  John Gilmore  (gnu@cygnus.com)
+
+       * breakpoint.c (breakpoint_re_set_one):  Handle watchpoints when
+       re-evaluating symbol pointers.
+
+Tue Feb  2 16:10:31 1993  Fred Fish  (fnf@cygnus.com)
+
+       * c-exp.y (lcurly, rcurly):  New nonterminals.
+       * c-exp.y (exp):  Use lcurly and rcurly for arrays and UNOP_MEMVAL
+       constructs.
+       * parse.c (free_funcalls):  Moved prototype from parser-defs.h,
+       made function static.
+       * parse.c (struct funcall):  Moved struct def from parser-defs.h.
+       * parse.c (funcall_chain):  Moved from parser-defs.h, made static.
+       * parse.c (start_arglist):  
+       * parser-defs.h (free_funcalls):  Moved prototype to parse.c.
+       * parser-defs.h (struct funcall):  Moved struct def to parse.c.
+       * parser-defs.h (funcall_chain):  Moved to parse.c.
+       * printcmd.c (print_frame_nameless_args): Fix prototype.
+       * tm-mips.h (setup_arbitrary_frame):  Fix prototype.
+       * tm-sparc.h (setup_arbitrary_frame):  Fix prototype.
+       * valops.c (typecmp):  Moved prototype from values.h.
+       * value.h (typecmp):  Moved prototype to valops.c, made static.
+       **** start-sanitize-chill ****
+       * ch-exp.y (yylex):  Change way control sequences are disabled.
+       **** end-sanitize-chill ****
+       
+Tue Feb  2 16:11:43 1993  John Gilmore  (gnu@cygnus.com)
+
+       * tm-mips.h, tm-sparc.h:  Fix thinko in SETUP_ARBITRARY_FRAME.
+
+Tue Feb  2 15:30:33 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * mipsread.c (upgrade_type): Build array types correctly, using
+       create_range_type and create_array_type.
+
+Tue Feb  2 00:19:08 1993  John Gilmore  (gnu@cygnus.com)
+
+       * remote-nindy.c:  Cleanup.
+
+       * infrun.c (wait_for_inferior):  When rolling back the PC after
+       a breakpoint, call write_pc so that NPC gets rolled back as well
+       (for the 29K).
+
+       * blockframe.c (inside_entry_file, inside_main_func,
+       inside_entry_func):  PC of zero is always "bottom of stack".
+
+       * printcmd.c (print_frame_args, print_frame_nameless_args):
+       Let print_frame_nameless_args decide whether there are any,
+       laying groundwork for possibly later printing 29K args for
+       functions where we have tag words but no symbols.       
+
+Mon Feb  1 18:09:58 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
+
+       * Makefile.in: fix GDB doc targets for new doc subdir structure
+
+Mon Feb  1 17:56:47 1993  John Gilmore  (gnu@cygnus.com)
+
+       * stack.c (parse_frame_specification):  Parse as many arguments
+       as there are (up to MAXARGS).  Pass all of them in argc, argv
+       format to SETUP_ARBITRARY_FRAME.  Put the burden of checking how
+       many there were, onto SETUP_ARBITRARY_FRAME.
+       * tm-mips.h, tm-sparc.h:  Corresponding changes.
+       * mips-tdep.c, sparc-tdep.c:  Ditto.
+
+Mon Feb  1 17:19:37 1993  John Gilmore  (gnu@cygnus.com)
+
+       * hp300ux-nat.c:  Update copyrights.
+       * mipsread.c (parse_partial_symbols):  Complain about block
+       indexes that go backwards.  Fix from Peter Schauer.
+       * symfile.c (syms_from_objfile, symbol_file_add):  Allow a
+       symbol-file that has no linkage symbols to be read.
+       * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends):  Move
+       from tm- file to xm-file, since they're host dependent.
+       * valarith.c (value_binop):  Typo.
+
+Mon Feb  1 16:16:59 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * sparclite/aload.c:  Add copyleft.
+       * sparclite/crt0.s:  Add comment at beginning.
+
+Mon Feb  1 14:36:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
+       * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
+
+Sun Jan 31 04:32:48 1993  Michael Tiemann  (tiemann@rtl.cygnus.com)
+
+       * values.c (value_headof): Fix typo in which VTBL and ARG were
+       being confused for one another.
+
+       * valops.c (typecmp): Now static.
+
+       * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
+       baseclass--we don't always inherit its virtual function table
+       pointer.
+
+       * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
+       pointer correctly in case value_struct_elt moves it around.
+
+       * valops.c (typecmp): Now static.  Also, now groks references
+       better.
+
+       * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
+       zero on recursive call.  If NAME is the name of TYPE, return TYPE.
+
+Sat Jan 30 19:55:52 1993  John Gilmore  (gnu@cygnus.com)
+
+       * hppah-nat.c:  Eliminate <sys/user.h> and other unnecessary stuff,
+       to avoid "too much defining" error from native C compiler (!).
+
+       * Makefile.in (HFILES):  Add typeprint.h.
+       * typeprint.[ch]:  Update copyrights.
+
+Thu Jan 28 19:09:02 1993  John Gilmore  (gnu@cygnus.com)
+
+       * Makefile.in:  Update to match doc/ subdir changes.
+
+       * config/hp300hpux.mh:  No cross-host file needed, just native.
+       * config/go32.mh:  Remove nonexistent "native" support.
+
+       M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
+       * tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
+       * m88k-tdep.c (next_insn):  Lint, cleanup.
+       (store_parm_word):  Lint.
+
+       * README:  Fix typo (reported by karl@hq.ileaf.com).
+
+Wed Jan 27 21:34:21 1993  Fred Fish  (fnf@cygnus.com)
+
+       * expression.h (BINOP_CONCAT): Document use for self concatenation
+       an integral number of times.
+       * language.c (binop_type_check):  Extend BINOP_CONCAT for self
+       concatenation case.
+       * valarith.c (value_concat):  Rewrite to support self
+       concatenation an integral number of times.
+       **** start-sanitize-chill ****
+       * Makefile.in (ch-exp.tab.c):  Change "expect" message.
+       * ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
+       eliminate hundreds of spurious shift/reduce and reduce/reduce
+       conflicts that mask the 5 real ones.
+       * ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
+       * ch-exp.y (integer_literal_expression):  Remove production,
+       no longer used.
+       **** end-sanitize-chill ****
+
+Thu Jan 21 09:58:36 1993  Fred Fish  (fnf@cygnus.com)
+
+       * eval.c (evaluate_subexp):  Fix OP_ARRAY, remove code that
+       implied that "no side effects" was nonfunctional.
+       * eval.c (evaluate_subexp):  Add BINOP_CONCAT case to deal with
+       character string and bitstring concatenation.
+       * expprint.c (dump_expression):  Add case for BINOP_CONCAT.
+       * expression.h (exp_opcode):  Add BINOP_CONCAT.
+       * gdbtypes.h (type_code):  Add TYPE_CODE_BITSTRING.
+       * language.c (string_type):  Add function to determine if a type
+       is a string type.
+       * language.c (binop_type_check):  Add case for BINOP_CONCAT.
+       * valarith.c (value_concat):  New function to concatenate two
+       values, such as character strings or bitstrings.
+       * valops.c (value_string):  Remove error stub and implement
+       function body.
+       * value.h (value_concat):  Add prototype.
+       **** start-sanitize-chill ****
+       * ch-exp.y (operand_3):  Add actions for SLASH_SLASH (//).
+       * ch-exp.y (yylex):  Recognize SLASH_SLASH.
+       * ch-lang.c (chill_op_print_tab):  Add SLASH_SLASH (//) as
+       BINOP_CONCAT.
+       **** end-sanitize-chill ****
+
+Tue Jan 19 14:26:15 1993  Fred Fish  (fnf@cygnus.com)
+
+       * c-exp.y (exp):  Add production to support direct creation
+       of array constants using the obvious syntax.
+       * c-valprint.c (c_val_print):  Set printed string length.
+       * dwarfread.c (read_tag_string_type):  New prototype and
+       function that handles TAG_string_type DIEs.
+       * dwarfread.c (process_dies):  Add case for TAG_string_type
+       that calls new read_tag_string_type function.
+       * expprint.c (print_subexp):  Add support for OP_ARRAY.
+       * gdbtypes.c (create_range_type, create_array_type):  Inherit
+       objfile from the index type.
+       **** start-sanitize-chill ****
+       * ch-typeprint.c (chill_print_type):  Add case for
+       TYPE_CODE_STRING.
+       * ch-valprint.c (chill_val_print):  Fix case for
+       TYPE_CODE_STRING.
+       **** end-sanitize-chill ****
+
+Mon Jan 18 11:58:45 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
+       MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
+       include/coff/mips.h.
+
+Fri Jan 15 20:26:50 1993  Fred Fish  (fnf@cygnus.com)
+
+       * c-exp.y (exp:STRING):  Convert C strings into array-of-char
+       constants with an explicit null byte terminator.  OP_STRING is
+       now used for real string types.
+       * c-lang.c (builtin_type_*):  Move declarations to lang.c since
+       they are used by all languages.
+       * c-lang.c (_initialize_c_language):  Move initializations of 
+       builtin_type_* to lang.c.
+       * c-typeprint.c (c_type_print_varspec_prefix,
+       c_type_print_varspec_suffix):  TYPE_CODE_PASCAL_ARRAY renamed
+       to TYPE_CODE_STRING.
+       * c-valprint.c (c_val_print):  Change the way character arrays
+       are printed as strings to be consistent with the way strings
+       are printed when pointer-to-char types are dereferenced.
+       Remove test of print_max before calling val_print_string, which
+       now does it's own test.
+       * eval.c (evaluate_subexp):  Add case for OP_ARRAY.
+       * expprint.c (print_subexp, dump_expression):  Add case for OP_ARRAY.
+       * expression.h (enum exp_opcode):  Add OP_ARRAY and document.
+       * gdbtypes.c (builtin_type_*):  Add declarations moved from
+       c-lang.c.
+       * gdbtypes.c (create_string_type):  New function to create real
+       string types.
+       * gdbtypes.c (recursive_dump_type):  TYPE_CODE_PASCAL_ARRAY
+       renamed to TYPE_CODE_STRING.
+       * gdbtypes.c (_initialize_gdbtypes):  Add initializations of
+       builtin_type_* types moved from c-lang.c.
+       * gdbtypes.h (enum type_code):  TYPE_CODE_PASCAL_ARRAY renamed
+       to TYPE_CODE_STRING.
+       * gdbtypes.h (builtin_type_string):  Add extern declaration.
+       * gdbtypes.h (create_string_type):  Add prototype.
+       * m2-lang.c (m2_create_fundamental_type):  TYPE_CODE_PASCAL_ARRAY
+       renamed to TYPE_CODE_STRING.
+       * m88k-tdep.c (pushed_size):  TYPE_CODE_PASCAL_ARRAY renamed to
+       TYPE_CODE_STRING.
+       * mipsread.c (_initialize_mipsread):  TYPE_CODE_PASCAL_ARRAY
+       renamed to TYPE_CODE_STRING.
+       * parse.c (length_of_subexp, prefixify_subexp):  Add case for
+       OP_ARRAY.
+       * printcmd.c (print_formatted):  Recognize TYPE_CODE_STRING.
+       * typeprint.c (print_type_scalar):  TYPE_CODE_PASCAL_ARRAY renamed
+       to TYPE_CODE_STRING.
+       * valops.c (allocate_space_in_inferior):  New function and
+       prototype, using code ripped out of value_string.
+       * valops.c (value_string):  Rewritten to use new function
+       allocate_space_in_inferior, but temporarily disabled until some
+       other support is in place.
+       * valops.c (value_array):  New function to create array constants.
+       * valprint.c (val_print_string):  Add comment to document use, 
+       complete rewrite to fix several small buglets.
+       * value.h (value_array):  Add prototype.
+       * value.h (val_print_string):  Change prototype to match rewrite.
+       **** start-sanitize-chill ****
+       * ch-valprint.c (chill_val_print):  Add case for TYPE_CODE_STRING.
+       * ch-exp.y (match_character_literal):  Disable recognition of 
+       control sequence form of character literals and document why.
+       **** end-sanitize-chill ****
+
+Thu Jan 14 15:48:12 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * nindy-share/nindy.c:  Add comments to #endif's to clarify
+       grouping.
+
+       * hppa-pinsn.c (print_insn):  Use read_memory_integer, instead of
+       read_memory to get byte order right.
+       * hppah-tdep.c (find_unwind_info):  Don't read in unwind info
+       anymore.  This is done in paread.c now.  We expect unwind info
+       to hang off of objfiles, and search all of the objfiles when until
+       we find a match.
+       * (skip_trampoline_code):  Cast arg to target_read_memory.
+       * objfiles.h (struct objfile):  Add new field obj_private to hold
+       per object file private data (unwind info in this case).
+       * paread.c (read_unwind_info):  New routine to read unwind info
+       for the objfile.  This data is hung off of obj_private.
+       * tm-hppa.h:  Define struct obj_unwind_info, to hold pointers to
+       the unwind info for this objfile.  Also define OBJ_UNWIND_INFO to
+       make this easier to access.
+
+Wed Jan 13 20:49:59 1993  Fred Fish  (fnf@cygnus.com)
+
+       * c-valprint.c (cp_print_class_member):  Add extern decl.
+       * c-valprint.c (c_val_print):  Extract code for printing methods
+       and move it to cp_print_class_method in cp-valprint.c.
+       * c-valprint.c (c_val_print):  Extract code to print strings and
+       move it to val_print_string in valprint.c.
+       * cp-valprint.c (cp_print_class_method):  New function using
+       code extracted from c_val_print.
+       * valprint.c (val_print_string):  New function using code
+       extracted from c_val_print.
+       * value.h (val_print_string):  Add prototype.
+       **** start-sanitize-chill ****
+       * ch-exp.y (CHARACTER_STRING_LITERAL):  Set correct token type.
+       * ch-exp.y (literal):  Add action for CHARACTER_STRING_LITERAL.
+       * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
+       CHECKBUF, growbuf_by_size):  New variables, macros, and support
+       functions for implementing a dynamically expandable temp buffer.
+       * ch-exp.y (match_string_literal):  New lexer function.
+       * ch-exp.y (match_bitstring_literal):  Dynamic buffer code
+       removed and replaced with new CHECKBUF macro.
+       * ch-exp.y (yylex):  Call match_string_literal when appropriate.
+       * ch-valprint.c (ch_val_print):  Add code for TYPE_CODE_PTR.
+       **** end-sanitize-chill ****
+
 Sat Jan  9 19:59:33 1993  Stu Grossman  (grossman at cygnus.com)
 
+       * Makefile.in:  Add info for paread.o.
+       * config/hppahpux.mh:  Add paread.o to NATDEPFILES.
+
        * blockframe.c (frameless_look_for_prologue):  Correct the
        comment.
        * gdbtypes.h, gdbtypes.c:  Use const in decl of
@@ -688,7 +1096,6 @@ Thu Dec 17 00:44:57 1992  John Gilmore  (gnu@cygnus.com)
        * coffread.c (EXTERNAL_NAME):  New macro for removing possible
        leading character from names.
        (read_coff_symtab):  Use BFD's FILE *, don't open a second one.
-       (read_coff_symtab):  Complain() about .bb/.eb mismatch, don't error().
        (process_coff_symbol, coff_read_struct_type, coff_read_enum_type):
        Replace NAMES_HAVE_UNDERSCORE with EXTERNAL_NAME.
 
@@ -707,6 +1114,11 @@ Thu Dec 17 00:44:57 1992  John Gilmore  (gnu@cygnus.com)
        MEM_FNS_DECLARED.
        (Target Conditionals):  Remove all of the above.
 
+       * xm-rs6000.h (MEM_FNS_DECLARED):  Update comments.
+
+       * coffread.c (read_coff_symtab, C_BLOCK):  Use complain() rather
+       than error() for .bb/.eb.  Bug found by Eddie Fung, <efung@cs.uq.oz.au>.
+
 Tue Dec 15 10:05:56 1992  Ian Lance Taylor  (ian@cygnus.com)
 
        * coffread.c (decode_type): catch negative tagndx fields generated
@@ -752,7 +1164,7 @@ Tue Dec 15 02:01:00 1992  John Gilmore  (gnu@cygnus.com)
 
        * remote.c:  Avoid printf_filtered line limit.  Suggested by
        Robert R. Henry, <rrh@tera.com>.
-       * infcmd.c (environment_info):  Ditto, but it was my idea.
+       * infcmd.c (environment_info):  Ditto, for Don Allen <allen@think.com>.
 
        * main.c (main):  Accept --silent as well as --quiet.  Change +help
        to --help.  Suggested by Karl Berry, <karl@cs.umb.edu>.
This page took 0.027354 seconds and 4 git commands to generate.