aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-01-25Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+20
* internal.h (internal_aouthdr): Added additional fields used only by MIPS ECOFF.
1993-01-24Add a usage statement if an unrecognized option is given.Sean Eric Fagan1-0/+7
1993-01-24recognize irix[34]* instead of irix[34]David D. Zuhn1-4/+4
1993-01-23 * guess-systype: Renamed to ...Per Bothner5-145/+65
* config.guess: ... by popular request. * configure.in, Makefile.in: Update accordingly.
1993-01-23These changes abolish M4 preprocessing for the GDB manual.Roland Pesch21-2552/+2963
Formatting these files now depends on the recently designed Texinfo conditionals: to format successfully, you must use very recent versions (not yet distributed by FSF) of texinfo.tex and makeinfo.c. The new Texinfo commands are @set, @clear, @ifset, @ifclear, and @value. Recent texinfo-2 Beta distributions contained partial implementations. texi2roff does not yet support these commands. There are miscellaneous clean-ups to Makefile.in as well.
1993-01-22Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor8-12/+119
* mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF targets, linker script. * mipslit.sh: New file. Little endian MIPS emulation. * config/mips-lit.mt: New file. Use mipslit emulation. * configure.in (mips-dec-ultrix*): Use target mips-lit. * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. (em_mipslit.c): New target. Uses mipslit.sh.
1993-01-21 * guess-systype: Patches from John Eaton <jwe@che.utexas.edu>:Per Bothner2-1/+43
+ Add Convex, Cray/Unicos, and Encore/Multimax support. + Execute ./dummy instead of assuming . is in PATH.
1993-01-21 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code thatFred Fish4-2/+31
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 ****
1993-01-21fix endian problemSteve Chamberlain1-1/+1
1993-01-20Add Linux and hp300bsd. Tweak SCO.Per Bothner1-2/+14
1993-01-20whitespace/comment changesKen Raeburn1-26/+18
1993-01-20Revert yesterday's change (adding casts) at gnu's request.Ian Lance Taylor2-35/+18
1993-01-20Fix (?) discrimination between hppa1.1 and 1.0.Per Bothner1-1/+1
1993-01-20Add support for HP-UX; SCO; fix Solaris2.Per Bothner1-2/+17
1993-01-20Minor improvementsPer Bothner1-7/+5
1993-01-20 * guess-systype: New shell script. Attempts to guess thePer Bothner2-0/+66
canonical host name of the executing host. Only a few hosts are supported so far. * configure: Call guess-systype if no host is specified.
1993-01-19 * c-exp.y (exp): Add production to support direct creationFred Fish6-13/+95
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 ****
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor4-43/+60
* aoutx.h (swap_ext_reloc_in, swap_std_reloc_in), bout.c (b_out_slurp_reloc_table), coff-mips.c (ecoff_swap_reloc_in), coff-msym.c (ecoff_swap_sym_in, ecoff_swap_rndx_in, ecoff_swap_opt_in): Added casts to int to avoid muttering by MIPS compiler.
1993-01-19Checkpoint. Can now read relocs.Ian Lance Taylor1-80/+509
1993-01-19Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-1/+1
* bfd.h: Update for bfd_asymbol_value bug fix.
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+2
* bfd-in.h (bfd_asymbol_value): Add needed parentheses.
1993-01-19Tue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-0/+5
* mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF relocs.
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+4
* libcoff-in.h: Update prototype for coff_count_linenumbers.
1993-01-19Tue Jan 19 08:26:07 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* Makefile.in (gcc-no-fixedincludes): Made to work with current gcc Makefile.
1993-01-18Clean up readline doc subdir to conform to normalRoland Pesch5-4502/+102
configure/distribution practices. Makefile: remove, replacing with a configurable Makefile.in texindex.c texinfo.tex: remove, replacing with references to tools elsewhere in Cygnus distribution tree. Makefile.in: configurable (and useable) Makefile. configure.in: pro forma configure stub.
1993-01-18Update GDB_SUPPORT_DIRS and GDB_SUPPORT_FILES.Stu Grossman1-3/+3
1993-01-18.Sanitize: Add 29k-share and sparclite.Stu Grossman1-0/+2
1993-01-18Makefile.in (FLAGS_TO_PASS): Balance (start-sanitize-chill) with ↵Stu Grossman1-1/+1
(end-sanitize-chill).
1993-01-18new fileSteve Chamberlain1-0/+68
1993-01-18Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+6
* mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in include/coff/mips.h.
1993-01-18checkpointSteve Chamberlain8-84/+216
1993-01-16 * c-exp.y (exp:STRING): Convert C strings into array-of-charFred Fish16-137/+303
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 ****
1993-01-16 * Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,Mike Werner2-1/+43
and CHILL_LIB. * deja-gnu/gdb.t31/Makefile.in: removed explicit setting of CHILL variables as these are now passed down from the top level makefile using FLAGS_TO_PASS.
1993-01-15Basically a checkpoint for coff-mips.c.Ian Lance Taylor3-134/+1774
Fri Jan 15 18:13:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coff-msym.c (ecoff_swap_hdr_out, ecoff_swap_fdr_out, ecoff_swap_pdr_out, ecoff_swap_sym_out, ecoff_swap_ext_out, ecoff_swap_rndx_out, ecoff_swap_rfd_out, ecoff_swap_opt_in, ecoff_swap_opt_out, ecoff_swap_dnr_in, ecoff_swap_dnr_out): New functions. * coffswap.h: If NO_COFF_RELOCS is defined, don't define bfd_swap_reloc_in or coff_swap_reloc_out. * coff-mips.c: Added code to link and write out symbolic debugging information, and to swap relocs in and out.
1993-01-15Fri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor3-4/+69
* ecoff-ext.h: Added prototypes for new ECOFF swapping functions. (opt_ext): New structure. * mips.h (ZMAGIC): Defined to be 0413. (_LIB): Defined to be ".lib" (external_reloc): MIPS ECOFF relocs are only 8 bytes. Added macros to aid in swapping.
1993-01-15 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.Steve Chamberlain2-0/+6
1993-01-15Fri Jan 15 10:27:02 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+46
* Makefile.in (GCC_FLAGS_TO_PASS): New variable. (all-gcc, install-gcc, subdir_do): Use it.
1993-01-15Add a29k-udi.mt.Stu Grossman1-0/+1
1993-01-15Add paread.c.Stu Grossman1-0/+2
1993-01-15Oops! Forgot to do this one...Stu Grossman1-0/+20
1993-01-15 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead ofStu Grossman5-53/+107
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.
1993-01-14 * libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.hSteve Chamberlain1-0/+9
(coff_write_object_contents): coff_count_linenumbers returns the number of line number records it found. * coffgen.c (coff_write_linenumbers): only write out line numbers in the section they belong to.
1993-01-14use the SYMBOL_VALUE macro -- from StuDavid D. Zuhn1-1/+1
1993-01-14 * c-valprint.c (cp_print_class_member): Add extern decl.Fred Fish7-198/+389
* 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 ****
1993-01-14Rename uninstalled gcc driver from gcc to xgcc.Jim Wilson2-3/+28
1993-01-12chillrt depends on a C library (newlib)David D. Zuhn1-14/+12
1993-01-12Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor3-4/+49
* ldwrite.c: Removed perform_relocation, copy_and_relocate, and write_norel. All linking is now done via write_relax. Call ldsym_write before calling write_relax. * relax.c: Added copyright. (write_relax): Renamed from write_relaxnorel. Added relocateable argument. seclet_dump renamed to bfd_seclet_link. * relax.h: Added copyright.
1993-01-12Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor10-73/+176
* targets.c (bfd_target): Added relocateable argument to _bfd_get_relocated_section_contents. Added _bfd_seclet_link target vector for linker use. * bfd.c (bfd_seclet_link): New macro. * bfd-in.h (JUMP_TABLE): Added _bfd_seclet_link. * seclet.c (rel, seclet_dump_seclet): Added relocateable argument and boolean return value. Made static. (bfd_generic_seclet_link): Renamed from seclet_dump. Added relocateable argument. * reloc.c (bfd_generic_get_relocated_section_contents): Added relocateable argument (if relocateable, saves relocs). * bout.c (b_out_get_relocated_section_contents), reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): Added relocateable argument (if relocateable, just calls bfd_generic_get_relocated_section_contents). * libcoff-in.h (bfd_coff_reloc16_get_value): Added relocateable argument to prototype. * All targets: Set new _bfd_seclet_link vector to bfd_generic_seclet_link.
1993-01-12Updated for bfd changes.Ian Lance Taylor1-4/+12
1993-01-11 * ldmain.c (decode_library_subfile): Patch fromSteve Chamberlain1-0/+12
hoogen@shafer.cs.utah.edu, don't reread library symbol tables.