aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-02-12 * language.h (struct language_defn): New field evaluate_exp.Per Bothner9-55/+119
* c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn), f-lang.c (f_language_defn), language.c (unknown_language_defn, auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn): Set evaluate_exp to evaluate_subexp_standard. * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific support for MULTI_SUBSCRIPT. (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill. * eval.c (enum noside): Move from here .... * expression.h (enum noside): ... to here. (evaluate_subexp_standard): New prototype. * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard. Removed lo-longer-needed test for chill_varying_type. (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
1995-02-12 * ch-exp.y (maybe_expression_list): New non-terminal.Per Bothner2-1/+13
(primitive_value): Allow empty parameter list.
1995-02-12 * symtab.c (add_param_to_type): Remove (commented-out) function,Per Bothner3-27/+7
since that functionality has been re-written. * coffread.c: Remove commented-out add_param_to_type support. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Likewise.
1995-02-12 * valops.c (value_arg_coerce): Now takes param_type argument.Per Bothner6-741/+103
(call_function_by_hand): Convert arguments with value_arg_coerce early, and overwrite original args with converted args. No longer need multiple calls to value_arg_coerce. (value_arg_push): Removed. * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce. * mips-tdep.c (mips_push_arguments): Likewise. * alpha-tdep.c (alpha_push_arguments): Likewise. * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments): Likewise. * value.h (value_arg_coerce): Remove declaration. (It's now static.) * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
1995-02-12 * buildsym.c (finish_block): If finishing a function without knownPer Bothner7-29/+92
parameter type info, set that from parameter symbols. * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC, print parameter types, if available. * ch-typeprint.c (chill_type_print_base): Likewise. * gdbtypes.h (struct type): Remove function type field. (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use function types now that we're also storing parameter types. And the payoff is much less. * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE. (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE. * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
1995-02-12 * gdb.base/langs.exp, gdb.base/langs*: New test.Jim Kingdon7-0/+105
* gdb.base/Makefile.in: Build it. * TODO: Remove item about checking that C names don't get C++ demangling applied; this test tests it.
1995-02-12* buildsym.c (start_subfile): Set language for f2c like for cfront.Jim Kingdon2-4/+15
1995-02-11 * gdb.texinfo (Setting): Talk about the language of a source fileJim Kingdon2-27/+69
versus the working language. The old documentation did not match what GDB did.
1995-02-10 * op50n-rom.c: Add the control registers.Rob Savoye1-5/+5
1995-02-10 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition toStan Shebs4-5/+13
after, any host/target/native libraries. * dcache.c (insque, remque): Remove declarations. * gdbtypes.h (type_code): Remove trailing comma. From Peter Schauer: * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef STATIC_NODEBUG_VARS inside case.
1995-02-09keep tm-pro.hStan Shebs1-0/+1
1995-02-09keep est.mtStan Shebs1-0/+1
1995-02-09 * gdb.stabs/weird.exp: Remove "Haven't examined" comment whichJim Kingdon1-0/+3
went with the const70 xfail. The xfail went away a year ago.
1995-02-09* gdb.base/signals.exp: Rename a bunch of tests to give unique names.Jim Kingdon1-0/+2
1995-02-09 * gdb.base/corefile.exp: Give backtrace test unique name. xfailJim Kingdon1-0/+3
for hp300.
1995-02-09* gdb.base/interrupt.exp: Also xfail hpux (for hp300).Jim Kingdon1-0/+2
1995-02-09* gdb.base/a1-selftest.exp: Don't run on hp300.Jim Kingdon2-0/+12
1995-02-09 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.Jim Kingdon4-0/+39
* partial-stab.h: Call it. * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call STATIC_TRANSFORM_NAME to get the name and use minimal symbols to get the address. * sparc-tdep.c (solaris_static_transform_name): New function.
1995-02-09 * somread.c (som_symtab_read): Handle dynamic relocation for bothJeff Law4-6/+65
text and data symbols. (som_symfile_offsets): If objfile is a shared library, then get text and data offsets from the shared library structures. * somsolib.c (som_solib_add): Copy the bfd pointer from the objfile rather than reopening the file again. (som_solib_section_offsets): New function. * somsolib.h (som_solib_section_offsets): Declare.
1995-02-09 * config/sparc/tm-sun4sol2.h, dbxread.c: RenameJim Kingdon17-49/+142
N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING. * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add filename field. * elfread.c (record_minimal_symbol_and_info), minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return newly created symbol. * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]: Set filename field of minimal symbol. * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]: Print filename field. * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile. * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y, m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c, os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c, printcmd.c, dbxread.c: Change callers to pass NULL for sfile. * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Find address of function from minimal symbols. * partial-stab.h, case 'f', 'F': Call find_stab_function_addr instead of getting pst->textlow from the stab. * minsyms.c (find_stab_function_addr): New function.
1995-02-09 * monitor.c: Fix so all the output shows up in the GUI commandRob Savoye2-21/+28
window.
1995-02-07Fix it so whitespace works out right even with sanitizationJim Kingdon1-1/+1
1995-02-07 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separateStan Shebs2-1/+11
line, so init.c generation works correctly. start-sanitize-arc * arc-tdep.c (_initialize_arc_tdep): Ditto. end-sanitize-arc
1995-02-07various ChangeLog housekeeping, andStan Shebs2-11/+17
Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com> * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
1995-02-06Fix string signifing the right target name.Rob Savoye1-1/+1
1995-02-06 * config/mips/idt.mt: Add support for the lsi33k target.Rob Savoye3-4/+4
* config/sparc/sun4sol2.mh: Add support for ser-tcp.
1995-02-06 * config/mips/idt.mt: Add support for ser-tcp and the lsi33kRob Savoye1-0/+8
target. * array-rom.c: Finish the rest of the support commands needed by GDB. * mips-tdep.c: Add LSI33k register names and processor type.
1995-02-06Add the rest of the commands needed by GDB.Rob Savoye1-31/+21
1995-02-06Add support for ser-tcp and the Array lsi33k target.Rob Savoye1-1/+1
1995-02-06 * gdbtk.c (gdb_disassemble): Deference pointer to function beforeJim Kingdon2-2/+9
calling it (pre-ANSI compilers generally require this).
1995-02-05 * Makefile.in (site.exp): Set host_alias and target_alias as wellJim Kingdon1-2/+9
as host_triplet and target_triplet.
1995-02-04 * arc.mt: add SER_HARDWIRE=ser-go32-para.o, to overwrite host .mh.Kung Hsu1-0/+1
1995-02-04 * go32.mh, xm-go32.h: redundant files, not needed.Kung Hsu2-48/+0
1995-02-04 * ser-go32-para.c (dos_read): fix syntax errors.Kung Hsu2-4/+9
1995-02-03 * core.c (dis_asm_read_memory), defs.h, gdbtk.c (gdb_disassemble),Stu Grossman7-108/+160
top.c : Get rid of dis_asm_read_memory_hook. We can now call the disassemblers directly and have no need for this hook anymore. * defs.h, printcmd.c: Make print_insn be static. * ser-go32.c (dos_comisr): Make this 8 bit clean. * (dos_open dos_close): Allow multiple opens to the same device. Use a ref count to prevent unwanted deallocations. * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32 happy. * (sparclite_ops): Switch to download_stratum. * target.h (enum strata): Move download_stratum before process_stratum so that executable targets get pushed on top of download targets.
1995-02-03 * array-rom.c: Remove the non GDB remote protocol config stuff.Rob Savoye3-174/+528
* monitor.c: All reading/writing functions for memory and registers work.
1995-02-03 * For arc specific changes.Kung Hsu1-0/+13
1995-02-03 * arc-tdep.c: new target dependent codes for arc processor.Kung Hsu4-0/+1636
* remote-arc.c: new file for arc-specific protocol through parallel line. * ser-go32-para.c: new file for go32 parallel port communication. * .Sanitize: sanitize arc specific files out.
1995-02-03 * config/arc/.Sanitize: New file for config/arc directory.Kung Hsu5-0/+394
* config/arc/arc.mt: new target makefile for arc processor. * config/arc/tm-arc.h: new target header for arc processor. * config/arc/go32.mh: new go32 host makefile for arc processor. * config/arc/xm-go32.h: new go32 host header for arc processor.
1995-02-02 * Makefile.in (VERSION): Bump to 4.13.2.Stan Shebs2-2/+20
1995-02-02 * f-typeprint.c (f_type_print_varspec_suffix): Print array indexPer Bothner4-34/+24
ranges in reverse order. * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation. * eval.c (evaluate_subscript): Don't call value_subscript, since it adjusts for lower bound and enforces ranges. * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR. * eval.c, parse.c: Removed uses of removed opcodes.
1995-02-02 * stabs.texinfo (Source Files): Document N_SO used to mark the endJim Kingdon2-0/+14
of a source file.
1995-02-02 * eval.c (evaluate_subexp): Clean up handling ofPer Bothner18-425/+181
OP_UNDETERMINED_ARGLIST (no backtracking, more general). * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using LA_PRINT_STRING, and not val_print_string (which reads from inferior). * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function duplicate function made redundant by chill_varying_type. Re-write of f77 string and complex number support: * language.h (struct language_defn): New fields string_lower_bound and string_char_type. * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn), language.c (unknown_language_defn, auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn), f-lang.c (f_language_defn), ch-lang.c (chill_language_defn): Set new fields. * gdbtypes.c (create_string_type): Use new string_char_type field. * valops.c (value_string): Use new string_lower_bound field. * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed. * f-lang.c (f_create_fundamental_type, _initialize_f_language), m2-lang.c (m2_create_fundamental_type), gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX. * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex): Removed. Use builtin_type_complex and builtin_type_double_complex. * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX. * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX. * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type, f77_create_literal_string_type): Removed. * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR, VALUE_SUBSTRING_MYADDR): Removed. * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to OP_COMPLEX. * parse.c: Update accordingly. * f-valprint.c (f77_print_cmplx): Removed. (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating. * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY. * eval.c (evaluate_subexp): For case OP_ARRAY, don't call f77_value_literal_string. * valops.c, value.h (f77_value_literal_string, f77_value_substring, f77_assign_from_literal_string, f77_assign_from_literal_complex): Removed. (value_assign): No longer need to handle literal types. * valops.c (f77_value_literal_complex), value.h: Re-written and renamed to value_literal_complex. Last arg is now a (complex) type. * valops.c (f77_cast_into_complex): Re-written and renamed to cast_into_complex. * eval.c (evaluate_subexp): Update accordingly.
1995-02-02 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don'tPer Bothner3-7/+9
print address for non-'s'-formats. * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead of chill_is_varying_struct.
1995-02-02 gcc -Wall lint.Stan Shebs6-185/+155
* alpha-tdep.c (alpha_in_lenient_prologue): Comment out. (after_prologue): Remove unused local b. * procfs.c (thread.h): Include. (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use nested braces in initializer. * top.c (initialize_targets, initialize_utils): Declare. (locate_arg, insert_args): Add parens around tested assignments. * remote-utils.c (sr_scan_args): Remove decl of strtol. * remote.c (thread.h): Include. (remote_wait): Remove unused local p2. * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of registers array. defs.h (stdlib.h): Include. (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare. (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr, strtok, strerror): Don't specify parameter types in declaration.
1995-02-01 * tuples.ch, tuples.exp, Makefile.in: New test case.Per Bothner5-2/+154
1995-02-01 * ch-exp.y (value_string_element, string_primitive_value,Per Bothner9-151/+397
start_element, left_element, right_element, slice_size, lower_element, upper_element, first_element): Removed. (value_string_slice, value_array_slice): Replaced by ... (slice): New non-terminal, with working slice support. (primitive_value_lparen, rparen): New non-terminals. (maybe_tuple_elements): New non-terminal, to allow empty tuples. (idtokentab): Added "up". * value.h (COERCE_VARYING_ARRAY): New macro. * valarith.c (value_subscript): Use it. * valops.c (value_cast): Likewise. Also, do nothing if already correct type, and allow converting from/to range to/from scalar. * valops.c, value.h (varying_to_slice, value_slice): New functions. * eval.c (OP_ARRAY): Add cast for array element. * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes. * valops.c (chill_varying_type): Moved function frp, here ... * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here. * parse.c (length_of_subexp, prefixify_subexp): Add support for TERNOP_SLICE, TERNOP_SLICE_COUNT. * expprint.c (print_subexp, dump_expression): Likewise. * eval.c (evaluate_subexp): Likewise. * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call value_x_binop on a Chill varying string.
1995-02-01 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (sameJim Kingdon1-8/+9
places as other ecoff systems).
1995-02-01 * gdb.base/nodebug.exp: Add xfails for ultrix (same places asJim Kingdon2-14/+17
other ecoff systems).
1995-02-01 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty onJim Kingdon2-3/+12
ultrix.