binutils-gdb.git
30 years ago * config/tc-mips.c (mips_ip): Make an unsupported instruction a
Ian Lance Taylor [Tue, 1 Feb 1994 23:10:05 +0000 (23:10 +0000)]
* config/tc-mips.c (mips_ip): Make an unsupported instruction a
warning, not an error.

30 years ago * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
Jim Kingdon [Tue, 1 Feb 1994 22:17:29 +0000 (22:17 +0000)]
* config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
Define IN_SIGTRAMP and backtrace correctly through signal handlers.

30 years agoTue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Tue, 1 Feb 1994 21:46:17 +0000 (21:46 +0000)]
Tue Feb  1 22:13:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* procfs.c (wait_fd):  Handle EINTR error return from PIOCWSTOP ioctl
by restarting the ioctl.

30 years ago * target.h (target_wait): Add comment about calling
Jim Kingdon [Tue, 1 Feb 1994 21:19:48 +0000 (21:19 +0000)]
* target.h (target_wait): Add comment about calling
return_to_top_level.

30 years ago * gasp.c: Include host.h.
Steve Chamberlain [Tue, 1 Feb 1994 18:58:32 +0000 (18:58 +0000)]
* gasp.c: Include host.h.

30 years ago * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
Ian Lance Taylor [Tue, 1 Feb 1994 17:26:01 +0000 (17:26 +0000)]
* coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
additional arguments.
* xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.

30 years agoobj-coff, obj-coffbfd changes.
Ian Lance Taylor [Tue, 1 Feb 1994 17:19:54 +0000 (17:19 +0000)]
obj-coff, obj-coffbfd changes.

30 years ago * config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
Ian Lance Taylor [Tue, 1 Feb 1994 17:18:42 +0000 (17:18 +0000)]
* config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
now takes more arguments.

30 years ago * config/obj-coff.c (dot_text_symbol, dot_data_symbol,
Ian Lance Taylor [Tue, 1 Feb 1994 17:17:52 +0000 (17:17 +0000)]
* config/obj-coff.c (dot_text_symbol, dot_data_symbol,
dot_bss_symbol): Don't define if BFD_ASSEMBLER.
(obj_symbol_to_chars): bfd_coff_swap_aux_out now takes more
arguments.
(coff_line_base): Renamed from line_base.  Changed all uses.
(coff_add_linesym): Renamed from add_line_sym.  Made non-static.
Changed all uses.
* config/obj-coff.h: If TC_PPC, include coff/rs6000.h.
(S_SET_STORAGE_CLASS, S_GET_STORAGE_CLASS): Declare if
BFD_ASSEMBLER.
(coff_line_base): Declare.
(coff_add_linesym): Declare if BFD_ASSEMBLER.

30 years ago * coffcode.h (bfd_coff_backend_data): Added new arguments to
Ian Lance Taylor [Tue, 1 Feb 1994 17:11:56 +0000 (17:11 +0000)]
* coffcode.h (bfd_coff_backend_data): Added new arguments to
_bfd_coff_swap_aux_in and _bfd_coff_swap_aux_out: aux index number
and number of aux entries.
(bfd_coff_swap_aux_in, bfd_coff_swap_aux_out): Changed
accordingly.
* libcoff.h: Rebuilt.
* coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Accept new
arguments.  If RS6000COFF_C, only treat C_EXT and C_HIDEXT
specially if this is the last aux entry.
* coffgen.c (coff_write_symbol, coff_get_normalized_symtab): Pass
new arguments to swap_aux functions.

30 years agoRevisions from Jeff Law to HPPA-directives section.
Roland Pesch [Tue, 1 Feb 1994 05:27:07 +0000 (05:27 +0000)]
Revisions from Jeff Law to HPPA-directives section.

This version formats cleanly under makeinfo, and in Cygnus format.

Default FSF format works without error, but tables of machine
instructions for some machines have stupid page boundaries (FSF
version uses larger page size).

30 years ago(1) eliminate GPL and refs thereto, as authorized by RMS
Roland Pesch [Tue, 1 Feb 1994 04:36:50 +0000 (04:36 +0000)]
(1) eliminate GPL and refs thereto, as authorized by RMS
(2) enable MIPS-specific docn (cf PR 4434)

30 years agoKeep or lose MPW subdir
Stan Shebs [Tue, 1 Feb 1994 03:48:54 +0000 (03:48 +0000)]
Keep or lose MPW subdir

30 years ago(1) summary descriptions of HPPA-specific directives
Roland Pesch [Tue, 1 Feb 1994 03:48:35 +0000 (03:48 +0000)]
(1) summary descriptions of HPPA-specific directives
(2) leading comments for future updates, about places to check for new
    directives
(3) doc for new portable ".string" directive
(4) minor updates to dates etc.

30 years agoMon Jan 31 18:52:47 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 03:23:19 +0000 (03:23 +0000)]
Mon Jan 31 18:52:47 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-build.in: Add install action.
* mpw-make.in (cplusfilt): Renamed from c++filt.
(INCLUDES): Add more paths.

30 years agoMon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 02:52:22 +0000 (02:52 +0000)]
Mon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)

* objdump.c (display_target_list, display_info_table): Check that
the bfd of the dummy output file is not null.

30 years ago * config/mh-lynxosrs6k: Account for lack of ranlib!
Stu Grossman [Tue, 1 Feb 1994 02:43:21 +0000 (02:43 +0000)]
* config/mh-lynxosrs6k:  Account for lack of ranlib!

30 years agoMon Jan 31 18:08:16 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 02:09:26 +0000 (02:09 +0000)]
Mon Jan 31 18:08:16 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-xconfig.in: Get opcode/mips.h from the right place.

30 years agoMon Jan 31 18:06:41 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 02:07:53 +0000 (02:07 +0000)]
Mon Jan 31 18:06:41 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in (CFLAGS): Add more include paths.

30 years agoMon Jan 31 17:55:14 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 02:03:06 +0000 (02:03 +0000)]
Mon Jan 31 17:55:14 1994  Stan Shebs  (shebs@andros.cygnus.com)

* as.c (statistics_flag): Renamed from quiet_flag.
(main): Get statistics with --statistics instead of -noquiet.

30 years agocorrect typo in as cmdline synopsis (-w for -W);
Roland Pesch [Tue, 1 Feb 1994 00:36:50 +0000 (00:36 +0000)]
correct typo in as cmdline synopsis (-w for -W);
describe --statistics (nee -noquiet);
describe -Z

30 years agoMon Jan 31 16:11:52 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 00:13:48 +0000 (00:13 +0000)]
Mon Jan 31 16:11:52 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-mh-mpw (CFLAGS): Add -b option to put strings at the ends of
functions.

30 years ago * sparc-stub.c: Remove unnecessary #include of memory.h.
Stu Grossman [Tue, 1 Feb 1994 00:12:20 +0000 (00:12 +0000)]
* sparc-stub.c:  Remove unnecessary #include of memory.h.

30 years agoMon Jan 31 16:07:58 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 1 Feb 1994 00:10:32 +0000 (00:10 +0000)]
Mon Jan 31 16:07:58 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-configure: Add definition of EMUL to makefiles.
* mpw-config.in: Use forward-include to create include files.

30 years ago * mips-tdep.c: Remove code which sets saved_regs from
Jim Kingdon [Mon, 31 Jan 1994 21:22:44 +0000 (21:22 +0000)]
* mips-tdep.c: Remove code which sets saved_regs from
init_extra_frame_info and put it in new function mips_find_saved_regs.
(READ_FRAME_REG): Remove macro and replace uses with the expansion.
* mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
check if it is NULL and call mips_find_saved_regs if so.

30 years ago * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
Jim Kingdon [Mon, 31 Jan 1994 21:15:53 +0000 (21:15 +0000)]
* gdb.t24/demangle.exp: Remove a bunch of tests which differ only
in the names.  The main thing these accomplish is to slow things down.
Many more such duplicates surely remain.

30 years agoAcknowlegements: surely John Gilmore's one-bit fix was proverbial,
Roland Pesch [Mon, 31 Jan 1994 20:47:07 +0000 (20:47 +0000)]
Acknowlegements: surely John Gilmore's one-bit fix was proverbial,
                 not apocryphal.

apoc-ry-phal \-fel\ adj
(1590)
1 often cap: of or resembling the Apocrypha
2: of doubtful authenticity: SPURIOUS
syn see FICTITIOUS

pro-ver-bi-al \pre-'ver-be^--el\ adj
(1548)
1: of, relating to, or resembling a proverb
2: that has become a proverb or byword: commonly spoken of

30 years ago * gdb.t00/help.exp: Comment out "help support" test just like
Jim Kingdon [Mon, 31 Jan 1994 20:43:53 +0000 (20:43 +0000)]
* gdb.t00/help.exp: Comment out "help support" test just like
(and for same reason as) "help set" test.

30 years agotest code for fp handling -- no .exp file yet
Ken Raeburn [Mon, 31 Jan 1994 19:11:28 +0000 (19:11 +0000)]
test code for fp handling -- no .exp file yet

30 years ago* remote-mips.c: Use unfiltered, not filtered, output most places.
Jim Kingdon [Mon, 31 Jan 1994 18:22:06 +0000 (18:22 +0000)]
* remote-mips.c: Use unfiltered, not filtered, output most places.

30 years ago * blockframe.c (get_prev_frame_info): Detect and stop an infinite
Jim Kingdon [Mon, 31 Jan 1994 17:18:58 +0000 (17:18 +0000)]
* blockframe.c (get_prev_frame_info): Detect and stop an infinite
backtrace.  Revise comments.

30 years agoNew files for testing gasp.
Steve Chamberlain [Mon, 31 Jan 1994 16:53:03 +0000 (16:53 +0000)]
New files for testing gasp.

30 years agoSupport for gasp.
Steve Chamberlain [Mon, 31 Jan 1994 16:44:53 +0000 (16:44 +0000)]
Support for gasp.

30 years agoNew file.
Steve Chamberlain [Mon, 31 Jan 1994 16:40:55 +0000 (16:40 +0000)]
New file.

30 years agoNew file.
Steve Chamberlain [Mon, 31 Jan 1994 16:37:19 +0000 (16:37 +0000)]
New file.

30 years ago * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
Peter Schauer [Mon, 31 Jan 1994 16:23:48 +0000 (16:23 +0000)]
* mdebugread.c (parse_procedure):  Remove _sigtramp kludges for
alpha and irix. The _sigtramp case has to be handled properly
in the tdep files if we have no ecoff debugging info.
* alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
mips-tdep.c (mips_frame_saved_pc):  Handle signal handler frames
without PC_REGNUM kludge.
* mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
Clean up handling of mips sigtramp frames, improve comments.

30 years ago * read.c (s_lcomm): Align lcomm data.
Steve Chamberlain [Mon, 31 Jan 1994 15:28:06 +0000 (15:28 +0000)]
* read.c (s_lcomm): Align lcomm data.
* config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction
from different sections.

30 years agoFix typo in ChangeLog entry.
Fred Fish [Mon, 31 Jan 1994 15:25:07 +0000 (15:25 +0000)]
Fix typo in ChangeLog entry.

30 years ago * gdb.t06/break.exp: Remove setup_xfails for
Fred Fish [Mon, 31 Jan 1994 15:22:47 +0000 (15:22 +0000)]
    * gdb.t06/break.exp:  Remove setup_xfails for
        sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
        * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
        about known bug in gcc to include up through 2.5.8.
        * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
        well as "_vb$".
        * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
        Remove setup_xfails for sparc-sun-solaris2.*, these tests no pass
        with latest gcc and gdb.
        * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
        well as "_vb$".

30 years agofix regexp for all/x930509.s
Ken Raeburn [Mon, 31 Jan 1994 04:39:12 +0000 (04:39 +0000)]
fix regexp for all/x930509.s

30 years agoMakefile.in (check, installcheck): Identify directory in "no testsuites"
Ken Raeburn [Mon, 31 Jan 1994 04:20:00 +0000 (04:20 +0000)]
Makefile.in (check, installcheck): Identify directory in "no testsuites"
message.

30 years agoalpha & vax changes
Ken Raeburn [Sun, 30 Jan 1994 23:32:56 +0000 (23:32 +0000)]
alpha & vax changes

30 years ago* configure.in: Handle host vax-*-ultrix* like vax-*-bsd*. Don't bother with
Ken Raeburn [Sun, 30 Jan 1994 23:31:44 +0000 (23:31 +0000)]
* configure.in: Handle host vax-*-ultrix* like vax-*-bsd*.  Don't bother with
*-*-ultrix or *-*-sysv*, except *-*-sysv, since only the last has an existing
host support file.  Do handle vax-bsd and vax-ultrix targets.

30 years ago* read.c (do_align): New function, most of guts of s_align_* functions. Look
Ken Raeburn [Sun, 30 Jan 1994 23:29:20 +0000 (23:29 +0000)]
* read.c (do_align): New function, most of guts of s_align_* functions.  Look
for md_do_align macro, give it a chance to bypass all but recording of section
alignment.
(s_align_bytes, s_align_ptwo): Call do_align.
(s_lcomm) [TC_ALPHA]: Align object to largest power of two that divides object
size.

30 years ago(Already checked in write.c and config/tc-alpha.c, but no log msg went
Ken Raeburn [Sun, 30 Jan 1994 23:26:55 +0000 (23:26 +0000)]
(Already checked in write.c and config/tc-alpha.c, but no log msg went
out because $CVSROOT was wrong...)

* write.c (write_object_file): If tc_frob_file is defined, call it
just before calling obj_frob_file.
* config/tc-alpha.c (alpha_gp_value): Renamed from gp_value
(references changed), and made non-static.
(getExpression): Return void.
(select_gp_value): Abort if gp_value is non-zero.  Delete call to
non-existent bfd_set_gp_value.
(alpha_validate_fix): Function deleted.
(alpha_frob_symbol): Function deleted.
(alpha_local_label): Function deleted.
(alpha_frob_file): Renamed from alpha_end.
* config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix,
alpha_local_label, alpha_end): Declarations deleted.
(alpha_gp_value, alpha_frob_file): Declare.
(tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted.
(LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label.
(md_convert_frag): Simplified slightly.
(tc_frob_file): New macro.

30 years ago* write.c (write_object_file): If tc_frob_file is defined, call it
Ken Raeburn [Sun, 30 Jan 1994 23:21:55 +0000 (23:21 +0000)]
* write.c (write_object_file): If tc_frob_file is defined, call it
just before calling obj_frob_file.
* config/tc-alpha.c (alpha_gp_value): Renamed from gp_value (refs changed), made
non-static.
(getExpression): Return void.
(select_gp_value): Abort if gp_value is non-zero.  Delete call to non-existent
bfd_set_gp_value.
(alpha_validate_fix): Function deleted.
(alpha_frob_symbol): Function deleted.
(alpha_local_label): Function deleted.
(alpha_frob_file): Renamed from alpha_end.
* config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix, alpha_local_label,
alpha_end): Declarations deleted.
(alpha_gp_value, alpha_frob_file): Declare.
(tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted.
(LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label.
(md_convert_frag): Simplified slightly.
(tc_frob_file): New macro.

30 years agoconfig.guess: Recognize vax hosts. (Sent to RMS.)
Ken Raeburn [Sun, 30 Jan 1994 23:01:50 +0000 (23:01 +0000)]
config.guess: Recognize vax hosts.  (Sent to RMS.)

30 years ago* ldlex.l: Removed duplicate rules.
Ken Raeburn [Sun, 30 Jan 1994 21:22:38 +0000 (21:22 +0000)]
* ldlex.l: Removed duplicate rules.
(yywrap): Provide default definition, needed with some versions of flex.

30 years ago * gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros
Ken Raeburn [Sun, 30 Jan 1994 20:30:53 +0000 (20:30 +0000)]
* gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros
(only testing for m68k and vax at the moment); do verify that the
preprocessor didn't trash the arch name inside the string version.
Don't print out "pagesize =" line that prevents output from
compiling.  Derive BYTES_IN_WORD and ARCH values from sizeof
results.
* Makefile.in (aout-params.h): Pass gen-aout a dummy target name.

30 years ago * aoutx.h (aout_link_write_symbols): Write out correct value for
Ian Lance Taylor [Sun, 30 Jan 1994 18:29:26 +0000 (18:29 +0000)]
* aoutx.h (aout_link_write_symbols): Write out correct value for
object file symbol.

30 years ago * configure.in (hppa*-*-*): Also configure and build stabs-only
Jeff Law [Sun, 30 Jan 1994 07:32:26 +0000 (07:32 +0000)]
    * configure.in (hppa*-*-*): Also configure and build stabs-only
        tests.

30 years ago * paread.c (read_unwind_info)
Jeff Law [Sun, 30 Jan 1994 07:28:03 +0000 (07:28 +0000)]
    * paread.c (read_unwind_info)

        * paread.c (pa_symtab_read): Update the "check_strange_names"
        filter to match GCC's current output.  Filter out section symbols
        (which the HP linker sometimes puts in the wrong place).

30 years ago * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
Jim Kingdon [Sat, 29 Jan 1994 19:07:02 +0000 (19:07 +0000)]
* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
* remote-es.c: Extensive changes to update to current conventions.

30 years ago * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
Jim Kingdon [Sat, 29 Jan 1994 17:30:44 +0000 (17:30 +0000)]
* Makefile.in (TAGS): Just echo one line, rather than the whole thing.

* Makefile.in: Remove all references to sparcly-nat.c.

* Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
remote-sim.h directly, rather than via $(remote_utils_h).  This avoids
duplicating serial.h and target.h.

* Makefile.in: Don't set M_INSTALL and M_UNINSTALL.  These variables
are not used anywhere (a 5 Oct 1993 change removed the uses).

30 years ago * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
Jim Kingdon [Sat, 29 Jan 1994 17:17:28 +0000 (17:17 +0000)]
* Makefile.in: Don't set M_INSTALL and M_UNINSTALL.  These variables
are not used anywhere (a 5 Oct 1993 change removed the uses).

30 years ago * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
Jim Kingdon [Sat, 29 Jan 1994 17:13:42 +0000 (17:13 +0000)]
* config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
* config/m68k/es1800.mt: Add comment.
* remote-es.c: Comment out entire file until it can be fixed.

30 years ago * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
Jim Kingdon [Sat, 29 Jan 1994 16:12:35 +0000 (16:12 +0000)]
* ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
to achieve the desired timeout.
* serial.h (serial_t): Add field timeout_remaining.

30 years ago* c-exp.y (yylex): Reenable nested type code.
Jim Kingdon [Sat, 29 Jan 1994 00:59:50 +0000 (00:59 +0000)]
* c-exp.y (yylex): Reenable nested type code.

30 years ago* hosts/vaxbsd.h (HOST_STACK_END_ADDR): Vax BSD doesn't define
Ken Raeburn [Fri, 28 Jan 1994 23:42:25 +0000 (23:42 +0000)]
* hosts/vaxbsd.h (HOST_STACK_END_ADDR): Vax BSD doesn't define
KERNBASE, so hard-code 0x80000000 instead.

30 years ago* a29k-tdep.c (examine_tag): Add comment regarding argcount.
Jim Kingdon [Fri, 28 Jan 1994 22:42:31 +0000 (22:42 +0000)]
* a29k-tdep.c (examine_tag): Add comment regarding argcount.

30 years ago* remote-mips.c (mips_ops): Fix docstring.
Jim Kingdon [Fri, 28 Jan 1994 22:06:01 +0000 (22:06 +0000)]
* remote-mips.c (mips_ops): Fix docstring.

30 years ago * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
Jim Kingdon [Fri, 28 Jan 1994 21:58:12 +0000 (21:58 +0000)]
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
* infptrace.c (kill_inferior): Add comments.
* main.c (quit_command): Call target_close after we kill or
detach.
* remote-udi.c (udi_close): Don't error() if QUITTING.

30 years ago* remote-bug.c (bug_ops): Remove spurious newline from docstring.
Jim Kingdon [Fri, 28 Jan 1994 21:34:58 +0000 (21:34 +0000)]
* remote-bug.c (bug_ops): Remove spurious newline from docstring.

30 years ago * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
David MacKenzie [Fri, 28 Jan 1994 21:20:11 +0000 (21:20 +0000)]
* ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
the archive filename too.

30 years ago * config/m68k/tm-monitor.h: Changes to bring this into accordance
Jim Kingdon [Fri, 28 Jan 1994 21:10:07 +0000 (21:10 +0000)]
* config/m68k/tm-monitor.h: Changes to bring this into accordance
with the old tm-m68k-em.h:
(GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
(HAVE_68881): Don't undefine; this #define is obsolete.
(REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
Add FIXME regarding GET_LONGJMP_TARGET.

30 years ago* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
Jim Kingdon [Fri, 28 Jan 1994 20:43:59 +0000 (20:43 +0000)]
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.

30 years ago* configure (while loop): Don't use "break 2" inside case
Ken Raeburn [Fri, 28 Jan 1994 20:32:19 +0000 (20:32 +0000)]
* configure (while loop): Don't use "break 2" inside case
statement -- the case statement isn't an enclosing loop.

30 years agoget rid of rcs crud
Ken Raeburn [Fri, 28 Jan 1994 20:17:18 +0000 (20:17 +0000)]
get rid of rcs crud

30 years agoFix test case to be valid ANSI C++.
Ken Raeburn [Fri, 28 Jan 1994 20:09:26 +0000 (20:09 +0000)]
Fix test case to be valid ANSI C++.

Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought
to work for CXX.

In cdtest.exp: Combine "rm" lines.  Added some commentary on things still
broken in this test case.

30 years ago* lib/ld.exp (simple_diff): Indicate failure if files have different numbers of
Ken Raeburn [Fri, 28 Jan 1994 20:05:56 +0000 (20:05 +0000)]
* lib/ld.exp (simple_diff): Indicate failure if files have different numbers of
lines.  Don't muck with $differences to avoid indicating a pass, just return.

Also got rid of trailing whitespace on some lines.

30 years ago * ldlex.l: Add rule to catch invalid input characters instead of
David MacKenzie [Fri, 28 Jan 1994 19:36:53 +0000 (19:36 +0000)]
* ldlex.l: Add rule to catch invalid input characters instead of
printing them.  Include "ldmain.h" for program_name decl.
(lex_warn_invalid): New function.
* Makefile.in: Add dependency.

30 years ago * configure.in: Make m68k-coff and aout add monitor support in
Rob Savoye [Fri, 28 Jan 1994 18:58:54 +0000 (18:58 +0000)]
* configure.in: Make m68k-coff and aout add monitor support in
addition to the standard serial support.

30 years ago* Makefile.in (check): Don't bother running any tests of
Ken Raeburn [Fri, 28 Jan 1994 18:02:43 +0000 (18:02 +0000)]
* Makefile.in (check): Don't bother running any tests of
cross-linker until the test suite no longer assumes native mode.

30 years agokeep test suite
Ken Raeburn [Fri, 28 Jan 1994 17:19:22 +0000 (17:19 +0000)]
keep test suite

30 years ago * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
Jim Kingdon [Fri, 28 Jan 1994 16:56:58 +0000 (16:56 +0000)]
* mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
index indexNil.

30 years ago * config/obj-coff.c (obj_coff_section_header_append): Do not
Ian Lance Taylor [Fri, 28 Jan 1994 16:30:29 +0000 (16:30 +0000)]
* config/obj-coff.c (obj_coff_section_header_append): Do not
declare if BFD_ASSEMBLER.
(stack_pop): Correct test for stack underflow.
(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
type of ignored argument to avoid gcc warning.
(align): Removed unused function.

30 years ago * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
Jim Kingdon [Fri, 28 Jan 1994 16:25:25 +0000 (16:25 +0000)]
* config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
* elfread.c (record_minimal_symbol_and_info),
dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.

30 years agoremoved rcs cruft
Ken Raeburn [Fri, 28 Jan 1994 05:38:41 +0000 (05:38 +0000)]
removed rcs cruft

30 years agoMany scattered edits, primarily on recent mods.
Roland Pesch [Fri, 28 Jan 1994 04:32:37 +0000 (04:32 +0000)]
Many scattered edits, primarily on recent mods.

Ancient "Internals" text deleted.

30 years ago* i386-stub.c: Add ".text" right before "mem_fault:".
Jim Kingdon [Fri, 28 Jan 1994 02:50:18 +0000 (02:50 +0000)]
* i386-stub.c: Add ".text" right before "mem_fault:".

30 years ago * main.c (baud_rate): Add FIXME comment about printing -1 value.
Jim Kingdon [Fri, 28 Jan 1994 02:18:39 +0000 (02:18 +0000)]
* main.c (baud_rate): Add FIXME comment about printing -1 value.

* remote-utils.c (usage): Fix message to be accurate and conform
more closely to normal conventions.

* remote-utils.c (gr_files_info): Have the exec_bfd test control
whether to show information about exec_bfd, and not control whether
to show information about device and speed.

* remote-utils.c (gr_open): If sr_get_device returns NULL, give
usage message, don't dump core.

* remote-bug.c (bug_write_memory): Use alloca, not GCC extension
for variable size array.
(bug_fetch_register, bug_store_register): Rename "value" to
"fpreg_buf" because some compilers don't like variables whose
names are the same as types.
(bug_store_register): Use a cast when converting char * to
unsigned char *.

30 years agoVarious changes: alpha support, fx_done handling, EMIT_SECTION_SYMBOLS, ...
Ken Raeburn [Fri, 28 Jan 1994 01:42:05 +0000 (01:42 +0000)]
Various changes: alpha support, fx_done handling, EMIT_SECTION_SYMBOLS, ...

30 years agoComment change: Soften recommendations against supplying sym+addend operands,
Ken Raeburn [Fri, 28 Jan 1994 01:40:22 +0000 (01:40 +0000)]
Comment change: Soften recommendations against supplying sym+addend operands,
since it works, and gas does it.  It's merely wasteful of space.

30 years agoNew Alpha support files, based on files from CMU.
Ken Raeburn [Fri, 28 Jan 1994 01:37:02 +0000 (01:37 +0000)]
New Alpha support files, based on files from CMU.
Still to do:
 - fix floating-point handling
 - figure out if we can adapt to using ../opcodes/alpha-opc.h
 - gcc bootstrap testing
 - 32-bit mode support?
 - test cross-assembly

30 years agoThu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)
Steve Chamberlain [Fri, 28 Jan 1994 01:26:25 +0000 (01:26 +0000)]
Thu Jan 27 17:19:54 1994  Steve Chamberlain  (sac@jonny.cygnus.com)

* ldlang.c (print_one_symbol, print_input_section):  Print
global symbols in symbol table again.

30 years ago* as.h: If __GNUC__ and inline are both undefined, define inline away.
Ken Raeburn [Fri, 28 Jan 1994 01:21:53 +0000 (01:21 +0000)]
* as.h: If __GNUC__ and inline are both undefined, define inline away.

* write.c (cvt_frag_to_fill): Don't assume that fr_var for rs_align or rs_org
frags will be 1.
(relax_segment): For rs_align, if fr_var is not 1, complain if
required padding is not a multiple of the size of the pad pattern.
(fixup_segment): Leave gp-relative relocations alone.  For pcrel relocations
referring to the same segment, clear fx_pcrel when clearing fx_addsy.
* as.h: Adjust comments on rs_align.

* write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c: Query the fx_done
field instead of fx_addsy to see if the fixup still needs to be applied.  Set
fx_done and clear fx_addsy both, for now.  If TC_HANDLES_FX_DONE isn't defined,
assume md_apply_fix will only clear fx_addsy, and set fx_done accordingly after
returning.
* config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.

* config/obj-coff.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Defined
here, static.

* config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before including aout/aout64.h.

* write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false, don't write
out a section symbol even if it's used in a relocation; assume relocations will
handle section numbers somehow.  Rename "punt_it" label to "punt_it_if_unused"
to reflect it's true use.
(EMIT_SECTION_SYMBOLS): Default to 1.
(adjust_reloc_syms): Don't create a new symbol for an absolute
reference; just use the absolute section symbol.
(write_relocs): Make printout of reloc values dependent on flag DEBUG3, not
DEBUG2.
* config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
* config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.

30 years ago* chardefs.h: Only declare strrchr if it is not #define'd.
Jim Kingdon [Fri, 28 Jan 1994 01:05:39 +0000 (01:05 +0000)]
* chardefs.h: Only declare strrchr if it is not #define'd.

30 years agowhitespace/formatting changes
Ken Raeburn [Fri, 28 Jan 1994 00:58:00 +0000 (00:58 +0000)]
whitespace/formatting changes

30 years ago * symmisc.c (maintenance_print_symbols): Don't refer to the name
Jim Kingdon [Fri, 28 Jan 1994 00:46:43 +0000 (00:46 +0000)]
* symmisc.c (maintenance_print_symbols): Don't refer to the name
of the command in error message (the text was referring to the old
name of the command).

* symmisc.c (dump_symtab): Fix args to fprintf_filtered.

30 years agowhitespace/comment changes
Ken Raeburn [Fri, 28 Jan 1994 00:21:03 +0000 (00:21 +0000)]
whitespace/comment changes

30 years ago* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.
Ken Raeburn [Fri, 28 Jan 1994 00:03:38 +0000 (00:03 +0000)]
* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.
(symbol_begin): Moved to end of file, so function inlining can work better.
(fb_label_count, fb_label_max): Default C static initializers are sufficient.
* symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Declarations
deleted.

30 years ago * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
Jim Kingdon [Thu, 27 Jan 1994 23:55:10 +0000 (23:55 +0000)]
* c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
full details on structure elements without names.  This partially
reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
of those changes was accidental.

30 years ago* atof-generic.c: Some reformatting.
Ken Raeburn [Thu, 27 Jan 1994 23:39:00 +0000 (23:39 +0000)]
* atof-generic.c: Some reformatting.
(atof_generic): Be careful when mixing signed/unsigned values of different
sizes.

30 years ago * read.c (lex_type): No longer make '{' a valid character for
Ian Lance Taylor [Thu, 27 Jan 1994 23:10:19 +0000 (23:10 +0000)]
* read.c (lex_type): No longer make '{' a valid character for
symbol names.

30 years ago * gdb.texinfo (Selection, Frame Info): Update information about
Jim Kingdon [Thu, 27 Jan 1994 22:01:52 +0000 (22:01 +0000)]
* gdb.texinfo (Selection, Frame Info): Update information about
arbitrary frame specficiations.

30 years ago * as.c (main): Print long values using %ld.
Ian Lance Taylor [Thu, 27 Jan 1994 21:53:17 +0000 (21:53 +0000)]
* as.c (main): Print long values using %ld.

30 years ago * messages.c (as_warn_internal): New static function.
Ian Lance Taylor [Thu, 27 Jan 1994 21:50:46 +0000 (21:50 +0000)]
* messages.c (as_warn_internal): New static function.
(as_warn, 3 versions): Use as_warn_internal.
(as_warn_where, 3 versions): New function.
* as.h (as_warn_where): Declare.

30 years ago * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
Jim Kingdon [Thu, 27 Jan 1994 21:44:40 +0000 (21:44 +0000)]
* stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
defined, make it an error to specify a single argument which is not
a frame number.

30 years ago * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
David MacKenzie [Thu, 27 Jan 1994 20:49:21 +0000 (20:49 +0000)]
* ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
exit successfully instead of complaining if no input files are
given.

30 years ago * Makefile.in (version.c), main.c (print_gdb_version): Use
Jim Kingdon [Thu, 27 Jan 1994 20:19:13 +0000 (20:19 +0000)]
* Makefile.in (version.c), main.c (print_gdb_version): Use
host_alias and target_alias, not host_canonical and
target_canonical, to print configuration.