aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1995-01-31 * config/m68k/monitor.mt,Jim Kingdon4-7/+9
config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put depfiles in TDEPFILES not REMOTE_O.
1995-01-31 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn'tJim Kingdon2-14/+29
remove them. * gdb.base/nodebug.exp: Accept "function" in addition to "text variable and "variable" in addition to "data variable". * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1995-01-31 From nigel@algor.co.uk.Steve Chamberlain2-4/+38
* ser-go32.c (dos_close): Don't crash if scb null. (dos_sendbreak): New function. (dos_ops): Point to dos_sendbreak. (dos_info): Calculate COM number correctly.
1995-01-31 * xcoffread.c (process_xcoff_symbol): Use new variablesJim Kingdon2-523/+706
func_symbol_type and var_symbol_type as type of functions and variables which don't have any stabs associated with them. Reindent most of function. (_initialize_xcoffread): Initialize *_symbol_type. * xcoffread.c (read_xcoff_symtab): Reindent most of function. Put C_HIDEXT symbols in the minimal symbols, rather than ignoring them (this part commented out as I didn't quite get it to work). (cs_to_section, find_targ_sec): New functions, to support above code. * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is actually present.
1995-01-31 * gdbtk.tcl (create_file_win): Disable old popup menu for sourceStu Grossman2-1/+4
window.
1995-01-31 * sparcl-tdep.c: Add `sparclite' target for doing serial and udpStu Grossman2-2/+647
downloads to SPARClite demo boards.
1995-01-30 * gdb.base/list.exp (test_forward_search): Set listsize to 4 notJim Kingdon1-0/+14
2. * gdb.base/list1.c (long_line): Add additional statement at start of function. * gdb.base/list.exp (test_forward_search): Update line number to reflect new statement.
1995-01-29 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has hadJim Kingdon1-23/+5
no hope of working as is for a long time (in particular, shebs' 27 Jan 95 change confuses the issue further--target_read_memory and xfer_core_file do *not* do the same thing in this context). Revise comment.
1995-01-28 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL forPeter Schauer2-29/+34
procedure linkage table symbols, it is no longer set due to the Jan 6 BFD change in bfd/elfcode.h.
1995-01-28 * gdb.disasm/Makefile.in (clean): Delete "errs" file.Jeff Law1-0/+9
* gdb.stabs/Makefile.in: Likewise. * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last change. Instead split the tests into smaller pieces. * gdb.disasm/hppa.s: Corresponding changes.
1995-01-28 * top.c (use_windows): Clarify comments.Stan Shebs2-5/+7
1995-01-28 * convex-tdep.c (xfer_core_file): Comment out.Stan Shebs5-7/+20
* config/convex/tm-convex.h (XFER_CORE_FILE): Remove. * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file references to target_read_memory. * gdbcore.h (xfer_core_file, core_open, core_detach): Remove declarations. * corelow.c (core_open, core_detach): Make static.
1995-01-28 * arm-tdep.c: Make it compile.Stan Shebs1-0/+12
(exec_file_command, xfer_core_file): Comment out. (arm_print_insn): Remove, now in libopcodes. (skip_prologue): Comment out most of body. (arm_frame_find_saved_regs): Move here from tm-arm.h. (_initialize_arm_tdep): Set tm_print_insn. * config/arm/tm-arm.h: Remove old refs to first_object_file_end. (XFER_CORE_FILE): Remove. (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
1995-01-27 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:Jim Kingdon2-1/+4
Quote ^C when passing it to stty. For some shells ^ is a pipe.
1995-01-27 * gdb.base/funcargs.exp: Modify many tests so that every testJim Kingdon1-0/+5
either passes or fails. Make some test names unique.
1995-01-27* Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.Jim Kingdon1-0/+4
1995-01-27 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:Jim Kingdon3-1/+122
Call stty to set interrupt character.
1995-01-27 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): CheckJim Kingdon3-3/+25
for HP assembler versus GNU assembler based on actual behavior of $(CC), rather than assuming that $(AS) is always the GNU assembler.
1995-01-27* TODO: Suggest a few more stepping tests.Jim Kingdon1-0/+4
1995-01-27 * symtab.c (find_pc_line): When subtracting one to get a lineJim Kingdon1-0/+3
number, make sure not to end up with zero.
1995-01-27 * remote-vx.c: Revert all of Kung's changes of 16 Jan. TheJim Kingdon2-171/+127
problems with those changes were (a) the file didn't compile, (b) they changed memset to bzero--memset is correct, (c) they took out code to deal with boards lacking floating point, (d) who knows what I didn't discover in a quick read.
1995-01-27 * sparcl-tdep.c: Clean up formatting and indentation.Stu Grossman2-96/+104
1995-01-26 * remote-hms.c (hms_ops): Change ref of hr_load_imageSteve Chamberlain2-292/+132
to gr_load_image. (dcache_flush, dcache_hit, dcache_value, dcache_fetch, dcache_poke, dcache_init): Deleted. (hms_open, hms_resume, hms_fetch_word, hms_store_word): Use dcache routines provided by remote-util.h
1995-01-26 * remote-hms.c (hms_ops): Change ref of hr_load_imageSteve Chamberlain2-1/+6
to gr_load_image.
1995-01-26New file.Steve Chamberlain1-0/+3
1995-01-26Add powerpc-*-eabi support.Michael Meissner3-0/+12
1995-01-26 * language.h (struct language_defn): New field c_style_arrays.Per Bothner8-0/+40
* language.c (unknown_language_defn, auto_language_defn, local_language_defn), c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn): Set c_style_arrays to true. * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn), f-lang.c (f_language_defn): Set c_style_arrays to false. * valops.c (value_string): If c_style_array is not set, allocate string in gdb (not inferior) using allocate_value. * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce): Only call value_coerce_array if current_language->c_style_arrays. * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.) * valops.c (chill_varying_type): New predicate. * valops.c (value_cast): Support assigning a fixed string or array to a variable string/array structure. * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound. Check index>=lowerbound, and then add lowerbound to index here, instead of in caller. Generalize to arbitrary lval_types. (value_subscript): Use enhanced value_subscripted_rvalue if c_style_arrays is false (and index is in range).
1995-01-26 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't beStu Grossman3-1/+14
found. * gdbtk.tcl: Initialize expr_update_list() to prevent errors when popping up expression window for the first time.
1995-01-26 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:Per Bothner1-0/+5
TYPE_LENGTH is length in bytes, not bits.