binutils-gdb.git
32 years ago* infcmd.c (set_environment_command): Make set env FOO x=y work.
Stu Grossman [Wed, 18 Nov 1992 22:51:58 +0000 (22:51 +0000)]
* infcmd.c (set_environment_command):  Make set env FOO x=y work.
Fix from maj@lucid.com.
* remote-udi.c (udi_open):  Reset vars so that user can re-run
programs without leaving GDB.
* (many routines):  Slightly improve error handling.
* (download):  Zero out BSS by longs instead of bytes to avoid
timeouts in real hardware.
* 29k-share/udi/udip2soc.c (UDIDisconnect, UDIKill):  Indicate
that connection is no longer in use after shutdown() of socket.
This keeps GDB from dying of a SIGPIPE when you issue multiple
`target udi' commands.

32 years ago * language.h (language_format_info): New structure to bundle
Fred Fish [Wed, 18 Nov 1992 22:49:38 +0000 (22:49 +0000)]
* language.h (language_format_info):  New structure to bundle
local formatting information.
* language.h (language_defn):  Replace individual format info
with language_format_info structs.
* language.h (local_*_format, local_*_format_prefix,
local_*_format_specifier, local_*_format_suffix):  New macros
for binary/octal/decimal/hex formats to access info elements.
* c-exp.y (c_language_defn):  Update for new format handling.
* m2-exp.y (m2_language_defn):  Update for new format handling.
* dbxread.c (language.h):  Include for partial-stab.h use.
* defs.h (local_hex_format, local_hex_format_custom,
local_hex_string, local_hex_string_custom):  Move to language.h.
* language.c (local_hex_format_custom, local_hex_string,
local_hex_string_custom, local_octal_format_custom):  Use new
format handling.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn):  Update for new format handling.
* printcmd.c (print_scalar_formatted):  Use new macros
to access decimal and binary format info for printing.
**** start-sanitize-chill ****
* c-exp.y (chill_language_defn):  Update for new format handling.
* ch-exp.y (CHARACTER_LITERAL):  Add support to yylex.
* ch-exp.y (match_integer_literal):  Add function.
* ch-exp.y (builtin_type_chill_char):  Add definition.
* gdbtypes.h (builtin_type_chill_char):  Add declaration.
**** end-sanitize-chill ****

32 years agoupdate dates
David D. Zuhn [Wed, 18 Nov 1992 08:50:17 +0000 (08:50 +0000)]
update dates

32 years agoalso search bfd sources for include files
David D. Zuhn [Wed, 18 Nov 1992 03:56:18 +0000 (03:56 +0000)]
also search bfd sources for include files

32 years agoTue Nov 17 11:17:06 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 17 Nov 1992 21:46:17 +0000 (21:46 +0000)]
Tue Nov 17 11:17:06 1992  Ian Lance Taylor  (ian@cygnus.com)

  * tm-rs6000.h (BELIEVE_PCC_PROMOTION): Define, since AIX cc gets
it right.
(aix_framedata): added nosavedpc field.
(SAVED_PC_AFTER_CALL): Don't try to optimize; just call
read_register.
(FRAMELESS_FUNCTION_INVOCATION): Pass second argument of 0.
(FRAME_SAVED_PC): If PC not saved, use SAVED_PC_AFTER_CALL.
* rs6000-tdep.c (skip_prologue): Handle gcc generated stfd
instructions as function_frame_info does.  Expand special case of
st r31,-4(r1) to be st r31,NUM(r1), since gcc can generate offsets
other than -4.
(pop_frame): Add 4 rather than sizeof (int) to avoid host
dependence.
(function_frame_info): Set frameless if the function has no frame,
and set nosavedpc if the PC was not saved.  Handle gcc generated
stfd 31,-4(31); st 31, -12(31) correctly.
(frameless_function_invocation): New second argument pcsaved; if 0
return whether the function has a frame, if 1 return whether the
function saved PC.
(frame_initial_stack_address): Correct typo: cache registers for
callee_fi, not for fi, (avoids reading garbage memory locations).

32 years agoRemove include and dfe directories.
Stu Grossman [Tue, 17 Nov 1992 04:36:01 +0000 (04:36 +0000)]
Remove include and dfe directories.

32 years ago* symtab.c (find_pc_line): Improve code per gnu's suggestions.
Stu Grossman [Mon, 16 Nov 1992 23:59:37 +0000 (23:59 +0000)]
* symtab.c (find_pc_line):  Improve code per gnu's suggestions.
Improve comments as well.

32 years agoMore fine-tuning of sanitize away chill stuff...
Fred Fish [Mon, 16 Nov 1992 21:56:20 +0000 (21:56 +0000)]
More fine-tuning of sanitize away chill stuff...

32 years agoFirst cut at sanitizing away chill stuff.
Fred Fish [Mon, 16 Nov 1992 20:48:24 +0000 (20:48 +0000)]
First cut at sanitizing away chill stuff.

32 years agoFix typo.
Fred Fish [Mon, 16 Nov 1992 20:27:02 +0000 (20:27 +0000)]
Fix typo.

32 years agoFirst cut at sanitizing away the chill stuff.
Fred Fish [Mon, 16 Nov 1992 19:25:35 +0000 (19:25 +0000)]
First cut at sanitizing away the chill stuff.

32 years ago * Makefile.in (VERSION): Bump to 4.7.2
Fred Fish [Sun, 15 Nov 1992 20:26:35 +0000 (20:26 +0000)]
* Makefile.in (VERSION):  Bump to 4.7.2
* symtab.c (find_pc_symtab):  Fix return of random value
to caller.

32 years ago * config.sub (i386sol2, i486sol2): i[34]86-unknown-solaris2.
Fred Fish [Sun, 15 Nov 1992 17:37:16 +0000 (17:37 +0000)]
* config.sub (i386sol2, i486sol2):  i[34]86-unknown-solaris2.
* configure.in (i[34]86-*-solaris2*):  Use config/mh-sysv4.

32 years ago * dwarf.h (AT_src_coords): Whitespace change only.
Fred Fish [Sun, 15 Nov 1992 17:34:37 +0000 (17:34 +0000)]
* dwarf.h (AT_src_coords):  Whitespace change only.
* dwarf.h (AT_body_begin, AT_body_end, LANG_MODULA2):
Add from latest gcc.
* dwarf.h (LANG_CHILL):  Add as GNU extension.

32 years ago * Makefile.in (SFILES_MAINDIR): Add ch-exp.y.
Fred Fish [Sun, 15 Nov 1992 17:28:02 +0000 (17:28 +0000)]
* Makefile.in (SFILES_MAINDIR):  Add ch-exp.y.
* 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.

32 years ago* infcmd.c (step_over_calls): Improve comments.
Stu Grossman [Sat, 14 Nov 1992 04:33:21 +0000 (04:33 +0000)]
* infcmd.c (step_over_calls):  Improve comments.
* symtab.c (find_pc_psymtab):  Clean up a bit.
* (find_pc_symtab):  Fix comments, clean up code.
* (find_pc_line):  General cleanups, efficiency improvements.
Also, don't return garbage when some line info exists, but there
was no good match.

32 years agoput exec.o back; it deals with exec files, not fork/exec, and thus is still
Mark Eichin [Fri, 13 Nov 1992 18:26:21 +0000 (18:26 +0000)]
put exec.o back; it deals with exec files, not fork/exec, and thus is still
relevant for remote targets.

32 years agoz8k target
Steve Chamberlain [Fri, 13 Nov 1992 17:42:24 +0000 (17:42 +0000)]
z8k target

32 years agoz8k stuff
Steve Chamberlain [Fri, 13 Nov 1992 17:40:20 +0000 (17:40 +0000)]
z8k stuff

32 years agoadd z8ksim
Steve Chamberlain [Fri, 13 Nov 1992 07:11:44 +0000 (07:11 +0000)]
add z8ksim

32 years agoadded expect and tcl
David D. Zuhn [Fri, 13 Nov 1992 01:05:59 +0000 (01:05 +0000)]
added expect and tcl

32 years agopass down prefix and exec_prefix
David D. Zuhn [Fri, 13 Nov 1992 01:03:52 +0000 (01:03 +0000)]
pass down prefix and exec_prefix

32 years agocheckpoint
Steve Chamberlain [Thu, 12 Nov 1992 23:38:51 +0000 (23:38 +0000)]
checkpoint

32 years ago * coff-z8k.c: checkpoint, more addressing modes handled
Steve Chamberlain [Thu, 12 Nov 1992 17:53:58 +0000 (17:53 +0000)]
* coff-z8k.c: checkpoint, more addressing modes handled
* coffcode.h (get_value): don't truncate reloc->addend field, it's
a long now.

32 years agoadd i[34]86-*-go32, sparclite-*-*
Mark Eichin [Thu, 12 Nov 1992 15:06:07 +0000 (15:06 +0000)]
add i[34]86-*-go32, sparclite-*-*

32 years agoadd sparclite-fujitsu-none, since it was only getting set via the default
Mark Eichin [Thu, 12 Nov 1992 12:55:48 +0000 (12:55 +0000)]
add sparclite-fujitsu-none, since it was only getting set via the default
branch in the old configure.in

32 years ago * we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.
Brendan Kehoe [Thu, 12 Nov 1992 07:59:59 +0000 (07:59 +0000)]
* we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.

32 years ago* configure.in: Reformat to one-case-per-line.
John Gilmore [Thu, 12 Nov 1992 05:21:32 +0000 (05:21 +0000)]
* configure.in:  Reformat to one-case-per-line.
Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.

32 years ago* Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and
Stu Grossman [Thu, 12 Nov 1992 01:15:06 +0000 (01:15 +0000)]
* Makefile.in:  Remove dependancies for 29k-share/dfe/yank.o and
29k-share/dfe/mini2udi.o.
* config/a29k-udi.mt:  Remove yank.o and mini2udi.o.
* alldeps.mak, depend:  Update to deal with removal of
aforementioned files.
* remote-udi.c:  Major cleanups.  Clean up udi_open and drop
requirement for useless 'program' argument.  Clean up
udi_create_inferior, and udi_load to call common download()
routine.  Create download routine to load remote hosts directly
(with the help of BFD) so that we don't need yank.c and
mini2udi.c.
Fix udi_detach to call UDIDisconnect with
the right arguments.  Clean up udi_resume, don't assign tip_error
twice.  Clean up udi_wait, straighten out status codes.  Make
udi_kill really work.

32 years agoWed Nov 11 08:04:37 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 11 Nov 1992 16:06:07 +0000 (16:06 +0000)]
Wed Nov 11 08:04:37 1992  Ian Lance Taylor  (ian@cygnus.com)

* config.sub: added -sco3.2v4 support from FSF.

32 years agoAdded abug, the os (boot monitor really) for the Motorola MVME 135 m68k
Rob Savoye [Wed, 11 Nov 1992 00:52:04 +0000 (00:52 +0000)]
Added abug, the os (boot monitor really) for the Motorola MVME 135 m68k
board.

32 years agomake cc command lines more consistent
David D. Zuhn [Tue, 10 Nov 1992 22:07:02 +0000 (22:07 +0000)]
make cc command lines more consistent

32 years ago tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
Ian Lance Taylor [Tue, 10 Nov 1992 21:21:33 +0000 (21:21 +0000)]
tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
names before putting them in the symbol table.

32 years agonew file, build many toolchains at once
David D. Zuhn [Tue, 10 Nov 1992 20:18:06 +0000 (20:18 +0000)]
new file, build many toolchains at once

32 years agoThese are actually Ken's patches--I told him I'd take move them from
Ian Lance Taylor [Tue, 10 Nov 1992 20:09:23 +0000 (20:09 +0000)]
These are actually Ken's patches--I told him I'd take move them from
p3 into devo.

* tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
the register name.
* tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
M68KCOFF.

32 years agoThese changes clean things up a bit, and improve Solaris cross
Ian Lance Taylor [Tue, 10 Nov 1992 18:17:00 +0000 (18:17 +0000)]
These changes clean things up a bit, and improve Solaris cross
support when using /opt/SUNWspro/SC2.0/acc.

Tue Nov 10 09:50:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
section.

* atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
comment_chars, line_comment_chars and line_seperator_chars
consistently const, and always initialized them.  Included read.h.

32 years ago* opncls.c (bfd_fdopenr, bfd_close): Add doc about cacheing
John Gilmore [Tue, 10 Nov 1992 07:59:39 +0000 (07:59 +0000)]
* opncls.c (bfd_fdopenr, bfd_close):  Add doc about cacheing
and about when file descriptors are closed.

32 years agoAdd how to declare the result of make_cleanup.
John Gilmore [Tue, 10 Nov 1992 07:57:43 +0000 (07:57 +0000)]
Add how to declare the result of make_cleanup.

32 years ago* configure.in: expand the section that adds or removes
David D. Zuhn [Mon, 9 Nov 1992 05:16:57 +0000 (05:16 +0000)]
* configure.in: expand the section that adds or removes
directories from the list of programs to build, to handle native
vs. cross in addition to host v. native
* test-build.mk: add -w to GNU_MAKE

32 years agoinclude file handling changes
David D. Zuhn [Sun, 8 Nov 1992 00:01:46 +0000 (00:01 +0000)]
include file handling changes

32 years agomore include changes
David D. Zuhn [Sun, 8 Nov 1992 00:00:58 +0000 (00:00 +0000)]
more include changes

32 years agodelete some old ose cruft, handle -wrs as an os
David D. Zuhn [Sat, 7 Nov 1992 08:19:19 +0000 (08:19 +0000)]
delete some old ose cruft, handle -wrs as an os

32 years ago * config.sub: remove 'sparc'-->'sparc-sun' default transformation,
David D. Zuhn [Sat, 7 Nov 1992 07:43:43 +0000 (07:43 +0000)]
* config.sub: remove 'sparc'-->'sparc-sun' default transformation,
add 'sparc' to list of recognized cpus.  This needed to make
'sparc-aout' expand to 'sparc-unknown-aout' instead of 'sparc-sun-aout'

32 years agoimport from p3
David D. Zuhn [Sat, 7 Nov 1992 07:11:21 +0000 (07:11 +0000)]
import from p3

32 years agoadded tcl, tk, and expect
David D. Zuhn [Sat, 7 Nov 1992 05:00:06 +0000 (05:00 +0000)]
added tcl, tk, and expect

32 years agoChecked in ChangeLog
Mike Werner [Fri, 6 Nov 1992 19:33:22 +0000 (19:33 +0000)]
Checked in ChangeLog

32 years ago * c-exp.y: separated host/target idea of integer type size,
Steve Chamberlain [Fri, 6 Nov 1992 18:37:20 +0000 (18:37 +0000)]
* c-exp.y: separated host/target idea of integer type size,
removed redundant parse rules. (YYSTYPE): added typed_val, removed
UINT and CHAR rules. (parse_number): work out the targetwise type
of a number based upon it's size and qualifiers. (yylex): chars
are now treated the same way as ints.

* source.c (indentify_source_line): don't core dump if wanted
line is larger than number of lines in source. (can happen when
coff gets confused about #included source).

32 years agoFix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
John Gilmore [Fri, 6 Nov 1992 11:05:08 +0000 (11:05 +0000)]
Fix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
when debugging a program with 100 shared libraries.

* solib.c (solib_map_sections):  Always close the BFD we open.
Free all malloc'd storage we allocate, too, including error cases.
(struct so_list):  Remove unused so_bfd member.
(clear_solib):  Don't bother closing so_bfd.

* symfile.c (symfile_bfd_open):  Mark newly opened BFD as
cacheable.  `So many symbol files, so little file descriptors.'

32 years ago* m68k-stub.c: Remove ansidecl.h and the few uses of it.
John Gilmore [Fri, 6 Nov 1992 09:21:13 +0000 (09:21 +0000)]
* m68k-stub.c:  Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.

* source.c (show_directories):  Avoid printf_filtered length prob
pointed out by Jonathan Stone.

* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper limit properly to
avoid accesses beyond end of table.  Fix by Lee W. Cooprider,
<Lee_Cooprider@vos.stratus.com>.

32 years ago* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
John Gilmore [Fri, 6 Nov 1992 08:14:14 +0000 (08:14 +0000)]
* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.

32 years agomissing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
Mark Eichin [Fri, 6 Nov 1992 04:27:29 +0000 (04:27 +0000)]
missing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
/bin/make ignores it...)

32 years agoFlag error if absolute constant is too large for an immediate field.
Jim Wilson [Fri, 6 Nov 1992 01:59:36 +0000 (01:59 +0000)]
Flag error if absolute constant is too large for an immediate field.

32 years ago * {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
Fred Fish [Fri, 6 Nov 1992 01:35:57 +0000 (01:35 +0000)]
* {ser-bsd.c, ser-termios.c} (serial_close):  Pass address of
struct, not struct itself.
* serial.h (serial_restore):  Fix prototype, takes pointer not
struct.

32 years ago* Makefile.in (depend): Add nm.h to the list of things to fixup.
Stu Grossman [Fri, 6 Nov 1992 01:13:34 +0000 (01:13 +0000)]
* Makefile.in (depend):  Add nm.h to the list of things to fixup.
* depend:  Redo, to fixup nm.h problems with *-tab.c files.

32 years agoThu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:39:51 +0000 (00:39 +0000)]
Thu Nov  5 15:41:55 1992  Ian Lance Taylor  (ian@cygnus.com)

* ldlang.c (lang_size_sections): don't change size and address for
SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
sections.

32 years agoThu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:39:31 +0000 (00:39 +0000)]
Thu Nov  5 16:35:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* bfd.h: Update to bring in SEC_SHARED_LIBRARY.

32 years agoThu Nov 5 15:34:19 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:38:59 +0000 (00:38 +0000)]
Thu Nov  5 15:34:19 1992  Ian Lance Taylor  (ian@cygnus.com)

* section.c: New section bit SEC_SHARED_LIBRARY.
coffcode.h (styp_to_sec_flags): if STYP_NOLOAD && (STYP_TEXT ||
STYP_DATA), set SEC_SHARED_LIBRARY.  This seems to be correct for
i386-sysv.

32 years agoAdd 29k-UDI stuff back in...
Stu Grossman [Fri, 6 Nov 1992 00:20:50 +0000 (00:20 +0000)]
Add 29k-UDI stuff back in...

32 years agoRe-install UDI comments.
Stu Grossman [Thu, 5 Nov 1992 23:40:02 +0000 (23:40 +0000)]
Re-install UDI comments.

32 years agoAdd 29k-UDI stuff back in...
Stu Grossman [Thu, 5 Nov 1992 23:33:51 +0000 (23:33 +0000)]
Add 29k-UDI stuff back in...

32 years agomerge in some p3 Makefile changes
David D. Zuhn [Thu, 5 Nov 1992 23:04:38 +0000 (23:04 +0000)]
merge in some p3 Makefile changes

32 years ago * relax.c (build_it): re-enable the processing of data_statements
Steve Chamberlain [Thu, 5 Nov 1992 19:35:38 +0000 (19:35 +0000)]
* relax.c (build_it): re-enable the processing of data_statements
in scripts, makes counted contructor lists work again.

32 years agochecked in new changelog
Mike Werner [Thu, 5 Nov 1992 18:46:35 +0000 (18:46 +0000)]
checked in new changelog

32 years ago* target.c (struct bfd_target): Eliminate the SDEF and SDEF_FMT
John Gilmore [Thu, 5 Nov 1992 13:50:25 +0000 (13:50 +0000)]
* target.c (struct bfd_target):  Eliminate the SDEF and SDEF_FMT
macros; use PARAMS to declare the function pointers involved.

32 years agoUpdate to match EXFUN, bfd_seclet_struct, and SDEF cleanups in bfd.
John Gilmore [Thu, 5 Nov 1992 13:46:35 +0000 (13:46 +0000)]
Update to match EXFUN, bfd_seclet_struct, and SDEF cleanups in bfd.

32 years agoRemove uses of SDEF and PROTO macros (use PARAMS).
John Gilmore [Thu, 5 Nov 1992 13:44:51 +0000 (13:44 +0000)]
Remove uses of SDEF and PROTO macros (use PARAMS).

32 years agoUpdate after bfd_seclet_struct => bfd_seclet change.
John Gilmore [Thu, 5 Nov 1992 13:19:06 +0000 (13:19 +0000)]
Update after bfd_seclet_struct => bfd_seclet change.

32 years ago* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,
John Gilmore [Thu, 5 Nov 1992 13:17:38 +0000 (13:17 +0000)]
* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,
targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet.

32 years agoMissed one use of PROTO.
John Gilmore [Thu, 5 Nov 1992 12:08:17 +0000 (12:08 +0000)]
Missed one use of PROTO.

32 years agoClean up some old BFD ansification macros.
John Gilmore [Thu, 5 Nov 1992 12:01:44 +0000 (12:01 +0000)]
Clean up some old BFD ansification macros.

* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
It still remains as a local macro in gmalloc.c, which is derived
from some other copy of GNU Malloc somewhere (FIXME).

* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
fns really static.
* arsup.h:  Declare extract_files.

32 years agoUpdate to match PARAMS changes in bfd.
John Gilmore [Thu, 5 Nov 1992 11:22:12 +0000 (11:22 +0000)]
Update to match PARAMS changes in bfd.

32 years agoCleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS.
John Gilmore [Thu, 5 Nov 1992 11:13:01 +0000 (11:13 +0000)]
Cleanup:  Replace all uses of EXFUN in the BFD sources, with PARAMS.

* archures.c, reloc.c, section.c, tekhex.c:  Use PARAMS in
declaring pointers to functions.
* cache.c, elf.c:  Move static function decls to top, use PARAMS.
* seclet.h:  Declare external function with PARAMS.

* libbfd.h:  Update, based on changes in source code and chew.

32 years ago* i386-stub.c: Remove ansidecl.h and the few uses of it.
John Gilmore [Thu, 5 Nov 1992 08:40:38 +0000 (08:40 +0000)]
* i386-stub.c:  Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.

32 years ago* README: Add remote-es1800.c and remote-st2000.c to table.
John Gilmore [Thu, 5 Nov 1992 08:26:15 +0000 (08:26 +0000)]
* README:  Add remote-es1800.c and remote-st2000.c to table.
* go32-nat.c:  Remove, there is no native go32 support.
* go32-xdep.c:  Remove unused fork, fvork, wait, execlp, kill_inferior.
* infcmd.c (run_command):  Avoid long calls to printf_filtered.
Bug fix courtesy of Alexander Klaiber.

32 years ago* bfd-in.h: Improve comments to make it clear that bfd.h is
John Gilmore [Thu, 5 Nov 1992 08:17:56 +0000 (08:17 +0000)]
* bfd-in.h:  Improve comments to make it clear that bfd.h is
the wrong place to edit this file.
* Makefile.in (install):  Install ansidecl.h and obstack.h in the
same places where we install bfd.h.
* libieee.h:  Add FIXME about removing limit on number of sections.

32 years ago* inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap): Add
Stu Grossman [Thu, 5 Nov 1992 03:54:01 +0000 (03:54 +0000)]
* inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap):  Add
new routines to deal with sending SIGINTs to attached processes
when the user interrupts the controlling GDB.
* inftarg.c (child_wait), procfs.c (procfs_wait):  Add calls to
the aforementioned routines when waiting for the attached process.

32 years agochanged changelog
Mike Werner [Thu, 5 Nov 1992 02:42:35 +0000 (02:42 +0000)]
changed changelog

32 years ago* Makefile.in: Added stuff for building deja-gnu.
Mike Werner [Thu, 5 Nov 1992 02:23:34 +0000 (02:23 +0000)]
* Makefile.in: Added stuff for building deja-gnu.

32 years agoUndo last change. Read diffs backwards!
Stu Grossman [Thu, 5 Nov 1992 00:55:55 +0000 (00:55 +0000)]
Undo last change.  Read diffs backwards!

32 years ago* readline.c: Cast many uses of alloca to (char *) to make brain-
Stu Grossman [Wed, 4 Nov 1992 23:34:54 +0000 (23:34 +0000)]
* readline.c:  Cast many uses of alloca to (char *) to make brain-
damaged compilers happy.
* sysdep-norm.h:  Remove some crud, install dire warning.

32 years ago* elfread.c, mipsread.c: Include <string.h>.
Stu Grossman [Wed, 4 Nov 1992 23:31:52 +0000 (23:31 +0000)]
* elfread.c, mipsread.c:  Include <string.h>.
* i386-stub.c:  Include "ansidecl.h" to deal with prototypes.
* serial.h:  Add prototype for serial_restore().

32 years ago(Duplicate change from p3.)
Sean Eric Fagan [Wed, 4 Nov 1992 21:57:47 +0000 (21:57 +0000)]
(Duplicate change from p3.)
Only change coff auxent header fields when the circumstances require it.  or
at least warrant.

32 years agoWed Nov 4 11:13:25 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 4 Nov 1992 19:45:42 +0000 (19:45 +0000)]
Wed Nov  4 11:13:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* minsyms.c (lookup_minimal_symbol_by_pc): subtract 1, not 2, from
minimal_symbol_count, because the NULL symbol is not included in
the count.  This prevented this function from finding the last
symbol in the table.

32 years agodelete unused BFD_EMIT_TABLE macro def
Ken Raeburn [Wed, 4 Nov 1992 16:08:39 +0000 (16:08 +0000)]
delete unused BFD_EMIT_TABLE macro def

32 years agothis morning's check-ins...
Ken Raeburn [Wed, 4 Nov 1992 16:01:54 +0000 (16:01 +0000)]
this morning's check-ins...

32 years agobout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so widening works
Ken Raeburn [Wed, 4 Nov 1992 15:31:02 +0000 (15:31 +0000)]
bout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so widening works
consistently.

32 years agoaoutx.h (some_aout_object_p): Section list should be set up properly already;
Ken Raeburn [Wed, 4 Nov 1992 14:35:20 +0000 (14:35 +0000)]
aoutx.h (some_aout_object_p): Section list should be set up properly already;
don't need to tweak "next" pointers.

32 years agoTue Nov 3 11:29:17 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 3 Nov 1992 19:52:43 +0000 (19:52 +0000)]
Tue Nov  3 11:29:17 1992  Ian Lance Taylor  (ian@cygnus.com)

* dbxread.c (process_one_symbol): if not defined
(BLOCK_ADDRESS_FUNCTION_RELATIVE), set function_start_offset at
the start of the function, not just after N_FUN.

32 years agoAvoid character '+' in nodenames, gives formatters indigestion.
Roland Pesch [Tue, 3 Nov 1992 00:58:46 +0000 (00:58 +0000)]
Avoid character '+' in nodenames, gives formatters indigestion.

32 years agoChanges to work with new config.sub file from merge with FSF.
Jim Wilson [Tue, 3 Nov 1992 00:18:02 +0000 (00:18 +0000)]
Changes to work with new config.sub file from merge with FSF.

32 years agoMon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 2 Nov 1992 20:43:55 +0000 (20:43 +0000)]
Mon Nov  2 12:36:14 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
config/i386v.mh: removed -DUSG from HDEFINES.
hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
defined USE_UTIME.
hosts/i386v.h: don't define POSIX_UTIME.

32 years agoI'm eliminating the use of USG from binutils/ar.c, and nothing else in
Ian Lance Taylor [Mon, 2 Nov 1992 20:41:14 +0000 (20:41 +0000)]
I'm eliminating the use of USG from binutils/ar.c, and nothing else in
binutils, bfd or opcodes uses it.

Mon Nov  2 12:36:14 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
config/i386v.mh: removed -DUSG from HDEFINES.
hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
defined USE_UTIME.
hosts/i386v.h: don't define POSIX_UTIME.

32 years ago * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add sed patterns to
Fred Fish [Sat, 31 Oct 1992 00:35:08 +0000 (00:35 +0000)]
* Makefile.in (c-exp.tab.c, m2-exp.tab.c):  Add sed patterns to
  remap all malloc's to xmalloc's and all realloc's to xrealloc's.
* c-exp.y, m2-exp.y:  Add comment about how malloc/realloc are
  remapped to xmalloc/xrealloc, use only malloc/realloc in grammer
  file.  Remove preprocessor defines that previously did remapping.

32 years ago * ieee.c (ieee_slurp_sections): make a private copy of the
Steve Chamberlain [Sat, 31 Oct 1992 00:15:10 +0000 (00:15 +0000)]
* ieee.c (ieee_slurp_sections): make a private copy of the
section's name before truncating it.

32 years agoAdd deja-gnu to configdirs.
Fred Fish [Fri, 30 Oct 1992 19:38:52 +0000 (19:38 +0000)]
Add deja-gnu to configdirs.

32 years agoDelete some obsolete LIFE stuff.
Jim Wilson [Thu, 29 Oct 1992 22:41:01 +0000 (22:41 +0000)]
Delete some obsolete LIFE stuff.

32 years ago * hppa.c: add symbol_leading_char entry in transfer vec
Steve Chamberlain [Thu, 29 Oct 1992 16:32:36 +0000 (16:32 +0000)]
* hppa.c: add symbol_leading_char entry in transfer vec

32 years ago * mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywords
Steve Chamberlain [Thu, 29 Oct 1992 00:21:36 +0000 (00:21 +0000)]
* mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywords
ALIGN, ALIGNMOD, and TRUNCATE.
* ldsym.c: (hash_string, search, process_keepsyms): support
truncation of symbols.

32 years ago,Wed Oct 28 16:11:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Thu, 29 Oct 1992 00:17:07 +0000 (00:17 +0000)]
,Wed Oct 28 16:11:57 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* ieee.c (get_symbol): can now cope when two symbols of a
different class, but the same index number occur consecutively.
(get_section_entry): nicer name for sections being forward
referenced. (ieee_archive_p): don't free the filename string,
since it was never malloced.

32 years ago(coff_write_object_contents): Zero timestamp field.
John Gilmore [Wed, 28 Oct 1992 21:44:39 +0000 (21:44 +0000)]
(coff_write_object_contents):  Zero timestamp field.