1991-05-30 11:22:16 +02:00
|
|
|
# .Sanitize for devo/gdb.
|
1991-05-24 00:06:18 +02:00
|
|
|
|
1994-03-23 23:16:54 +01:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1991-05-24 00:06:18 +02:00
|
|
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
|
|
|
# and must exist in the order specified by this file. Each directory
|
|
|
|
# in the tree will be processed, top down, in the following order.
|
|
|
|
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
|
|
# before anything else is done. Blank lines will also be squashed
|
|
|
|
# out.
|
|
|
|
|
|
|
|
# The lines between the "Do-first:" line and the "Things-to-keep:"
|
|
|
|
# line are executed as a /bin/sh shell script before anything else is
|
1994-03-23 23:16:54 +01:00
|
|
|
# done in this directory.
|
1991-05-24 00:06:18 +02:00
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
1995-04-12 17:45:15 +02:00
|
|
|
arc_files="arc-tdep.c remote-arc.c"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
|
|
keep_these_too="${arc_files} ${keep_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping ${arc_files}
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
lose_these_too="${arc_files} ${lose_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Deleting ${arc_files}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
1995-07-30 00:43:07 +02:00
|
|
|
gdbtk_files="README.GDBTK gdbtk.c gdbtk.tcl"
|
1994-12-31 00:42:46 +01:00
|
|
|
|
1995-03-10 20:39:59 +01:00
|
|
|
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
|
|
|
|
lose_these_too="${gdbtk_files} ${lose_these_too}"
|
1994-12-31 00:42:46 +01:00
|
|
|
if [ -n "${verbose}" ] ; then
|
1995-03-10 20:39:59 +01:00
|
|
|
echo Deleting ${gdbtk_files}
|
1994-12-31 00:42:46 +01:00
|
|
|
fi
|
|
|
|
else
|
1995-03-10 20:39:59 +01:00
|
|
|
keep_these_too="${gdbtk_files} ${keep_these_too}"
|
1994-12-31 00:42:46 +01:00
|
|
|
if [ -n "${verbose}" ] ; then
|
1995-03-10 20:39:59 +01:00
|
|
|
echo Keeping ${gdbtk_files}
|
1994-12-31 00:42:46 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
1995-07-30 00:43:07 +02:00
|
|
|
# WinGDB files are not really ready to be part of FSF releases, but
|
|
|
|
# keep them for progressives and such.
|
|
|
|
|
|
|
|
mswin_files="mswin"
|
|
|
|
|
|
|
|
if ( echo $* | grep lose\-mswin > /dev/null ) ; then
|
|
|
|
lose_these_too="${mswin_files} ${lose_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Deleting ${mswin_files}
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
keep_these_too="${mswin_files} ${keep_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping ${mswin_files}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
1995-10-27 18:48:36 +01:00
|
|
|
gm_files="magic.c magic.h"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-gm > /dev/null ) ; then
|
|
|
|
keep_these_too="${gm_files} ${keep_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping ${gm_files}
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
lose_these_too="${gm_files} ${lose_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Deleting ${gm_files}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
1991-05-24 00:06:18 +02:00
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
|
|
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
|
|
|
# Directories listed in this section will have their own Sanitize
|
|
|
|
# called. Directories not listed will be removed in their entirety
|
|
|
|
# with rm -rf.
|
|
|
|
|
|
|
|
Things-to-keep:
|
|
|
|
|
|
|
|
.gdbinit
|
1993-01-18 23:47:55 +01:00
|
|
|
29k-share
|
1991-05-24 00:06:18 +02:00
|
|
|
COPYING
|
|
|
|
ChangeLog
|
|
|
|
ChangeLog-3.x
|
1992-01-27 21:32:50 +01:00
|
|
|
ChangeLog-9091
|
1993-05-31 08:04:59 +02:00
|
|
|
ChangeLog-92
|
1994-01-04 15:58:43 +01:00
|
|
|
ChangeLog-93
|
1995-01-05 20:44:58 +01:00
|
|
|
ChangeLog-94
|
1991-07-04 17:59:47 +02:00
|
|
|
Makefile.in
|
1992-07-23 20:57:29 +02:00
|
|
|
NEWS
|
1991-05-24 00:06:18 +02:00
|
|
|
README
|
|
|
|
TODO
|
1993-04-06 04:25:51 +02:00
|
|
|
a29k-tdep.c
|
1993-08-03 02:55:55 +02:00
|
|
|
a68v-nat.c
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 02:18:43 +02:00
|
|
|
aclocal.m4
|
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in: Add new files and dependencies.
* configure.in: Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
1993-10-05 20:44:57 +01:00
|
|
|
alpha-nat.c
|
|
|
|
alpha-tdep.c
|
1993-08-03 02:55:55 +02:00
|
|
|
altos-xdep.c
|
gcc -Wall lint:
* breakpoint.c (watchpoint_check): Remove unused variable b.
* stack.c (print_frame_info): Move sp and buf inside #if.
* eval.c (evaluate_subexp): Remove unused variables pp,
mangle_ptr, ptr, and mangle_tstr.
* valarith.c (value_x_binop): Remove unused variables mangle_tstr
and mangle_ptr.
* symtab.c (lookup_symtab): Put variable copy inside #if.
(decode_line_1): Put variable q1 inside #if 0.
* target.h: Declare target_link.
* infrun.c (wait_for_inferior): Remove unused variables signame.
* remote.c (remote_resume): Remove unused variable name.
* c-exp.y (parse_number): Parenthesize operand of shift.
* dbxread.c (record_minimal_symbol): Parenthesize operand of &&
(this is a semantic change, the warning seems to have detected a bug).
* dbxread.c (end_psymtab): Move variable p1 inside #if.
* coffread.c: Move variable temptype inside #if.
* ch-typeprint.c (chill_type_print_base): Remove unused variable
name.
* ch-valprint.c: #include typeprint.h and ch-lang.h.
(chill_val_print): Remove unused variable in_range.
(chill_val_print): Remove statement "length > TYPE_LENGTH (type);".
(chill_val_print): Add default case for switch.
* stabsread.h: Declare stabsect_build_psymtabs.
* os9kread.c (read_minimal_symbols): Make this return void.
(os9k_symfile_read): Remove unused variables stb_exist and val.
(os9k_symfile_init): Remove unused variable val.
(fill_sym): Remove unused variable id.
(read_os9k_psymtab): Put variable back_to inside #if 0. Remove
unused variable nsl.
Remove unused variable symfile_bfd.
#if 0 unused variables lbrac_unmatched_complaint and
lbrac_mismatch_complaint.
Remove declaration for non-existent function os9k_next_symbol_text.
* annotate.c, annotate.h: New files, containing a function for
each annotation which outputs it.
* Move breakpoints_changed from breakpoint.c to annotate.c.
* breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c,
printcmd.c, source.c, stack.c, utils.c, valprint.c:
Use annotate.c functions to output annotations.
* Makefile.in (OBS): Add annotate.o.
1994-05-13 20:18:57 +02:00
|
|
|
annotate.c
|
|
|
|
annotate.h
|
1991-05-24 00:06:18 +02:00
|
|
|
arm-convert.s
|
|
|
|
arm-tdep.c
|
|
|
|
arm-xdep.c
|
|
|
|
blockframe.c
|
|
|
|
breakpoint.c
|
|
|
|
breakpoint.h
|
1991-10-26 08:22:46 +01:00
|
|
|
buildsym.c
|
|
|
|
buildsym.h
|
1995-09-29 01:14:01 +01:00
|
|
|
callback.c
|
|
|
|
callback.h
|
1991-09-19 12:40:03 +02:00
|
|
|
c-exp.y
|
* c-exp.y, m2-exp.y: Migrate code that has nothing to do with
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-12-09 07:50:30 +01:00
|
|
|
c-lang.c
|
|
|
|
c-lang.h
|
* Makefile.in (VERSION): Bump to 4.7.4.
* 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-18 21:21:32 +01:00
|
|
|
c-typeprint.c
|
|
|
|
c-valprint.c
|
1992-03-30 01:26:47 +02:00
|
|
|
call-cmds.h
|
1993-04-17 00:26:21 +02:00
|
|
|
ch-exp.y
|
|
|
|
ch-lang.c
|
|
|
|
ch-lang.h
|
|
|
|
ch-typeprint.c
|
|
|
|
ch-valprint.c
|
1993-10-03 00:09:51 +01:00
|
|
|
coff-solib.c
|
|
|
|
coff-solib.h
|
1991-05-24 00:06:18 +02:00
|
|
|
coffread.c
|
|
|
|
command.c
|
|
|
|
command.h
|
* complaints.c: New file, code moved from utils.c.
* 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-15 13:18:53 +01:00
|
|
|
complaints.c
|
|
|
|
complaints.h
|
1991-11-21 04:08:51 +01:00
|
|
|
config
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 02:18:43 +02:00
|
|
|
configure
|
1991-05-24 00:06:18 +02:00
|
|
|
configure.in
|
|
|
|
convex-tdep.c
|
|
|
|
convex-xdep.c
|
|
|
|
copying.awk
|
|
|
|
copying.c
|
1994-06-24 18:26:33 +02:00
|
|
|
core-sol2.c
|
1993-08-03 02:55:55 +02:00
|
|
|
core-svr4.c
|
1995-11-05 01:58:57 +01:00
|
|
|
corefile.c
|
1991-05-24 00:06:18 +02:00
|
|
|
coredep.c
|
1992-09-30 23:39:02 +01:00
|
|
|
corelow.c
|
* Makefile.in (VERSION): Bump to 4.7.4.
* 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-18 21:21:32 +01:00
|
|
|
cp-valprint.c
|
1995-04-17 08:31:39 +02:00
|
|
|
cpu32bug-rom.c
|
1994-07-17 23:08:42 +02:00
|
|
|
cxux-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
dbxread.c
|
1993-09-01 00:13:29 +02:00
|
|
|
dcache.c
|
|
|
|
dcache.h
|
1991-05-24 00:06:18 +02:00
|
|
|
defs.h
|
1993-07-30 09:20:31 +02:00
|
|
|
delta68-nat.c
|
1992-07-14 04:13:12 +02:00
|
|
|
demangle.c
|
1991-05-24 00:06:18 +02:00
|
|
|
doc
|
1993-07-12 01:29:31 +02:00
|
|
|
dpx2-nat.c
|
1993-10-22 21:25:43 +01:00
|
|
|
dst.h
|
|
|
|
dstread.c
|
1991-10-24 19:07:57 +01:00
|
|
|
dwarfread.c
|
|
|
|
elfread.c
|
1991-05-24 00:06:18 +02:00
|
|
|
environ.c
|
|
|
|
environ.h
|
|
|
|
eval.c
|
|
|
|
exec.c
|
|
|
|
expprint.c
|
|
|
|
expression.h
|
1994-08-20 00:01:24 +02:00
|
|
|
f-exp.y
|
|
|
|
f-lang.c
|
|
|
|
f-lang.h
|
|
|
|
f-typeprint.c
|
|
|
|
f-valprint.c
|
1991-05-24 00:06:18 +02:00
|
|
|
findvar.c
|
1992-09-27 07:48:41 +01:00
|
|
|
fork-child.c
|
1991-05-24 00:06:18 +02:00
|
|
|
frame.h
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-01 22:14:27 +02:00
|
|
|
gdb_stat.h
|
|
|
|
gdb_string.h
|
1992-07-06 04:38:03 +02:00
|
|
|
gdb-stabs.h
|
1992-04-24 17:01:45 +02:00
|
|
|
gdb.1
|
1995-04-13 02:46:52 +02:00
|
|
|
gdb.gdb
|
1994-04-28 21:47:46 +02:00
|
|
|
gdba.el
|
1991-05-24 00:06:18 +02:00
|
|
|
gdbcmd.h
|
|
|
|
gdbcore.h
|
1993-06-03 17:44:56 +02:00
|
|
|
gdbserver
|
1992-02-23 06:25:21 +01:00
|
|
|
gdbtypes.c
|
|
|
|
gdbtypes.h
|
1995-11-02 01:58:23 +01:00
|
|
|
gnu-regex.c
|
|
|
|
gnu-regex.h
|
Changes to support GDB running on DOS using GO32 and H8 support
* defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
allowing hosts with different text and binary file formats to
work.
* coffread.c (read_coff_symtab): changed calling convention and
operation - now it opens its own file with FOPEN_RB rather than
duping and fdopening the provided handle.
* dbxread.c, cplus-dem.c: #include mangling.
* exec.c: If O_BINARY isn't defined, set it to 0, call openp for
binary files oring in the right bit.
* utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
* remote-hms.c: cleanup to use the new remote serial stuff
* serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
independent remote terminal I/O.
* remote.c: if DONT_USE_REMOTE is defined, then don't use it.
* source.c (openp): fix off by one problem removing / - can now
open a source file in the root directory with DOS.
* values.c (value_as_pointer): remove bogus address bits from
long. (unpack_long): unpack into unsigned long/short if pointer.
1992-05-13 03:12:18 +02:00
|
|
|
go32-xdep.c
|
1995-01-17 23:39:42 +01:00
|
|
|
gould-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
gould-xdep.c
|
1992-01-17 00:56:37 +01:00
|
|
|
h8300-tdep.c
|
1993-03-23 05:54:13 +01:00
|
|
|
h8500-tdep.c
|
1992-10-28 08:08:52 +01:00
|
|
|
hp300ux-nat.c
|
1993-04-24 01:43:18 +02:00
|
|
|
hppa-tdep.c
|
1992-10-21 05:57:35 +01:00
|
|
|
hppab-nat.c
|
|
|
|
hppah-nat.c
|
1995-05-12 03:10:28 +02:00
|
|
|
hppam3-nat.c
|
1994-11-25 09:06:49 +01:00
|
|
|
hpread.c
|
1991-05-24 00:06:18 +02:00
|
|
|
i386-stub.c
|
|
|
|
i386-tdep.c
|
1993-06-22 01:46:49 +02:00
|
|
|
i386aix-nat.c
|
1992-10-09 12:55:05 +01:00
|
|
|
i386b-nat.c
|
1993-10-04 18:38:17 +01:00
|
|
|
i386ly-tdep.c
|
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.
1993-10-07 21:13:08 +01:00
|
|
|
i386m3-nat.c
|
1992-10-16 23:57:36 +01:00
|
|
|
i386mach-nat.c
|
1992-10-17 00:39:34 +01:00
|
|
|
i386v-nat.c
|
Native support cleanup and corefile fixes for i386 SVR4 systems.
* i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): Moved to i386v4-nat.c
* i386v4-nat.c, nm-i386v4.h, : New files.
* i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE): Use nm-i386v4.h.
* i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES): Add corelow.o,
change i386v-nat.o to i386v4-nat.o.
1992-10-17 09:07:14 +01:00
|
|
|
i386v4-nat.c
|
1991-09-19 12:40:03 +02:00
|
|
|
i387-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
i960-tdep.c
|
|
|
|
infcmd.c
|
|
|
|
inferior.h
|
|
|
|
inflow.c
|
|
|
|
infptrace.c
|
|
|
|
infrun.c
|
|
|
|
inftarg.c
|
Mips native support. Decstation and iris4 have been tested.
Iris3 has not.
* mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): removed to irix4-nat.c
* mips-xdep.c: removed.
* irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new
files.
* procfs.c: include nm.h.
* xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed.
* xm-irix4.h: bump copyright.
(U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS,
PROC_NAME_FMT): removed.
* xm-mips.h (FETCH_INFERIOR_REGISTERS): removed.
* config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
(CC): supply default compiler switches.
* config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support. Note that
irix3 is untested.
* config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o
fork-child.o mips-xdep.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
1992-10-09 08:59:37 +01:00
|
|
|
irix4-nat.c
|
1993-12-06 18:12:23 +01:00
|
|
|
irix5-nat.c
|
1993-06-14 23:20:56 +02:00
|
|
|
isi-xdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
kdb-start.c
|
1991-09-19 12:40:03 +02:00
|
|
|
language.c
|
|
|
|
language.h
|
1993-11-17 02:38:11 +01:00
|
|
|
lynx-nat.c
|
1991-09-19 12:40:03 +02:00
|
|
|
m2-exp.y
|
* c-exp.y, m2-exp.y: Migrate code that has nothing to do with
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-12-09 07:50:30 +01:00
|
|
|
m2-lang.c
|
|
|
|
m2-lang.h
|
* Makefile.in (VERSION): Bump to 4.7.4.
* 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-18 21:21:32 +01:00
|
|
|
m2-typeprint.c
|
|
|
|
m2-valprint.c
|
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.
1993-10-07 21:13:08 +01:00
|
|
|
m3-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
m68k-stub.c
|
|
|
|
m68k-tdep.c
|
1992-10-16 21:53:46 +01:00
|
|
|
m88k-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
m88k-tdep.c
|
1995-04-11 04:08:59 +02:00
|
|
|
mac-defs.h
|
|
|
|
mac-xdep.c
|
1995-10-19 20:31:18 +01:00
|
|
|
mac-gdb.r
|
1991-05-24 00:06:18 +02:00
|
|
|
main.c
|
* maint.c: New file.
* Makefile.in (SFILES_MAINDIR): Add new file maint.c.
* Makefile.in (OBS): Add new file maint.o.
* defs.h (command_class): Add class_maintenance.
* defs.h (MAINTENANCE_CMDS): Default to including maintenance
commands. Allow for them (and other nonessential parts of gdb)
to be selectively left out under special circumstances.
* gdbtypes.c (recursive_dump_type): New function; supports
maintenance print-type command.
* gdbtypes.h (recursive_dump_type, maintenance_print_type):
Add prototypes.
* main.c (maintenancelist, maintenanceinfolist): Add maintenance
command lists.
* main.c (initialize_cmd_lists): Eliminate unnecessary casts on
initializers. Add initializations for setprintlist, showprintlist,
setchecklist, showchecklist, maintenancelist, and maintenanceinfolist.
* printcmd.c (maintenance_print_type): New maintenance cmd.
* valprint.c (setprintlist, showprintlist): Move to main.c, as
implied by comment that all cmd lists are owned by main.c.
* infcmd.c (unsetlist): Move to main.c, as implied by comment
that all cmd lists are owned by main.c.
* language.c (setchecklist, showchecklist): Move to main.c, as
implied by comment that all cmd lists are owned by main.c
* breakpoint.c (enablelist, enablebreaklist, disablelist, cmdlist,
deletelist): Remove redundant declarations (also in gdbcmd.h).
* symmisc.c (printsyms_command): Now maintenance_print_symbols.
* symmisc.c (printmsyms_command): Now maintenance_print_msymbols.
* symmisc.c (printpsyms_command): Now maintenance_print_psymbols.
* symmisc.c (printobjfiles_command): Now maintenance_print_objfiles.
* symtab.h (maintenance_print_symbols, maintenance_print_psymbols,
maintenance_print_msymbols, maintenance_print_objfiles):
Add prototypes.
* symmisc.c (printsyms_command, printpsyms_command,
printmsyms_command, printobjfiles_command): Removed from
_initialize_symmisc.
* main.c (dump_me_command): Moved to maint.c and renamed to
maintenance_dump_me.
* breakpoint.c (all_breakpoints_info): Rename to
maintenance_info_breakpoints.
* breakpoint.c (_initialize_breakpoint): Convert add_info of
all_breakpoints_info to add maintenance_info_breakpoints to the
maintenanceinfolist instead.
main.c (initialize_main): Set up maintenance class commands.
1992-07-06 02:22:57 +02:00
|
|
|
maint.c
|
1993-12-06 18:12:23 +01:00
|
|
|
mdebugread.c
|
1991-05-24 00:06:18 +02:00
|
|
|
mem-break.c
|
1991-09-13 05:53:58 +02:00
|
|
|
minimon.h
|
1992-02-23 06:25:21 +01:00
|
|
|
minsyms.c
|
Mips native support. Decstation and iris4 have been tested.
Iris3 has not.
* mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): removed to irix4-nat.c
* mips-xdep.c: removed.
* irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new
files.
* procfs.c: include nm.h.
* xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed.
* xm-irix4.h: bump copyright.
(U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS,
PROC_NAME_FMT): removed.
* xm-mips.h (FETCH_INFERIOR_REGISTERS): removed.
* config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
(CC): supply default compiler switches.
* config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support. Note that
irix3 is untested.
* config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o
fork-child.o mips-xdep.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
1992-10-09 08:59:37 +01:00
|
|
|
mips-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
mips-tdep.c
|
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.
1993-10-07 21:13:08 +01:00
|
|
|
mipsm3-nat.c
|
* infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines
are in the .plt section.
* minsyms.c (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): New functions for handling
stepping into -g compiled shared libraries.
* symtab.h (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): Add prototypes.
* config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
Define to handle stepping into -g compiled shared libraries.
* config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle
stepping into -g compiled shared libraries.
* configure.in: Add mips-*-sysv4* support.
* config/mips/mipsv4.mh, config/mips/mipsv4.mt,
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
New files for MIPS SVR4 support.
* Makefile.in: Update for new mipsv4 files.
* alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use
read_next_frame_reg to obtain the frame relative stack pointer.
* mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to
obtain the frame relative stack pointer.
* mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
by entering them into the minimal symbol table.
* printcmd.c (print_scalar_formatted): Do not try to unpack to
a long for float formats.
* solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
get defined in <link.h>.
* solib.c (solib_add): Add shared library sections to the section
table of the target before adding the symbols.
* partial-stab.h: Relocate static and global functions.
* dbxread.c (read_dbx_symtab): Remove unused variable
end_of_text_address. Relocate text_addr when passing it
to end_psymtab.
For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* mipsread.c (read_alphacoff_dynamic_symtab): New function.
* mipsread.c (mipscoff_symfile_read): Use it. Issue warning message
if no debugging symbols were found.
* alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered
pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
is defined.
* config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,
OSF/1 has shared libraries.
1994-04-08 02:35:15 +02:00
|
|
|
mipsv4-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
mipsread.c
|
1993-05-01 03:19:43 +02:00
|
|
|
monitor.h
|
1994-09-14 02:19:26 +02:00
|
|
|
monitor.c
|
1995-04-11 04:08:59 +02:00
|
|
|
mpw-config.in
|
1995-10-19 20:31:18 +01:00
|
|
|
mpw-make.sed
|
1991-05-24 00:06:18 +02:00
|
|
|
news-xdep.c
|
|
|
|
nindy-share
|
|
|
|
nindy-tdep.c
|
1994-09-03 02:15:20 +02:00
|
|
|
nlm
|
1993-07-20 06:53:03 +02:00
|
|
|
nlmread.c
|
1995-01-17 23:39:42 +01:00
|
|
|
ns32k-tdep.c
|
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.
1993-10-07 21:13:08 +01:00
|
|
|
ns32km3-nat.c
|
1992-02-23 06:25:21 +01:00
|
|
|
objfiles.c
|
1992-03-21 02:56:01 +01:00
|
|
|
objfiles.h
|
1994-09-14 02:19:26 +02:00
|
|
|
op50-rom.c
|
* os9kread.c (os9k_process_one_symbol): Rename
VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
* symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
(CORE_ADDR)0, from target_link, since that is what it uses.
Process name at end, not during parsing (like we did before Kung's
change), so that -readnow and -mapped can appear anywhere.
Make text_relocation a local variable.
* config/i386/i386os9k.mt: Fix comment.
* Makefile.in (ALLDEPFILES): Add remote-os9k.c.
* os9kread.c: Put "comments" after #endif inside /* */.
* stabsread.h: Add os9k_stabs variable.
* stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
Set it.
* stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
descriptor in global_symbols not local_symbols.
(read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
descriptors.
(read_type): If os9k_stabs, accept function parameters after 'f'
type descriptor.
(read_array_type): If os9k_stabs, don't expect index type and
expect lower and upper to be separated by ',' not ';'.
(read_enum_type): If os9k_stabs, read a number before the first
enumeration constant.
(os9k_init_type_vector): New function.
(dbx_lookup_type): Call it when starting new type vector.
* config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
* (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
* os9kstab.c: Removed.
* Makefile.in: Update accordingly.
* objfiles.c (objfile_relocate_data): Removed.
* remote-os9k.c (rombug_wait): Call objfile_relocate
not objfile_relocate_data.
* objfiles.h, objfiles.c: Remove find_pc_objfile.
* remote-os9k.c (rombug_wait): Call find_pc_section not
find_pc_objfile.
* main.c (quit_command): Check inferior_pid; revert Kung change.
* remote-os9k.c (rombug_create_inferior): Set inferior_pid.
1994-03-02 04:01:34 +01:00
|
|
|
os9kread.c
|
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in: Add new files and dependencies.
* configure.in: Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
1993-10-05 20:44:57 +01:00
|
|
|
osfsolib.c
|
1991-09-19 12:40:03 +02:00
|
|
|
parse.c
|
|
|
|
parser-defs.h
|
1991-12-24 00:16:58 +01:00
|
|
|
partial-stab.h
|
1991-05-24 00:06:18 +02:00
|
|
|
printcmd.c
|
1991-10-24 19:07:57 +01:00
|
|
|
procfs.c
|
1994-03-26 02:23:21 +01:00
|
|
|
ptx4-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
pyr-tdep.c
|
|
|
|
pyr-xdep.c
|
1991-09-13 05:53:58 +02:00
|
|
|
remote-adapt.c
|
1995-04-14 00:17:54 +02:00
|
|
|
remote-array.c
|
1993-08-03 02:55:55 +02:00
|
|
|
remote-bug.c
|
1993-12-08 06:53:58 +01:00
|
|
|
remote-e7000.c
|
1991-05-24 00:06:18 +02:00
|
|
|
remote-eb.c
|
1993-06-11 20:29:50 +02:00
|
|
|
remote-es.c
|
1994-12-24 02:12:47 +01:00
|
|
|
remote-est.c
|
1992-01-28 03:30:27 +01:00
|
|
|
remote-hms.c
|
1993-02-23 00:43:03 +01:00
|
|
|
remote-mips.c
|
1991-09-13 05:53:58 +02:00
|
|
|
remote-mm.c
|
1991-05-24 00:06:18 +02:00
|
|
|
remote-nindy.c
|
1995-05-03 03:44:08 +02:00
|
|
|
remote-nrom.c
|
* os9kread.c (os9k_process_one_symbol): Rename
VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
* symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
(CORE_ADDR)0, from target_link, since that is what it uses.
Process name at end, not during parsing (like we did before Kung's
change), so that -readnow and -mapped can appear anywhere.
Make text_relocation a local variable.
* config/i386/i386os9k.mt: Fix comment.
* Makefile.in (ALLDEPFILES): Add remote-os9k.c.
* os9kread.c: Put "comments" after #endif inside /* */.
* stabsread.h: Add os9k_stabs variable.
* stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
Set it.
* stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
descriptor in global_symbols not local_symbols.
(read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
descriptors.
(read_type): If os9k_stabs, accept function parameters after 'f'
type descriptor.
(read_array_type): If os9k_stabs, don't expect index type and
expect lower and upper to be separated by ',' not ';'.
(read_enum_type): If os9k_stabs, read a number before the first
enumeration constant.
(os9k_init_type_vector): New function.
(dbx_lookup_type): Call it when starting new type vector.
* config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
* (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
* os9kstab.c: Removed.
* Makefile.in: Update accordingly.
* objfiles.c (objfile_relocate_data): Removed.
* remote-os9k.c (rombug_wait): Call objfile_relocate
not objfile_relocate_data.
* objfiles.h, objfiles.c: Remove find_pc_objfile.
* remote-os9k.c (rombug_wait): Call find_pc_section not
find_pc_objfile.
* main.c (quit_command): Check inferior_pid; revert Kung change.
* remote-os9k.c (rombug_create_inferior): Set inferior_pid.
1994-03-02 04:01:34 +01:00
|
|
|
remote-os9k.c
|
1994-08-19 18:54:14 +02:00
|
|
|
remote-pa.c
|
1995-09-29 01:14:01 +01:00
|
|
|
remote-rdp.c
|
1993-01-03 23:36:04 +01:00
|
|
|
remote-sim.c
|
1993-09-17 19:27:43 +02:00
|
|
|
remote-sim.h
|
1993-06-11 20:29:50 +02:00
|
|
|
remote-st.c
|
1993-01-15 01:08:23 +01:00
|
|
|
remote-udi.c
|
1993-09-15 22:20:23 +02:00
|
|
|
remote-utils.c
|
|
|
|
remote-utils.h
|
1991-05-24 00:06:18 +02:00
|
|
|
remote-vx.c
|
1995-01-21 01:57:39 +01:00
|
|
|
remote-vx29k.c
|
1995-04-10 23:10:09 +02:00
|
|
|
remote-vx68.c
|
|
|
|
remote-vx960.c
|
1995-04-19 10:16:58 +02:00
|
|
|
remote-vxmips.c
|
|
|
|
remote-vxsparc.c
|
1991-05-24 00:06:18 +02:00
|
|
|
remote.c
|
1992-10-08 18:47:04 +01:00
|
|
|
rs6000-nat.c
|
1991-11-21 03:37:15 +01:00
|
|
|
rs6000-tdep.c
|
1994-11-14 23:57:40 +01:00
|
|
|
rom68k-rom.c
|
1991-05-24 00:06:18 +02:00
|
|
|
saber.suppress
|
1995-10-05 06:24:41 +01:00
|
|
|
scm-exp.c
|
1995-09-29 02:43:54 +01:00
|
|
|
scm-lang.c
|
1995-10-01 00:36:40 +01:00
|
|
|
scm-lang.h
|
|
|
|
scm-tags.h
|
|
|
|
scm-valprint.c
|
1994-06-27 19:16:26 +02:00
|
|
|
ser-e7kpc.c
|
1992-07-23 20:57:29 +02:00
|
|
|
ser-go32.c
|
1995-04-11 04:08:59 +02:00
|
|
|
ser-mac.c
|
1993-05-29 03:33:55 +02:00
|
|
|
ser-tcp.c
|
1993-04-07 01:48:29 +02:00
|
|
|
ser-unix.c
|
|
|
|
serial.c
|
1992-07-23 20:57:29 +02:00
|
|
|
serial.h
|
1993-04-27 03:17:32 +02:00
|
|
|
sh-tdep.c
|
1995-10-16 19:51:15 +01:00
|
|
|
sh3-rom.c
|
1991-05-24 00:06:18 +02:00
|
|
|
signals.h
|
|
|
|
solib.c
|
1992-02-23 06:25:21 +01:00
|
|
|
solib.h
|
1994-06-27 08:09:40 +02:00
|
|
|
somread.c
|
1994-11-07 08:51:47 +01:00
|
|
|
somsolib.c
|
|
|
|
somsolib.h
|
1991-05-24 00:06:18 +02:00
|
|
|
source.c
|
1992-09-30 23:39:02 +01:00
|
|
|
sparc-nat.c
|
1992-08-25 19:14:51 +02:00
|
|
|
sparc-stub.c
|
1991-05-24 00:06:18 +02:00
|
|
|
sparc-tdep.c
|
1994-06-13 21:31:01 +02:00
|
|
|
sparcl-stub.c
|
|
|
|
sparcl-tdep.c
|
1992-07-28 06:22:18 +02:00
|
|
|
stabsread.c
|
|
|
|
stabsread.h
|
1991-05-24 00:06:18 +02:00
|
|
|
stack.c
|
|
|
|
standalone.c
|
1994-06-22 04:26:39 +02:00
|
|
|
stop-gdb.c
|
1991-05-24 00:06:18 +02:00
|
|
|
stuff.c
|
1992-10-08 18:47:04 +01:00
|
|
|
sun3-nat.c
|
1992-10-17 00:03:27 +01:00
|
|
|
sun386-nat.c
|
1991-05-24 00:06:18 +02:00
|
|
|
symfile.c
|
|
|
|
symfile.h
|
1993-07-20 20:12:53 +02:00
|
|
|
symm-nat.c
|
1993-08-03 02:55:55 +02:00
|
|
|
symm-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
symmisc.c
|
|
|
|
symtab.c
|
|
|
|
symtab.h
|
1995-01-17 23:39:42 +01:00
|
|
|
tahoe-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
target.c
|
|
|
|
target.h
|
|
|
|
terminal.h
|
1993-03-16 15:09:12 +01:00
|
|
|
testsuite
|
1993-08-02 17:58:36 +02:00
|
|
|
thread.c
|
|
|
|
thread.h
|
1994-06-03 19:25:08 +02:00
|
|
|
top.c
|
|
|
|
top.h
|
* Makefile.in (VERSION): Bump to 4.7.4.
* 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-18 21:21:32 +01:00
|
|
|
typeprint.c
|
|
|
|
typeprint.h
|
1992-10-16 07:05:36 +01:00
|
|
|
ultra3-nat.c
|
1991-09-13 05:53:58 +02:00
|
|
|
ultra3-xdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
umax-xdep.c
|
|
|
|
utils.c
|
|
|
|
valarith.c
|
|
|
|
valops.c
|
|
|
|
valprint.c
|
* Makefile.in (VERSION): Bump to 4.7.4.
* 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-18 21:21:32 +01:00
|
|
|
valprint.h
|
1991-05-24 00:06:18 +02:00
|
|
|
value.h
|
|
|
|
values.c
|
1995-01-17 23:39:42 +01:00
|
|
|
vax-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
vx-share
|
1995-01-16 02:45:49 +01:00
|
|
|
w65-tdep.c
|
1994-09-14 02:19:26 +02:00
|
|
|
w89k-rom.c
|
1995-10-09 22:54:26 +01:00
|
|
|
win32-nat.c
|
1991-11-21 03:37:15 +01:00
|
|
|
xcoffread.c
|
1992-03-30 00:33:35 +02:00
|
|
|
xcoffsolib.c
|
|
|
|
xcoffsolib.h
|
1995-04-17 08:31:39 +02:00
|
|
|
xmodem.c
|
|
|
|
xmodem.h
|
1993-01-15 21:07:26 +01:00
|
|
|
z8k-tdep.c
|
1991-05-24 00:06:18 +02:00
|
|
|
|
1993-03-26 00:08:24 +01:00
|
|
|
# Things which are explicitly *not* kept, for now.
|
|
|
|
|
1993-05-27 08:44:29 +02:00
|
|
|
Things-to-lose:
|
|
|
|
|
1995-02-22 02:34:47 +01:00
|
|
|
ser-go32-para.c
|
1995-07-31 17:57:25 +02:00
|
|
|
HOW_TO_RELEASE
|
1993-05-27 08:44:29 +02:00
|
|
|
|
1991-05-24 00:06:18 +02:00
|
|
|
Do-last:
|
|
|
|
|
1994-12-31 00:42:46 +01:00
|
|
|
# Don't try to clean directories here, as the 'mv' command will fail.
|
|
|
|
# Also, grep fails on NFS mounted directories.
|
1995-05-10 03:25:02 +02:00
|
|
|
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
|
|
|
|
echo Catering to RMS by removing traces of \"gdbtk\"...
|
1994-12-31 00:42:46 +01:00
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
|
1995-05-10 03:25:02 +02:00
|
|
|
echo Removing traces of \"gdbtk\" out of $i...
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
1994-12-31 00:42:46 +01:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
1995-05-10 03:25:02 +02:00
|
|
|
echo Leaving \"gdbtk\" in the sources...
|
1994-12-31 00:42:46 +01:00
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
|
1995-05-10 03:25:02 +02:00
|
|
|
echo Keeping \"gdbtk\" stuff in $i, but editing out sanitize lines...
|
1994-12-31 00:42:46 +01:00
|
|
|
cp $i new
|
1995-05-10 03:25:02 +02:00
|
|
|
sed -e '/start\-sanitize\-gdbtk/d' -e '/end\-sanitize\-gdbtk/d' < $i > new
|
1994-12-31 00:42:46 +01:00
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1995-08-03 18:48:48 +02:00
|
|
|
r16_files="configure.in configure"
|
1994-11-25 01:01:26 +01:00
|
|
|
|
|
|
|
if ( echo $* | grep keep\-r16 > /dev/null ) ; then
|
|
|
|
for i in $r16_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping r16 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $r16_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"r16\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-r16/,/end-\sanitize\-r16/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1995-08-03 18:48:48 +02:00
|
|
|
arc_files="configure.in configure ChangeLog"
|
1995-01-25 04:27:54 +01:00
|
|
|
|
|
|
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
|
|
for i in $arc_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping arc stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $arc_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"arc\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1995-10-20 00:29:59 +01:00
|
|
|
sh3e_files="ChangeLog"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
|
|
|
|
for i in $sh3e_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping sh3e stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $sh3e_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"sh3e\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1995-10-27 18:48:36 +01:00
|
|
|
if ( echo $* | grep keep\-gm > /dev/null ) ; then
|
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping gm stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"gm\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1994-11-25 01:01:26 +01:00
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
|
|
|
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
#
|
1991-05-24 00:06:18 +02:00
|
|
|
# End of file.
|