aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-03-07 * config/*-gdb.exp: returns an error, rather than exiting onRob Savoye1-0/+15
internal errors.
1993-03-07Doesn't exit after internal errors.Rob Savoye5-24/+25
1993-03-06* am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.John Gilmore2-8/+21
(examine_tag): Use it. (read_register_stack): Only look in the local registers for a memory address if it's between rfb and rsp; go to memory otherwise.
1993-03-06* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.John Gilmore2-17/+9
Remove reginv command. (reginv_com): Remove ancient kludge command.
1993-03-06* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so thatK. Richard Pixley2-0/+4
irix4 will again compile.
1993-03-06* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.K. Richard Pixley2-5/+2
1993-03-06accept mips-sgi-irix4* for irix4.K. Richard Pixley2-1/+9
1993-03-05(print_register_hook): Lint.Steve Chamberlain1-38/+37
1993-03-05Lint fixes from Paul Eggert (eggert@twinsun.com):John Gilmore2-3/+11
* command.c (do_setshow_command): var_uintegers are unsigned. * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes): unsigned, since they use hex values with the high bit set.
1993-03-05 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):Fred Fish2-2/+5
* m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to access symbol name.
1993-03-05 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): EncloseFred Fish2-6/+9
macro definitions in parenthesis. Bug reported by karl@hq.ileaf.com.
1993-03-04 * dbxread.c (dbx_symfile_init): Catch the case where there isFred Fish1-0/+6
no string table, but the only way we find out is by reading zero bytes from EOF.
1993-03-04 * dbxread.c (dbx_symfile_init): Make size of the string tableFred Fish2-35/+53
size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the offset to the string table is nonzero and handle the nonexistant string table case, should it occur. Ensure that the string table size read from the file is reasonable, with a minimum lower bound of DBX_STRINGTAB_SIZE_SIZE instead of zero.
1993-03-03Always keep simulatorsSteve Chamberlain1-27/+1
1993-03-03 * Makefile.in: Changes to build testsuite correctly.Ian Lance Taylor1-0/+10
(FLAGS_TO_PASS): Added CXX and CXXFLAGS. (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables. (TARGET_FLAGS_TO_PASS): New variable. (SUBDIRS): Added testsuite. (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that testsuite is compiled with CC_FOR_TARGET rather than CC.
1993-03-03 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,Fred Fish7-3/+33
reported by mycroft@gnu.ai.mit.edu. (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>) * configure.in (vax-*-ultrix2*): New triplet. * config/vaxult2.mh: New file. * xm-vaxult2.h: New file.
1993-03-03"make check" now works!Rob Savoye1-1/+5
1993-03-03 * c-exp.y (parse_number): Change high_bit to unsigned.Fred Fish6-18/+43
* demangle.c: Change all references to cfront to ARM, since the actual algorithm is the one specified in the Annotated Reference Manual. This was confusing users into thinking that full cfront support was implemented. * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type directly to lookup_struct_elt_type, which will do the dereferencing itself. * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix NULL dereferencing bug for unnamed structs, comment out questionable code.
1993-03-02* coffread.c (process_coff_symbol): Change PCC argument correctionJohn Gilmore2-1/+14
so that it only happens on big-endian targets; so that it only happens if the short or char argument is aligned on an int boundary; and so that it changes the location, rather than the type, of the argument. These changes tend to parallel similar (old) changes in stabsread.c. * coffread.c (coff_read_enum_type): Use the specified size for enums, don't assume that they are int-sized. * c-valprint.c (c_val_print): Don't assume enums are the same as ints.
1993-03-02 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by MichaelJohn Gilmore2-1/+12
Rendell, <michael@mercury.cs.mun.ca>.
1993-03-01 * language.h (local_decimal_format_custom): Add prototype.Fred Fish3-0/+24
* language.c (local_decimal_format_custom): Add function, bug reported by Robert R. Henry (rrh@tera.com).
1993-02-27* xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reportedJohn Gilmore2-1/+17
by Josef Leherbauer, joe@takeFive.co.at.
1993-02-25 * configure.in (mips-idt-ecoff): New target.Ian Lance Taylor3-0/+250
* config/mips-gdb.exp: New file for remote board using MIPS remote debugging protocol.
1993-02-25 * Redid configuration scheme. Removed gdb.t*/configure.in.Ian Lance Taylor3-15/+13
Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and distclean targets. Built executables via .o files. Adjusted tests to account for source files in $(srcdir) rather than $(objdir). * lib/gdb.exp (runto): Don't expect () after the function name, because it may have arguments.
1993-02-25Remove remnants of NAMES_HAVE_UNDERSCORE.John Gilmore35-203/+38
1993-02-25 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contentsFred Fish1-0/+6
of demangled name fields to NULL if no demangling exists for a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new symbols if their language is known at the time they are created, but sometimes the language is not known until later.
1993-02-24 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,Ian Lance Taylor1-0/+21
gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added expected failures for mips-idt-* and mips-sgi-*. * gdb.t00/default.exp (attach): Kill process if requested. * gdb.t00/help.exp (help target core, help target): Accept a gdb that does not read core files. * gdb.t01/run.exp: Removed checks for exit status code. * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that it is linked in. * gdb.t03/ptype.exp: Increase timeout when calling malloc. * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where appropriate, rather than doing it by hand. * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first execution. * gdb.t10/crossload.exp: Kill existing program if needed. * gdb.t15/funcargs.exp: Use delete_breakpoints function where appropriate, rather than doing it by hand. Always increase timeout for this test, not just for VxWorks.
1993-02-24 **** start-sanitize-chill ****Fred Fish1-0/+12
* gdb.t31/chillvars.exp (test_structs): New proc to test printing of Chill STRUCT types and STRUCT values. * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather than "char". * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1, struct2): New struct definitions and initializations to test simple Chill STRUCT types. **** end-sanitize-chill ****
1993-02-24 **** start-sanitize-chill ****Fred Fish3-12/+170
* ch-typeprint.c (chill_print_type_base): Name changed to chill_type_print_base to match pattern for C and C++ names. * ch-typeprint.c (chill_print_type): Change "char" to "CHAR" to be consistent with other usages. * ch-typeprint.c (chill_type_print_base): Add support for printing Chill STRUCT types. * ch-valprint.c: Include values.h. * ch-valprint.c (chill_print_value_fields): New function and prototype for printing Chill STRUCT values. * ch-valprint.c (chill_val_print): Fix call to val_print_string that was being called with two args instead of three. * ch-valprint.c (chill_val_print): Call chill_print_value_fields to print Chill STRUCT values. **** end-sanitize-chill ****
1993-02-24 *configure.in: added testsuite to configdirs.Mike Werner2-1/+5
1993-02-23 * gdb.t00/teststrategy.exp: Track reversion in gdb to not printFred Fish1-0/+25
the null byte at the end of strings. * gdb.t00/default.exp: Make show version insensitive to copyright date. * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned to avoid dependencies on target char signedness. * gdb.t16/printcmds.exp: Update expected results for explicitly unsigned char. * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should now work. * gdb.t21/demangle.exp: Add many more patterns for template demangling, most of them being expected failures. * gdb.t21/demangle.exp (proc demangle): Quote the demangled string we are matching for, to match on the whole string. * gdb.t21/demangle.exp: Add many new test strings to demangle, and fix a whole bunch that had incorrect expected output but were passing anyway because of the bug in "proc demangle". **** start-sanitize-chill **** * gdb.t31/chillvars.exp: Remove setup_xfail for printing string type. * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles. **** end-sanitize-chill ****
1993-02-23Continue sanitizing Chill related entries...Fred Fish1-2/+4
1993-02-23 * doc/stabs.texi: The `this' pointer is now known by the nameMike Stump2-4/+9
`this' instead of `$t'.
1993-02-23 * ch-lang.c (chill_create_fundamental_type): Track compilerFred Fish3-19/+40
change that now emits debugging info with the type long for Chill longs. * dwarfread.c (read_tag_string_type): Rewrite to allow forward references of TAG_string_type DIEs in user defined types.
1993-02-22 * remote-mips.c: New file; implements MIPS remote debuggingIan Lance Taylor8-54/+259
protocol. * config/idt.mt: New file; uses remote-mips.c * configure.in (mips-idt-ecoff): New target; uses idt.mt. * mips-tdep.c (mips_fpu): New variable; controls use of MIPS floating point coprocessor. (mips_push_dummy_frame): If not mips_fpu, don't save floating point registers. (mips_pop_frame): If not mips_fpu, don't restore floating point registers. (_initialize_mips_tdep): New function; let the user reset mips_fpu variable. * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not mips_fpu, don't use fp0 as floating point return register. (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point registers. Also added remote-mips.c to .Sanitize file.
1993-02-22 * gdb/testsuite: made modifications to testcases, etc., to allowMike Werner8-0/+510
them to work properly given the reorganization of deja-gnu and the relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22Correct incorrect attribution.Ian Lance Taylor1-1/+1
1993-02-22 * stabs.texinfo: Fix for array types to mention lower bounds.Per Bothner2-2/+7
1993-02-21 * gdb/testsuite: Initial creation of gdb/testsuite.Mike Werner7-0/+1134
Migrated dejagnu testcases and support files for testing nm to gdb/testsuite from deja-gnu. These files were moved "as is" with no modifications. This migration is part of a major overhaul of dejagnu. The modifications to these testcases, etc., which will allow them to work with the new version of dejagnu will be made in a future update.
1993-02-20Add reminders for next release.John Gilmore2-0/+66
1993-02-19Wish I'd figured this one out 24 hours ago....Ian Lance Taylor1-0/+5
Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com) * mipsread.c (parse_lines): Correct check for files compiled with -g1.
1993-02-19* Makefile.in (VERSION): 4.8.1 to distinguish local versions.John Gilmore1-1/+5
1993-02-19Fix up NEWS file for G++ bug.John Gilmore1-1/+14
1993-02-19Update for gdb-4.8John Gilmore1-108/+79
1993-02-19for a baselineStu Grossman1-0/+158
1993-02-19* README: Update for release.John Gilmore1-1/+2
1993-02-19* Makefile.in (VERSION): GDB-4.8 release!John Gilmore1-0/+4
(not really yet, but we're getting ready)
1993-02-19* gcc.patch: Update for a different GCC (G++) bug.John Gilmore4-82/+141
* main.c (print_gdb_version): Update copyright year to 1993. * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4, conditionalize this file on it. FIXME, right way is to split these into two config files. (ATTACH_DETACH): Define for BSD 4.4 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3. (U_REGS_OFFSET): Revise for 4.4. (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet. * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN, LONG_MAX into this file to avoid cpp "redefinition" warnings.
1993-02-19 * am29k-pinsn.c (print_insn): Minor nits with const.Stu Grossman3-6/+13
* am29k-tdep.c: More minor nits with arg types for supply_register, NULL vs. 0, read_register_gen, & reginv_com.
1993-02-19* nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not caddr_t.K. Richard Pixley2-2/+18