aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-01-07no more default emulationDavid D. Zuhn1-3/+1
1993-01-07Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-0/+181
* mips-dis.c: New file, from gdb/mips-pinsn.c. * Makefile.in (DIS_LIBS): Added mips-dis.o. (CFILES): Added mips-dis.c.
1993-01-07update datesDavid D. Zuhn1-2/+2
1993-01-07Lots of changes from Eric Youngdale, mostly for VAX and VMS support.Ken Raeburn2-87/+222
1993-01-07Lots of changes from Eric Youngdale, mostly for VAX and VMS support.Ken Raeburn5-44/+148
Also, fix another goof in read.c, which caused ".data" not to work...
1993-01-07 * Makefile.in: Removed explicit setting of SUBDIRS. This gets doneMike Werner1-1/+5
by configure, using configure.in . **** start-sanitize-chill **** * configure.in: Added sanitization for chill to the setting of target_libs . **** end-sanitize-chill ****
1993-01-07redo (yet again) chill sanitization -- thanks perDavid D. Zuhn2-31/+40
1993-01-07revert chill Sanitize patchesDavid D. Zuhn4-46/+34
1993-01-06 * arsup.h (interactive), bucomm.h (program_name): PrefixPer Bothner1-0/+5
with 'extern', to avoid warnings from some compilers.
1993-01-06>Steve Chamberlain1-0/+8
* arparse.y: fix unnecessary shift/reduce
1993-01-06fix chill sanitizationBill Cox3-32/+45
1993-01-06 * test-build.mk: set $PATH for all buildsDavid D. Zuhn1-4/+4
* Makefile.in: pass TARGET_FLAGS_TO_PASS for xiberty and libm
1993-01-06 * Makefile.in (GCC_FOR_TARGET): Supply a default that matchesFred Fish2-6/+50
the one used in gcc/Makefile.in, so that a null expansion doesn't override the one needed to build gcc with a native cc.
1993-01-06 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp forSteve Chamberlain3-18/+13
binary files oring in the right bit. * main.c, source.c, state.c, symmisc.c: use macros defined in fopen-{bin|both} when fopening files. * remote-hms.c, remote-sim.c: lint
1993-01-06 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BITFred Fish7-36/+421
from a configuration file (typically including <limits.h>), or to TARGET_CHAR_BIT if CHAR_BIT is not defined. * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro. * eval.c (evaluate_subexp): Add case for OP_BITSTRING. * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro. * exppritn.c (print_subexp, dump_expression): Add case for OP_BITSTRING. * expression.h (OP_BITSTRING): New expression element type for packed bitstrings. * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New macros to convert between number of expression elements and bytes to store that many elements. * i960-tdep.c (leafproc_return): Use new macros to access minimal symbol name and address fields. * m88k-pinsn.c (sprint_address): Use new macros to access minimal symbol name and address fields. * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access minimal symbol address field. * parse.c (write_exp_elt, write_exp_string, prefixify_expression, parse_exp_1): Use new EXP_ELEM_TO_BYTES macro. * parse.c (write_exp_string, length_of_subexp, prefixify_expression): Use new BYTES_TO_EXP_ELEM macro. * parse.c (write_exp_bitstring): New function to write packed bitstrings into the expression element vector. * parse.c (length_of_subexp, prefixify_subexp): Add case for OP_BITSTRING. * parser-defs.h (struct stoken): Document that it is used for OP_BITSTRING as well as OP_STRING. * parser-defs.h (write_exp_bitstring): Add prototype. **** start-sanitize-chill **** * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval. * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER, LOWER, LENGTH): New tokens for keywords. * ch-exp.y (chill_value_built_in_routine_call, mode_argument, upper_lower_argument, length_argument, array_mode_name, string_mode_name, variant_structure_mode_name): New non-terminals and productions. * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL. * ch-exp.y (match_bitstring_literal): New lexer support function to recognize bitstring literals. * ch-exp.y (tokentab6): New token table for 6 character keywords. * ch-exp.y (tokentab5): Add LOWER, UPPER. * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE. * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX. * ch-exp.y (yylex): Check tokentab6. * ch-exp.y (yylex): Call match_bitstring_literal. **** end-sanitize-chill ****
1993-01-06 * Makefile.in (SUBDIRS): Add chillrt.Fred Fish2-1/+54
* Makefile.in (all.normal): Add all-chillrt. * Makefile.in (all.cross): Add all-chillrt. * Makefile.in (install-no-fixedincludes): Add install-chillrt. * Makefile.in (install.cross): Add install-chillrt. * Makefile.in (all-chillrt, install-chillrt): New targets. * Makefile.in (subdir_do): Handle chillrt like newlib. * configure.in (target_libs): Add chillrt. (Also added appropriate stuff to .Sanitize)
1993-01-06handle machines other than DOS & SunDavid D. Zuhn1-3/+11
1993-01-06use waitpid instead of wait4David D. Zuhn1-1/+1
1993-01-06fix install ruleDavid D. Zuhn2-1/+5
1993-01-06use bfd_xmalloc instead of mallocDavid D. Zuhn2-1/+5
1993-01-05 * Makefile.in: FLAGS_TO_PASS, send down GCC_FOR_TARGET,Steve Chamberlain1-0/+3
AR_FOR_TARGET and RANLIB_FOR_TARGET so gcc can make libgcc in a Canadian Cross.
1993-01-05Temporary hack until Per's solution gets implemented: If --with-minimal-bfd isKen Raeburn1-0/+5
specified, set MINIMIZE=1. (Not the default.)
1993-01-05expr.c (operand): handle logical end-of-line characters line newlineKen Raeburn2-1/+7
1993-01-05look for --with_bfd_assembler optionKen Raeburn1-0/+5
1993-01-05Accept -with arguments.Ken Raeburn1-0/+4
Requoting for recursion may be buggy, but it does handle simple cases now.
1993-01-05add groffDavid D. Zuhn1-4/+4
1993-01-05update datesDavid D. Zuhn1-8/+3
1993-01-05 * xcoffexec.c (vmap_symtab): Use new macros to access minimalFred Fish2-3/+7
symbol name and value fields.
1993-01-05 * c-exp.y (yylex): Make static, to match prototype and otherFred Fish2-1/+4
<lang>-exp.y files.
1993-01-05 * expression.h (exp_opcode): Add BINOP_MOD.Fred Fish8-8/+48
* eval.c (evaluate_subexp): Handle new BINOP_MOD. * expprint.c (dump_expression): Handle new BINOP_MOD. * language.c (binop_type_check): Handle new BINOP_MOD. * main.c (float_handler): Re-enable float handler when hit. * valarith.c (language.h): Include, need current_language. * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro for integer divide truncates towards zero for negative results. * valarith.c (value_x_binop): Handle BINOP_MOD if seen. * valarith.c (value_binop): Allow arithmetic operations on TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD. **** start-sanitize-chill **** * ch-exp.y (operand_4): Add useful actions for MOD and REM. * ch-exp.y (tokentab3): Add MOD and REM. * ch-exp.y (yylex): Set innermost_block for symbols found in local scopes. Return LOCATION_NAME for local symbols. * ch-lang.c (chill_op_print_tab): Fix MOD entry to use BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM. **** end-sanitize-chill ****
1993-01-04fix goof from last changeKen Raeburn1-0/+4
1993-01-04 * p{1,3}.c (sim_resume): when running on dos, any character typed toSteve Chamberlain4-49/+41
the keyboard will cause a simulated exception.
1993-01-04Fix all-h8300sim typoSteve Chamberlain1-1/+2
1993-01-04Now works in a cross build environmentSteve Chamberlain1-5/+3
1993-01-04 * command.c (shell_escape, make_command, _initialze_command):Steve Chamberlain4-4/+23
don't create or use fork if CANT_FORK is defined. * serial.h, ser-go32.c: now compiles, but "the obvious problems of code written for the IBM PC" remain. * xm-go32.h: define CANT_FORK
1993-01-04 * srec.c (srec_write_records): one of my boards wants a CR betweenSteve Chamberlain1-0/+5
records.
1993-01-04log for changes checked in this morning; deleted some duplicate entriesKen Raeburn1-20/+45
1993-01-04(s_data): Use "data_section"; it'll map to SEG_DATA or SEG_E1 if appropriate,Ken Raeburn1-178/+39
as soon as I check in as.h. (s_lcomm): Likewise with bss_section. (s_fill): Use memset, not bzero. whitespace/comment changes. deleted some "#ifdef DONTDEF" sections relating to GDB symtabs.
1993-01-04delete decls of segment_name, seg_nameKen Raeburn3-30/+0
1993-01-04comment reformattingKen Raeburn1-26/+11
1993-01-04Allow srcdir buildsSteve Chamberlain1-3/+3
1993-01-03Added h8300simSteve Chamberlain3-3/+28
1993-01-03 * remote-sim.c: first attempt at general simulator interfaceSteve Chamberlain1-2/+2
* remote-hms.c: whitespace * h8300-tdep.c: (h8300_skip_prologue, examine_prologue): understand new stack layout. (print_register_hook): print ccr register in a fancy way. include simulator target too.
1993-01-03 * remote-sim.c: first attempt at general simulator interfaceSteve Chamberlain6-803/+1159
* remote-hms.c: whitespace * h8300-tdep.c: (h8300_skip_prologue, examine_prologue): understand new stack layout. (print_register_hook): print ccr register in a fancy way.
1993-01-03 * eval.c (language.h): Include.Fred Fish3-10/+51
* eval.c (evaluate_subexp_with_coercion): Only coerce arrays to pointer types when the current language is C. It loses for other languages when the lower index bound is nonzero. * valarith.c (value_subscript): Take array lower bounds into account when performing subscripting operations. * valops.c (value_coerce_array): Add comment describing why arrays with nonzero lower bounds are dealt with in value_subscript, rather than in value_coerce_array.
1993-01-03 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in andSteve Chamberlain7-988/+774
running
1993-01-03 **** start-sanitize-chill ****Fred Fish2-43/+169
* ch-exp.y (FLOAT_LITERAL): Add token. * ch-exp.y (literal): Add FLOAT_LITERAL. * ch-exp.y (match_float_literal): New lexer routine. * ch-exp.y (convert_float): Remove. * ch-exp.y (yylex): Call match_float_literal. * ch-exp.y (yylex): Match single '.' after trying to match floating point literals. **** end-sanitize-chill ****
1993-01-02 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.Fred Fish7-22/+280
* expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT. * expprint.c (dump_expression): New function for dumping expression vectors during gdb debugging. * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to MULTI_SUBSCRIPT and moved out of BINOP range. * expression.h (DUMP_EXPRESSION): New macro that calls dump_expression if DEBUG_EXPRESSIONS is defined. * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT. * parse.c (length_of_subexp, prefixify_subexp): Change BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT. * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after prefixify'ing the expression. * printcmd.c (print_command_1): Add comment. **** start-sanitize-chill **** * ch-exp.y (expression_list): Add useful actions. * ch-exp.y (value_array_element): Add useful actions. * ch-exp.y (array_primitive_value): Add production. * ch-exp.y (yylex): Recognize ',' as a token. **** end-sanitize-chill ****
1993-01-02pass prefix & exec_prefix, POSIXize recursive makesDavid D. Zuhn1-0/+5
1993-01-01Replace T in TC_H8300Steve Chamberlain1-1/+1