aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
1993-01-01 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.Fred Fish10-107/+102
* tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the CPLUS_MARKER for all SVR4 systems, so follow suit. * defs.h (strdup_demangled): Remove prototype. * dwarfread.c (enum_type, synthesize_typedef): Use new macro SYMBOL_INIT_LANGUAGE_SPECIFIC. * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME. * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol, prim_record_minimal_symbol_and_info): Use new macro SYMBOL_INIT_LANGUAGE_SPECIFIC. * minsyms.c (install_minimal_symbols): Use new macro SYMBOL_INIT_DEMANGLED_NAME. * stabsread.c (define_symbol): Use new macro SYMBOL_INIT_DEMANGLED_NAME. * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): Use new macro SYMBOL_INIT_DEMANGLED_NAME. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro SYMBOL_INIT_DEMANGLED_NAME. * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol): SYMBOL_DEMANGLED_NAME now tests language itself. * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME now tests language itself. * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does what SYMBOL_DEMANGLED_NAME used to do, directly access the C++ mangled name member in the language dependent portion of a symbol. * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the mangled name member appropriate for a symbol's language. * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME, SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP): SYMBOL_DEMANGLED_NAME now tests language itself. * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that initializes language dependent portion of symbol. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that demangles and caches the demangled form of symbol names. * utils.c (fputs_demangled, fprint_symbol): Use current language to select an appropriate demangling algorithm. * utils.c (strdup_demangled): Remove, no longer used. **** start-sanitize-chill **** * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly access the Chill mangled name member in the language dependent portion of a symbol. * ch-lang.c (chill_demangle): New function, simple demangler. * defs.h (chill_demangle): Add prototype. * symtab.h (language_dependent_info): Add struct for Chill. **** end-sanitize-chill ****
1992-12-31 * Makefile.in (BISON): Add comment that when bison is used, itFred Fish5-50/+57
must include the "-y" option. * c-exp.y, m2-exp.y (yyrule, yyname, yyss, yyssp, yyvs, yyvsp): Remove defines to remap non-yacc symbols, thus backing out of previous recent changes. Standard policy is that non-yacc parser generators get fixed, rather than adding bug workarounds in gdb for each new one that pops up. Expand comment to note this. * c-exp.y, m2-exp.y (YYDEBUG): Revert back to disabled by default.
1992-12-31 * partial-stab.h (near N_BINCL): Remove redundant code in N_BINCLStu Grossman2-12/+8
case. Use code in N_SOL.
1992-12-31 * paread.c: New file that contains all HPPA/HPUX symbol readingStu Grossman3-10/+432
code. * dbxread.c: Remove almost all HPPA/HPUX symbol reading code. * (dbx_symfile_init): Use sizeof(long) instead of 4. * (dbx_symfile_offsets): Make static. * (pastab_build_psymtabs): New interface routine for paread to send stabs into dbxread. * gdb-stabs.h: Remove gobs of HPPA cruft.
1992-12-31 * c-exp.y, m2-exp.y (yyrule, yyname): Remap like other yy* namesFred Fish4-0/+12
for byacc. **** start-sanitize-chill **** * ch-exp.y (yyrule, yyname): Remap like other yy* names for byacc. **** end-sanitize-chill ****
1992-12-31 * c-exp.y, m2-exp.y (yyreds, yytoks): Remap like other yy* names.Fred Fish5-43/+255
* c-exp.y, m2-exp.y (YYDEBUG): Define if MAINTENANCE_CMDS is defined and YYDEBUG is not already defined. * c-exp.y (strncmp): Replace throughout with STREQN, missed them during the previous replacements. * printcmd.c (_initialize_printcmd): Update internal documentation for "set" command to note that the assignment syntax is language dependent. **** start-sanitize-chill **** * ch-exp.y (yyreds, yytoks): Remap like other yy* names. * ch-exp.y (YYDEBUG): Define if MAINTENANCE_CMDS is defined and YYDEBUG is not already defined. * ch-exp.y (GDB_REGNAME, GDB_LAST, GDB_VARIABLE, GDB_ASSIGNMENT, single_assignment_action): New terminals and nonterminal for gdb extensions to chill expression grammer. * ch-exp.y (match_dollar_tokens): Lexer routine to match all tokens that start with '$' (register names, convenience vars, etc). * ch-exp.y (tokentab2): Add GDB_ASSIGNMENT. * ch-exp.y (yylex): Call match_dollar_tokens. **** end-sanitize-chill ****
1992-12-31update commentsDavid D. Zuhn1-10/+10
1992-12-30A bunch of changes to COFF support. See the ChangeLog.Ian Lance Taylor9-478/+545