aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
AgeCommit message (Collapse)AuthorFilesLines
1993-07-08Initial versions of sparc64 port.David Edelsohn1-0/+4
Some stuff can be removed when sparc-tdep.c is upgraded.
1993-07-07misc fixes to .Sanitize filesJim Kingdon1-2/+0
1993-06-23do not keep alloca.cK. Richard Pixley1-1/+0
1993-06-21 * config/i386/*aix*, i386aix-nat.c: New files.Jim Kingdon1-0/+1
* configure.in: Use them. * alldeps.mak: List them. * coffread.c (decode_base_type): Deal with anonymous enum type. * i387-tdep.c (print_387_status_word): Add comment re "top". * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func. * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and only if not defined by a header file. * mipsread.c: Don't define L_SET or L_INCR.
1993-06-14add isi-xdep.cJim Kingdon1-0/+1
1993-06-11 * Rename remote-es1800.c to remote-es.cJim Kingdon1-2/+2
and remote-st2000.c to remote-st.c for 14-char filenames. config/m68k/{es1800,st2000}: Use the new names.
1993-06-03Add gdbserver directory.Stu Grossman1-0/+1
1993-06-03* remote-es1800.c: Fix typo.John Gilmore1-4/+13
.Sanitize: Add comments about what's getting deliberately ignored.
1993-05-31Keep ChangeLog-92Fred Fish1-0/+1
1993-05-29Add ser-tcp.c.Stu Grossman1-0/+1
1993-05-27added things-to-lose sectionsK. Richard Pixley1-0/+14
1993-05-04Update list of things explicitly sanitize away.Fred Fish1-1/+2
1993-05-02Remove commented out copies of monitor.h and remote-montor.cFred Fish1-2/+0
1993-05-01 * The following patches are from Jeffrey Law <law@cs.utah.edu>.Stu Grossman1-0/+2
* config/pa/hppabsd.mh: Add more files to NATDEPFILES. * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE. * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs. ptrace needs 5 arguments, #define ptrace to always pass zero as the 5th argument.
1993-04-27Support for Hitachi SHSteve Chamberlain1-0/+1
1993-04-23 * Merge in HPPA/BSD patches from Utah:Stu Grossman1-3/+1
* defs.h: Add const to 2nd arg of psignal prototype. * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with BSD now. * hppab-core.c: Deleted. No longer useful. * hppab-nat.c: #include more files. Use PT_WUREGS, not PT_WRITE_U. * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c. * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o. * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
1993-04-20 * Makefile.in: Add ${srcdir}/ to all source files.Jim Kingdon1-1/+0
(alldeps.mak): Add "${srcdir}/" to files in alldeps.mak. (TAGS): Deal with srcdir and new config directory scheme. createtags: Remove. Makefile.in (NONSRC): Remove createtags. alldeps.mak: Updated.
1993-04-20 * irix4-nat.c (fetch_core_registers): Special version of this forStu Grossman1-0/+1
Irix 4.x, which stores regs a bit differently from other /proc based systems. * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c to new file core-svr4.c. * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh, config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o to NATDEPFILES. * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
1993-04-16Remove chill sanitization stuff and add chill files to keep list.Fred Fish1-54/+5
1993-04-06*** empty log message ***Stu Grossman1-2/+2
1993-04-06am29k* -> a29k*Fred Fish1-2/+2
1993-03-25List the known things that are currently sanitized away. (SanitizeFred Fish1-2/+16
should support a separate list of these things and report them differently from unknown things that are sanitized away).
1993-03-25 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,Fred Fish1-0/+4
i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860 support that can't be integrated anyway due to lack of clear authorship.
1993-03-23Add h8500-tdep.c.Fred Fish1-0/+1
1993-03-23Tweak list of files to keep.Fred Fish1-1/+0
1993-03-23Remove files that moved to config/ and config/<cpu>.Fred Fish1-137/+0
1993-03-19 * ieee-float.c: Moved to ../libiberty.Per Bothner1-2/+0
* ieee-float.h: Moved to ../include. * Makefile.in: Update accordingly. * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn): Convert to stubs that call disassemblers in ../opcodes/*-dis.c. * m68k-tdep.c: Removed definition of ext_format ext_format_68881; it is now in ../opcodes/m68881-ext.c. * mips-tdep.c (mips_skip_prologue): Try to skip more of the prologue (some callers _do_ care). * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to new interface of ../opcodes/*-dis.c. * ch-exp.y: Add #include <ctype.h>.
1993-03-16Add testsuite to list of things to save.Fred Fish1-0/+1
1993-03-03 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,Fred Fish1-0/+1
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-02-22 * remote-mips.c: New file; implements MIPS remote debuggingIan Lance Taylor1-0/+1
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-16* Makefile.in (VERSION): Roll to 4.7.6.John Gilmore1-3/+0
(SFILES_SUBDIR): Add 29k-share/udi_soc. (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro. (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h. (depend): Fix bug where nm-files in config files weren't noticed. (make-proto-gdb-1): Avoid changing directories while building new prototype. Build SFILES_SUBSUBDIR with longer symlinks. .Sanitize: Remove am29k-opcode.h, convx-opcode.h, os68k-xdep.c.
1993-02-10Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+1
* Based on patch from Martin Walker <maw@netcom.com>: * nm-i386sco4.h: New file. Like nm-i386sco.h, but define ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH. * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
1993-01-31A few files have been removed...John Gilmore1-2/+0
1993-01-18.Sanitize: Add 29k-share and sparclite.Stu Grossman1-0/+2
1993-01-15 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.Steve Chamberlain1-0/+3
1993-01-15Add paread.c.Stu Grossman1-0/+2
1993-01-03 * remote-sim.c: first attempt at general simulator interfaceSteve Chamberlain1-0/+1
* 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.
1992-12-18 * Makefile.in (VERSION): Bump to 4.7.4.Fred Fish1-1/+13
* Makefile.in (SFILES_MAINDIR): Add typeprint.c, c-typeprint.c, m2-typeprint.c, c-valprint.c cp-valprint.c m2-valprint.c. * Makefile.in (HFILES): Add valprint.h. * Makefile.in (OBS): Add typeprint.o, c-typeprint.o, m2-typeprint.o, c-valprint.o, cp-valprint.o m2-valprint.o. * typeprint.c, typeprint.h: New files for language independent type printing functions. * c-typeprint.c, m2-typeprint.c: New files for language dependent type printing functions and definitions. * valprint.h: New include file for language independent value printing definitions. * c-valprint.c, cp-valprint.c, m2-valprint.c: New files for language dependent value printing functions. * c-exp.y (production ptype): Add range_type variable and use new create_range_type function. * c-exp.y (tokentab2, tokentab3), c-lang.c (c_op_print_tab), infcmd.c (path_var_name), language.c (unk_op_print_tab), m2-lang.c (m2_op_print_tab): Change from ANSI-obsolescent "const static" to ANSI-conformant "static const". * c-exp.y (c_create_fundamental_type): Remove unused nbytes. * c-exp.y (c_language_defn, cplus_language_defn): Add c_print_type, and c_val_print. * c-lang.h (c_print_type, c_val_print): Add prototypes. * coffread.c (decode_type): Add range_type variable and call to new create_range_type function. * complaints.c (complain): Remove unused val variable. * complaints.c (_initialize_complaints): Make it void. * convex-tdep.c (value_of_trapped_internalvar): Add range_type variable and call new create_range_type function. * defs.h (enum val_prettyprint): Move enum from value.h to here so we can avoid having to include value.h just for prototypes that need the enum (thanks ANSI). * dwarfread.c (struct_type): Local anonymous_size variable is only used if !BITS_BIG_ENDIAN. * dwarfread.c (decode_subscript_data_item): Add rangetype variable and call new create_range_type function. * elfread.c (elf_symfile_read): Remove unused dbx and text_sect variables. * eval.c (evaluate_subexp): Remove unused local variable name and the statement with no side effects that initializes it. * expprint.c (print_subexp): Change local_printstr to LA_PRINT_STRING. * gdbtypes.c (create_range_type): New function that creates a range type using code fragments from object file readers as an example of what has to be initialized. * gdbtypes.c (create_array_type): Removed index_type, low_bound, and high_bound parameters, replaced with a single range_type parameter. Change function body to use passed in range_type rather than handcrafting one. * gdbtypes.h (create_range_type): Add prototype. * gdbtypes.h (create_array_type): Change prototype parameters. * infrun.c (normal_stop): Remove unused local variables tem and c. * infrun.c (hook_stop_stub): Return 0 rather than random value. * language.c (unk_lang_print_type, unk_lang_val_print): Add stub functions that call error if called. * language.c (unknown_language_defn, auto_language_defn, local_language_defn): Add initializers unk_lang_print_type and unk_lang_val_print. * language.h (struct language_defn): Reformat for larger comments, add la_print_type and la_val_print members. Add LA_PRINT_TYPE and LA_VAL_PRINT macros. Change local_printchar to LA_PRINT_CHAR and local_printstr to LA_PRINT_STRING. * m2-lang.c (m2_create_fundamental_type): Remove unused local variable nbytes. * m2-lang.c (m2_language_defn): Add initializers m2_print_type and m2_val_print. * m2-lang.h (m2_print_type, m2_val_print): Add prototypes. * main.c (execute_command): Remove unused local variable cmdlines. * main.c (echo_command), stabsread.c (read_type), printcmd.c (clear_displays), symmisc.c (block_depth), values.c (clear_value_history): Make testing of truth value of assignment result explicit. * mipsread.c (upgrade_type): Update FIXME to include future use of create_range_type. * printcmd.c (ptype_command, ptype_eval, whatis_command, whatis_exp, maintenance_print_type): Move prototypes and functions to new typeprint.c. * printcmd.c (_initialize_printcmd): Move add_com calls for ptype_command and whatis_command to new typeprint.c. * ser-bsd.c (serial_open): Remove unused variable sgttyb. * source.c (find_source_lines): Local variable c only used when LSEEK_NOT_LINEAR is defined. * stabsread.c (read_array_type): Use new create_range_type function. * stabsread.c (read_range_type): Add new index_type variable and call new create_range_type function rather than handcrafting range types. * symmisc.c (type_print_1): Change usages to LA_PRINT_TYPE. * symtab.c (typedef_print usages): Use c_typedef_print, renamed. * symtab.c (type_print_base usages): Use c_type_print_base. * symtab.c (type_print_varspec_prefix usages): Use c_type_print_varspec_prefix. * symtab.c (type_print_method_args usages): Use cp_type_print_method_args. * valprint.c: Completely ripped apart and the fragments used to create c-valprint.c, cp-valprint.c, m2-valprint.c, and valprint.h. Remaining stuff is language independent. * value.h (struct fn_field): Forward declare for prototypes. * value.h (type_print_1): Remove prototype. * value.h (enum val_prettyprint): Moved to defs.h. * value.h (typedef_print): Prototype renamed to c_typedef_print. * value.h (baseclass_offset): Add prototype. **** start-sanitize-chill **** * Makefile.in (SFILES_MAINDIR): Add ch-typeprint.c, ch-valprint.c. * Makefile.in (OBS): Add ch-typeprint.o, ch-valprint.o. * ch-typeprint.c: New file for language dependent type printing. * ch-valprint.c: New file for language dependent value printing. * ch-exp.y (parse_number): Remove prototype and stub function. * ch-exp.y (decode_integer_literal): Removed unused digits and temp variables. * ch-exp.y (convert_float): Completely ifdef out for now. * ch-exp.y (tokentab2, tokentab3, tokentab4, tokentab5), ch-lang.c (chill_op_print_tab): Change from ANSI-obsolescent "const static" to ANSI-conformant "static const". * ch-exp.y (yylex): Add unhandled storage class enumeration literals to switch statement for completeness. * ch-lang.c (chill_create_fundamental_types): Remove unused nbytes variable. Change dummy type to 2 bytes to match int. Handle FT_VOID types gratuituously added to chill DWARF by compiler. Change FT_CHAR case to generate an TYPE_CODE_CHAR type rather than a one byte TYPE_CODE_INT type. * ch-lang.c (chill_language_defn): Add chill_print_type and chill_val_print. * ch-lang.h (chill_print_type, chill_val_print): Add prototypes. **** end-sanitize-chill ****
1992-12-15 * complaints.c: New file, code moved from utils.c.Fred Fish1-0/+2
* complaints.c (complain): Made into a varargs function. * complaints.h: New file, code moved from symfile.h. * Makefile.in (SFILES_MAINDIR): Add complaints.c. * Makefile.in (HFILES): Add complaints.h. * Makefile.in (OBS): Add complaints.o. * symfile.c (complaint_root, stop_whining, complaint_series, complain, clear_complaints, add_show_from_set for stop_whining): Moved to complaints.c. * symfile.h (struct complaint, complaint_root decl, complain prototype, clear_complaints prototype): Moved to complaints.h. * buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c, gdbtypes.c, mipsread.c, stbsread.c, symfile.c: Include complaints.h. Remove casts from arguments to complain(), which is now a varargs function, and remove unnecessary placeholder zero args. * defs.h (begin_line): Add prototype. * defs.h (vprintf_filtered): Add prototype. * dwarfread.c (varargs.h): Remove, no longer needed. * dwarfread.c (dwarfwarn): Remove prototype and function. * dwarfread.c (complaints): Define a bunch of complaints. * dwarfread.c (SQUAWK): Remove macro defs, convert all usages to standard complain() calls. * utils.c (begin_line): New function that ensures that whatever gets filter-printed next starts on its own line. * utils.c (vprintf_filtered): New func, like vfprintf_filtered, but to stdout (calls vfprintf_filtered internally).
1992-12-09 * c-exp.y, m2-exp.y: Migrate code that has nothing to do withFred Fish1-1/+8
expression parsing into c-lang.c and m2-lang.c respectively. * c-lang.c, m2-lang.c: New files, code migrated from c-exp.y and m2-exp.y respectively. * c-lang.h, m2-lang.h: New files, internal interfaces between c-* and m2-* files respectively. * Makefile.in (SFILES_MAINDIR): Add c-lang.c, m2-lang.c. * Makefile.in (HFILES): Add c-lang.h, m2-lang.h. * Makefile.in (OBS): Add c-lang.o, m2-lang.o. * expression.h (struct block): Forward declaration for prototypes. * language.h (struct objfile): Forward declaration for prototypes. **** start-sanitize-chill **** * Makefile.in (SFILES_MAINDIR): Add ch-lang.c. * Makefile.in (HFILES): Add ch-lang.h. * Makefile.in (OBS): Add ch-lang.o. * ch-exp.y: Migrate code that has nothing to do with expression parsing into ch-lang.c. * ch-lang.c: New file, code migrated from c-exp.y. * ch-lang.h: New file, internal interface between ch-* files. **** end-sanitize-chill ****
1992-11-16More fine-tuning of sanitize away chill stuff...Fred Fish1-1/+2
1992-11-16Fix typo.Fred Fish1-1/+1
1992-11-16First cut at sanitizing away the chill stuff.Fred Fish1-1/+41
1992-11-15 * Makefile.in (SFILES_MAINDIR): Add ch-exp.y.Fred Fish1-0/+1
* Makefile.in (YYFILES): Add ch-exp.tab.c. * Makefile.in (YYOBJ): Add ch-exp.tab.o. * Makefile.in (saber_gdb): Add unload of ch-exp.y and load of ch-exp.tab.c. * Makefile.in (distclean): Add target ch-exp.tab.c. * Makefile.in (realclean): Add rm of ch-exp.tab.c. * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add dependency on Makefile since it contains sed patterns used in generation. Add sed pattern to also delete #include of any malloc.h. * Makefile.in (ch-exp.tab.o, ch-exp.tab.c): New targets. * ch-exp.y: New expression parser, for GNU-Chill. * c-exp.y, expr.c, expression.h, language.c, m2-exp.y, parser-defs.h, valarith.c, valops.c, value.h: Remap macros and function names to conform to K&R terminology with respect to logical and bitwise operators: UNOP_ZEROP => UNOP_LOGICAL_NOT UNOP_LOGNOT => UNOP_COMPLEMENT BINOP_LOGAND => BINOP_BITWISE_AND BINOP_LOGXOR => BINOP_BITWISE_XOR BINOP_LOGIOR => BINOP_BITWISE_IOR BINOP_AND => BINOP_LOGICAL_AND BINOP_OR => BINOP_LOGICAL_OR PREC_OR => PREC_LOGICAL_OR PREC_AND => PREC_LOGICAL_AND PREC_LOGIOR => PREC_BITWISE_IOR PREC_LOGXOR => PREC_BITWISE_XOR PREC_LOGAND => PREC_BITWISE_AND value_zerop() => value_logical_not() value_lognot() => value_complement() * c-exp.y (c_op_print_tab): Add explicit empty terminator. * m2-exp.y (m2_op_print_tab): Add explicit empty terminator. * defs.h (enum language): Add language_chill. * dwarfread.c (set_cu_language): Add LANG_CHILL case and make LANG_MODULA2 a recognized language. * eval.c (evaluate_subexp): Add OP_BOOL case. * expprint.c (print_subexp): Add OP_BOOL case. * gdbtypes.h (enum_typecode): Note TYPE_CODE_BOOL used for Chill as well as Modula-2. * gdbtypes.y (builtin_type_chill_bool, builtin_type_chill_long, builtin_type_chill_ulong, builtin_type_chill_real): Add. * i387-tdep.c (sys/dir.h): Remove, appears to be unnecessary and is nonexistant in some SVR4 based systems. * language.c (DEFAULT_ALLOCSIZE): Change from 3 => 4. * language.c (set_language_command): Add chill. * language.c (binop_result_type, integral_type, character_type, boolean_type, structured_type, value_true, binop_type_check): Add language_chill cases. * language.h (_LANG_chill): Define. * m2-exp.y (number_sign, modblock): Make static, #ifdef out unused modblock. * m2-exp.y (ANDAND): Rename to LOGICAL_AND. * source.c (source_info): Fix minor nits, print "1 line" rather than "1 lines", and "language is <lang>". * symfile.c (deduce_language_from_filename): Recognize the filename extensions ".chill", ".c186", and ".c286" for Chill. * valarith.c (value_binop): Handle TYPE_CODE_BOOL as well as TYPE_CODE_INT and TYPE_CODE_FLOAT. * valprint.c (val_print): Print TYPE_CODE_BOOL type values as "TRUE" or "FALSE". * valprint.c (typedef_print): Add case for language_chill. * values.c (value_from_longest): Handle TYPE_CODE_BOOL.
1992-10-28hp300 native supportK. Richard Pixley1-1/+3
1992-10-28vax native supportK. Richard Pixley1-0/+1
1992-10-28add new nm files to HFILESK. Richard Pixley1-1/+3
1992-10-22Add nm-i386sco.h.Stu Grossman1-0/+1
1992-10-22sun4sol2 native stuffK. Richard Pixley1-0/+1
1992-10-21umax native supportK. Richard Pixley1-0/+1