aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-12-11 * ch-typeprint.c (chill_type_print_base): Slightly change of printingWilfried Moser2-1/+7
of variant structures.
1995-12-11 * valops.c (value_cast): Handle casts to and from TYPE_CODE_CHAR.Per Bothner3-5/+16
* ch-exp.c (match_integer_literal): Fix long long support. * gdbtypes.c (get_discrete_bounds): Make TYPE_LENGTH (type) == sizeof (LONGEST) case work OK.
1995-12-09 * coffread.c, dbxread.c, dstread.c, objfiles.c, os9kread.c,Fred Fish5-4/+9
symfile.c, symtab.c: Use "obstack.h" rather than <obstack.h>.
1995-12-09 * gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz.Fred Fish1-0/+5
Fix typo.
1995-12-07 * builtins.ch, builtins.exp, Makefile.in: New test case.Wilfried Moser5-2/+453
1995-12-07Always keep the newly-added configure scripts.Stan Shebs5-6/+16
1995-12-07Keep ch-exp.c, not ch-exp.y now.Stan Shebs1-1/+1
1995-12-07 * remote-mips.c (mips_receive_header): Allow mips_syn_garbage to beStu Grossman2-1/+18
user-settable (via set syn-garbage-limit). Setting it to -1 makes it unlimited.
1995-12-06 * gdbtypes.c (check_stub_method): Make sure we get back a functionBrendan Kehoe2-6/+13
string in the demangled name before we try to use it. fixes gdb/8306 (Mentor, ser/med)
1995-12-06 * monitor.c (monitor_expect_regexp): Make static, add prototype.Stu Grossman1-0/+6
* (monitor_read_memory_single): Call monitor_expect_regexp with pointer to getmem_resp_delim_pattern, not entire struct.
1995-12-06 * c-lang.h (c_op_print_tab): Don't declare, some compilersStan Shebs2-2/+6
consider illegal if structure not defined, and only used in c-lang.c anyway.
1995-12-05 * tests2.exp: Add compiling of the test case.Wilfried Moser2-0/+12
1995-12-03 * eval.c (evaluate_subexp_standard case): Fix typo.Per Bothner2-1/+5
1995-12-03 * ch-exp.c (parse_named_record_element): Avoid aggregrateJeff Law3-2/+11
initializations for automatic variables. * hppa-tdep.c (hppa_alignof): Fix typo in last change. Fixes minor build problems.
1995-12-03 * symfile.c (global_psymbols, static_psymbols): Remove, unused.Fred Fish2-8/+39
1995-12-02 * alpha-tdep.c (heuristic_proc_desc): Add heuristic toPeter Schauer2-1/+59
determine the return address register, needed for OSF/1-3.2C. * config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM): Define.
1995-12-02Fix typo; some progress in ppcbug supportMichael Meissner3-7/+14
1995-12-01Ooops. Fix to work with new scheme (where runtest invokes the compiler).Per Bothner1-5/+9
1995-12-01 * pr-8405.ch, pr-8405.exp, Makefile.in: New test case.Per Bothner5-1/+81
1995-12-01 * tests1.exp, tests2.exp (test_print_reject): Remove; causesPer Bothner3-229/+40
conflicts with later tests using test_print_reject in ../lib/gdb.exp. (passcount): Remove. * tests2.exp (test_print_accept): Removed. (test_write): Re-write to use gdb_test rather than test_print_accept. * tests1.exp (test_print_accept_exact): Removed. (tests_locations): Rewrite to use gdb_test and not above proc.
1995-12-01fix typoMichael Meissner2-1/+5
1995-12-01 * tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:Per Bothner8-53/+1730
New (extensive) test cases. * chexp.exp: Fix relations to return TRUE or FALSE.
1995-12-01 * language.c (lang_bool_type), language.h: New function.Per Bothner4-8/+42
* language.h (LA_BOOL_TYPE): New macro. * eval.c (evaluate_subexp_standard) Use LA_BOOL_TYPE instead of builtin_type_int where appropriate, * valarith.c (value_subscript): Likewise.
1995-12-01 * valops.c (value_slice): Implement (value) bitstring slices.Per Bothner2-20/+49
* valprint.c (val_print): If TYPE_LENGTH is zero, don't automatically print "<incomplete type>" - Chill has zero-length (string) types.
1995-12-01 * gdbtypes.c (check_stub_type): Removed; no longes needed.Per Bothner3-9/+7
* ch-exp.c (expect, parse_call): Tweak error messages.
1995-11-30 * Makefile.in: Add .exp.check rule.Per Bothner8-15/+40
* callch.ch: Add missing "%." to format strings. * callch.exp: Fix argument to gdb_load. * chexp.exp: Add specific error messages to test_print_reject calls. * misc.exp: Add a test for PR 8496. * pr-6632.exp, pr-8136.exp: Link executables from two .o files.
1995-11-30 * ch-exp.y: Replaced by ...Per Bothner13-2165/+2388
* ch-exp.c: New file. Use recursive-descent. Recognize labelled array tuples and powerset ranges. * Makefile.in: Update for no longer using yacc for ch-exp. * c-lang.c: Make various functions non-static. * c-lang.h: Add bunches of prototypes. * cp-valprint.c (cp_print_value_fields): Also take address. (cp_print_value): Likewise. Use baselcass_offset. * stabsread.c (current_symbol): New static variable. (type_synonym_name): Remove. (read_type): If copying, make copy be a TYPE_CODE_TYPEDEF. (read_array_type): Don't need to handle undefined element type here. (cleanup_undefined_types): Ditto. (read_range_type): Look for Chill ranges. * valops.c (value_assign): Fix case lval_internalvar - don't try to assign into old value (which might be too small!). (value_coerce_array): No longer need special VALUE_REPEATED handling. (value_arg_coerce): Cleaner array->pointer decay mechanism. (search_struct_field): Use baseclass_offset rather than baseclass_addr. (value_slice): Use get_discrete_bounds. * value.h (COERCE_VARYING_ARRAY): Take type argumnt as well. * values.c (baseclass_offset): Change parameter interface. (baseclass_addr): Removed. * c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30 * scm-valprint.c (scm_isymnames): Remove "#@" prefix.Per Bothner3-21/+23
(scm_scmval_print): Do not print "#@" prefix. * mdebugread.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30 * f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:Per Bothner6-251/+355
Add check_typedef/CHECK_TYPEDEF as needed. * f-typeprint.c: Various cleaning up. * valarith.c (value_subscript): Also subscript bitstrings (for Chill). * typeprint.c (print_type_scalar): Also support TYPE_CODE_RANGE. * eval.c (evaluate_subexp_standard case OP_ARRAY): Implement support for labelled array tuples and ranges in powerset tuples. (init_array_element): New function.
1995-11-30 * alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,Per Bothner10-40/+69
findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c, rs6000-tdep.c, symmisc.c, symtab.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30 * gdbtypes.h (enum type_code): Added TYPE_CODE_TYPEDEF.Per Bothner5-106/+161
(check_typedef): New prototype. (CHECK_TYPEDEF): New macro. (TYPE_DUMMY_RANGE): Removed. * gdbtypes.c (get_discrete_bounds): Fix paren error; make more robust. (create_array_type): Don't force_to_range_type; users of the array are responsible for handling non-range index types. (create_set_type): Likewise. (force_to_range_type): Removed. (check_typedef): New function handles stub types and typedefs. (check_stub_type): Just call check_typedef. (To be removed.) (recursive_dump_type): Handle TYPE_CODE_TYPEDEF. * ch-lang.c (type_lower_upper): Use get_discrete_bounds. (evaluate_subexp_chill): Handle string repetition. Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better. * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_TYPEDEF. Pass show=0 in recursive calls various places. (case TYPE_CODE_ARRAY): Don't require index type to have TYPE_CODE_RANGE. (case TYPE_CODE_RANGE): Don't need to support TYPE_DUMMY_RANGE. * gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places): Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-29 * top.c (command_line_input): Only strip out an initial #-comment.Per Bothner2-40/+10
Looking for internal comments is language-specific (breaks Scheme).
1995-11-29 * expression.h (enum exp_opcode): Add BINOP_RANGE.Per Bothner3-4/+19
* expprint.c (dump_expression): Support BINOP_RANGE. * eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error). (case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion. * ch-lang.c (chill_op_print_tab): Support BINOP_RANGE. (evaluate_subexp_chill): Error on BINOP_COMMA.
1995-11-29 * Makefile.in: Clean up so doc stuff stays in doc sub-dir.Per Bothner2-15/+13
1995-11-29Make debugging remote gdb friendlierMichael Meissner3-221/+66
1995-11-29Fix typo.David Edelsohn1-1/+1
1995-11-29 * Makefile.in (target_subdir): Define.David Edelsohn1-87/+289
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries. * configure.in (X_CFLAGS): Fix typo. (target_subdir): Set to "${target_alias}/" if cross. * configure: Regenerated.
1995-11-29 * Makefile.in (target_subdir): Define.David Edelsohn3-10/+28
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries. * configure.in (X_CFLAGS): Fix typo. (target_subdir): Set to "${target_alias}/" if cross. * configure.in: Regenerated.
1995-11-28 * dbxread.c (dbx_symfile_read): Set block_address_function_relativeDavid Edelsohn2-5/+7
for `pe' format files.
1995-11-28 * magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.Fred Fish8-1281/+1288
* magic.c: Renamed to gmagic.c in sympathy. * eval.c, gmagic.c, config/tm-magic.h: Include "gmagic.h" rather than "magic.h".
1995-11-27 * pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.Fred Fish2-2/+6
1995-11-27 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail forFred Fish3-14/+38
"bt in signals.exp". * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for "step over execarg initialization" and "step over corearg initialization". * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1995-11-25Left out of last cvs commit...Fred Fish1-0/+703
1995-11-25 From Rob Savoye (rob@poseidon.cygnus.com)Fred Fish50-1036/+2724
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in}, gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in}, gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig. * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure, gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files. * config/unix-gdb.exp: Make GDB global. * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp}, gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp}, gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues to returns as necessary, arrange for test to compile own testcase executable. * lib/gdb.exp: Changes for testsuite to compile own test cases. From Fred Fish (fnf@cygnus.com) * gdb.c++/classes.exp (test_pointers_to_class_members): Add clear_xfail at end of test which might not call either pass or fail. * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for "backtrace through signal handler".
1995-11-25 * mdebugread.c (handle_psymbol_enumerators, parse_symbol):Peter Schauer3-45/+113
Recognize enums from alpha cc -migrate. (upgrade_type): Pass correct fd to parse_symbol when parsing the index type of an array. (parse_procedure, parse_lines, psymtab_to_symtab_1): Handle unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x shared libraries. Use CORE_ADDR instead of `unsigned long' in procedure descriptor address computations. * symtab.c (decode_line_1): Prevent accidental strchr match of a null character with the terminating null character of gdb_completer_quote_characters. (cplusplus_hint): Make sure that only a single quote is printed in the hint message.
1995-11-24 * top.c (recurse_read_control_structure): Don't make cleanupsJeff Law2-13/+5
here. Callers handle that correctly. Fixes 6794.
1995-11-22 * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.Fred Fish3-1/+25
Also force HAVE_MMAP to be defined since autoconf is currently broken for detecting a working mmap under hpux. * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS to a better value suggested by Jeffrey A Law (law@cygnus.com).
1995-11-21 * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.Fred Fish1-0/+16
Also force HAVE_MMAP to be defined since autoconf is currently broken for detecting a working mmap under hpux.
1995-11-21 * objfiles.c (map_to_address): Have gdb print a warning when itFred Fish2-0/+10
is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and MMAP_INCREMENT defined (thus making it appear mmap doesn't work).
1995-11-20 * infrun.c (wait_for_inferior): Add support for dynamic functionStu Grossman2-1/+17
trampolines. These are pieces of code between the caller and the callee that figure out the address of the callee's code at run time. Upon entry, we can't figure out the callee's address, so we set a breakpoint within the trampoline where the address will be known, and continue the target. Once we hit the breakpoint, we break at the callee's address and proceed as usual. start-sanitize-gm * config/tm-magic.h: Define DYNAMIC_TRAMPOLINE_NEXTPC. Turn off IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE. end-sanitize-gm