binutils-gdb.git
30 years ago * Move test with enums and partial symbols back to
Jim Kingdon [Thu, 3 Feb 1994 17:25:43 +0000 (17:25 +0000)]
* Move test with enums and partial symbols back to
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
Reverts the change of 26 May 93.  Per today's change to
stabs.texinfo, the behavior that weird.exp was expecting was
unreasonable; what is important is that the compiler+gdb get
things right, which happens with a recent gcc.  Also fix the test
to deal with native compilers which put out the stab gdb can't
deal with.

30 years ago * stabs.texinfo (Enumerations): Document restriction on where
Jim Kingdon [Thu, 3 Feb 1994 16:44:13 +0000 (16:44 +0000)]
* stabs.texinfo (Enumerations): Document restriction on where
enumeration types can appear and still win with GDB.

30 years ago More changes to print ambiguous matches and use the
David MacKenzie [Thu, 3 Feb 1994 13:08:29 +0000 (13:08 +0000)]
More changes to print ambiguous matches and use the
abstracting macros.

30 years agoFormatting adjustments, for better smallbook formatting
Roland Pesch [Thu, 3 Feb 1994 04:38:58 +0000 (04:38 +0000)]
Formatting adjustments, for better smallbook formatting
and to agree better w/FSF (RMS) indentation conventions.

30 years agoDescribe -retain-symbols-file.
Roland Pesch [Thu, 3 Feb 1994 04:18:11 +0000 (04:18 +0000)]
Describe -retain-symbols-file.

30 years ago* bfd-in2.h: Rebuilt.
Jim Kingdon [Thu, 3 Feb 1994 04:03:11 +0000 (04:03 +0000)]
* bfd-in2.h: Rebuilt.

30 years ago * valarith.c (value_binop): Figure out type ourself based on
Jim Kingdon [Thu, 3 Feb 1994 03:58:26 +0000 (03:58 +0000)]
* valarith.c (value_binop): Figure out type ourself based on
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST.  The
point is that we don't depend on CC_HAS_LONG_LONG anymore.

30 years ago * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
Jim Kingdon [Thu, 3 Feb 1994 03:44:15 +0000 (03:44 +0000)]
* language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
longest_int and longest_unsigned_int.

30 years ago* bfd-in2.h: Rebuilt.
Jim Kingdon [Thu, 3 Feb 1994 03:33:20 +0000 (03:33 +0000)]
* bfd-in2.h: Rebuilt.

30 years ago * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,
Jim Kingdon [Thu, 3 Feb 1994 03:31:22 +0000 (03:31 +0000)]
* libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,
sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.

30 years ago * printcmd.c (decode_format): Don't blithely set the size for
Jim Kingdon [Thu, 3 Feb 1994 03:18:58 +0000 (03:18 +0000)]
* printcmd.c (decode_format): Don't blithely set the size for
an address to 'w'.  Make it 'g' or 'h', depending on TARGET_PTR_BIT.

* defs.h: Just typedef CORE_ADDR to bfd_vma.  Include bfd.h.
If BFD64, make a LONGEST a BFD_HOST_64_BIT.
* defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
always just check against INT_MIN and INT_MAX (this also fixes things
if sizeof (long) > sizeof (int), e.g. Alpha).
* config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
Don't define LONGEST or BUILTIN_TYPE_LONGEST.
* gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
BUILTIN_TYPE_UNSIGNED_LONGEST.
* language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int
and longest_unsigned_int.
* value.h (struct value): Just align to LONGEST, rather than worrying
about CC_HAS_LONG_LONG.
* valarith.c (value_binop, _initialize_valarith): Figure out type
ourself based on sizeof (LONGEST) rather than relying on
BUILTIN_TYPE_LONGEST.  The point is that we don't depend on
CC_HAS_LONG_LONG anymore.
* valprint.c (val_print_type_code_int): Just call
extract_unsigned_integer directly, rather than going through
unpack_long.
* printcmd.c (decode_format): Remove code which would sometimes
change 'g' size to 'w' for integers.  print_scalar_formatted handles
printing huge integers well enough, thank you.

30 years agomisc updates:
Roland Pesch [Thu, 3 Feb 1994 03:12:38 +0000 (03:12 +0000)]
misc updates:
(1) show `-y SYMBOL' with space
(2) weaken multi-target stuff, to avoid false expectations now that
linker now often config'd with only one target
(3) describe -relax support on i960
(4) correct description of hyphen chars in symbols
(5) describe CONSTRUCTORS linker script cmd

30 years ago * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
David MacKenzie [Thu, 3 Feb 1994 01:39:10 +0000 (01:39 +0000)]
* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
* ar.c (print_contents, extract_file), size.c
(print_berkeley_format): Use bfd_get_filename and
bfd_my_archive instead of dereferencing the structs directly.

30 years ago * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
David MacKenzie [Thu, 3 Feb 1994 00:42:37 +0000 (00:42 +0000)]
* ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
Indent.  Remove DEFUNs.

30 years ago * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
David MacKenzie [Thu, 3 Feb 1994 00:25:30 +0000 (00:25 +0000)]
* nlmconv.c (main), objcopy.c (copy_file): Print matching formats
if ambiguous match.
* nm.c (display_file), size.c (display_bfd): Eliminate gotos.
Print matching formats if there is an ambiguous match.  Use
bfd_nonfatal instead of hardcoded error message if nothing matches.

* arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
abfd->filename.

* nm.c (display_archive): New function, from code in display_file.
(display_rel_file): Renamed from do_one_rel_file.

* size.c: Indent.
(display_archive): New function from code in display_file.
(display_file): Check bfd_close error return.

* strings.c (strings_object_file): Check bfd_check_format
error return.

* strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.

* bucomm.c: Delete references to exit_handler.  It wasn't set
anywhere, and now that we're using the libiberty xmalloc, it
wouldn't always get called before exiting.
(list_matching_formats): Function moved from objdump.c.
* bucomm.h: Declare it.

* objdump.c (disassemble_data): Move some variable decls closer to
their use.  Add some comments.  Replace a nested block with a
return.

30 years ago * Makefile.in: Avoid bug in losing hpux sed.
Jeff Law [Wed, 2 Feb 1994 21:58:54 +0000 (21:58 +0000)]
    * Makefile.in:  Avoid bug in losing hpux sed.

30 years ago * command.c (add_set_cmd, no_just_help_class_command): Change
Jim Kingdon [Wed, 2 Feb 1994 20:20:59 +0000 (20:20 +0000)]
* command.c (add_set_cmd, no_just_help_class_command): Change
to make this the sfunc, not cfunc, since that is how we call it.
* command.h: Comment difference between sfunc and cfunc.
* demangle.c (set_demangling_command): Add third arg since that
is how it is called.
(_initialize_demangler): Use sfunc, not cfunc, for
set_demangling_command, since that is how it is called.
Remove show_demangling_command; it has no effect.

30 years ago * command.c (shell_escape): Report errors correctly (with error
Jim Kingdon [Wed, 2 Feb 1994 19:58:31 +0000 (19:58 +0000)]
* command.c (shell_escape): Report errors correctly (with error
message from strerror).

30 years ago * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed
Jim Kingdon [Wed, 2 Feb 1994 19:56:10 +0000 (19:56 +0000)]
* Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed
for GDB and GDB has been fixed to not need it.

30 years ago * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
Ian Lance Taylor [Wed, 2 Feb 1994 19:37:52 +0000 (19:37 +0000)]
* xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
x_scnlen.l rather than x_scnlen to match corresponding change in
coff/internal.h.

30 years ago * coffswap.h (coff_swap_reloc_out): If RS6000COFF_C, handle type
Ian Lance Taylor [Wed, 2 Feb 1994 19:35:14 +0000 (19:35 +0000)]
* coffswap.h (coff_swap_reloc_out): If RS6000COFF_C, handle type
and size correctly.
(coff_swap_aux_in): If RS6000COFF_C, change x_csect.x_scnlen to
x_csect.x_scnlen.l to match change in coff/internal.h.
(coff_swap_aux_out): Likewise.

30 years ago * internal.h (union internal_auxent): Change x_csect.x_scnlen into
Ian Lance Taylor [Wed, 2 Feb 1994 19:33:19 +0000 (19:33 +0000)]
* internal.h (union internal_auxent): Change x_csect.x_scnlen into
a union of a long and a pointer to a symbol.  XCOFF sometimes uses
this field as a symbol index.

30 years ago * common.h: Add comments regarding value of EM_HPPA and how to
Jim Kingdon [Wed, 2 Feb 1994 19:21:25 +0000 (19:21 +0000)]
* common.h: Add comments regarding value of EM_HPPA and how to
pick an unofficial value.

30 years ago * coff-mips.c (mips_ecoff_backend_data), coff-alpha.c
Ian Lance Taylor [Wed, 2 Feb 1994 17:40:46 +0000 (17:40 +0000)]
* coff-mips.c (mips_ecoff_backend_data), coff-alpha.c
(alpha_ecoff_backend_data): Change casts of aux_in and aux_out
fields to match yesterday's changes.

30 years ago * coffcode.h (coff_write_relocs): If SELECT_RELOC is defined, pass
Ian Lance Taylor [Wed, 2 Feb 1994 17:36:17 +0000 (17:36 +0000)]
* coffcode.h (coff_write_relocs): If SELECT_RELOC is defined, pass
in the internal_reloc itself, not the type.
* coff-apollo.c, coff-h8300.c, coff-h8500.c, coff-i386.c,
coff-m68k.c, coff-sh.c, coff-we32k.c, coff-z8k.c: Changed
definition of SELECT_RELOC accordingly.

30 years ago * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
Jim Kingdon [Wed, 2 Feb 1994 17:20:45 +0000 (17:20 +0000)]
* gdbtypes.h, ch-typeprint.c, ch-valprint.c:
Change comments regarding TYPE_CODE_BOOL.
* language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
regardless of the language.
(value_true): Just call value_logical_not regardless of language.
* coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
* language.h: Improve comment for la_builtin_type_vector.
* m2-lang.c (_initialize_m2_language): Don't add any fields to
builtin_type_m2_bool.

30 years ago * config/tc-mips.c (file_mips_isa): New static variable.
Ian Lance Taylor [Wed, 2 Feb 1994 17:06:24 +0000 (17:06 +0000)]
* config/tc-mips.c (file_mips_isa): New static variable.
(md_begin): Set it.
(s_mipsset): Add support for .set mipN to set the ISA level.

30 years ago * gasp.c (kinfo): Fully bracket initializer.
Ian Lance Taylor [Wed, 2 Feb 1994 16:43:00 +0000 (16:43 +0000)]
* gasp.c (kinfo): Fully bracket initializer.

30 years ago * stabs.texinfo (Negative Type Numbers): Document format for type
Jim Kingdon [Wed, 2 Feb 1994 16:33:09 +0000 (16:33 +0000)]
* stabs.texinfo (Negative Type Numbers): Document format for type
-16.

30 years agoStop claiming MIPS li.d and li.s insns are not supported, now that they are.
Roland Pesch [Wed, 2 Feb 1994 03:44:39 +0000 (03:44 +0000)]
Stop claiming MIPS li.d and li.s insns are not supported, now that they are.

30 years agoThree scattered fixes (nearly lost!) from early suggestions by Jeff Law.
Roland Pesch [Wed, 2 Feb 1994 03:32:31 +0000 (03:32 +0000)]
Three scattered fixes (nearly lost!) from early suggestions by Jeff Law.

30 years agoDescribe AT option of SECTIONS command, at long last.
Roland Pesch [Wed, 2 Feb 1994 02:27:55 +0000 (02:27 +0000)]
Describe AT option of SECTIONS command, at long last.

30 years agoBetter organization, indexing, for MIPS-dep section.
Roland Pesch [Wed, 2 Feb 1994 01:43:26 +0000 (01:43 +0000)]
Better organization, indexing, for MIPS-dep section.

30 years agogasp.c, atof-ieee.c, ho-i386aix.h changes
Ken Raeburn [Wed, 2 Feb 1994 00:40:29 +0000 (00:40 +0000)]
gasp.c, atof-ieee.c, ho-i386aix.h changes

30 years ago* gasp.c (malloc): Don't declare, since host.h or system header files may
Ken Raeburn [Wed, 2 Feb 1994 00:35:37 +0000 (00:35 +0000)]
* gasp.c (malloc): Don't declare, since host.h or system header files may
declare it differently.

(Actually, the only use is in xmalloc; if xmalloc didn't also zero out the
region of memory, I'd delete the function altogether and use the libiberty
version...)

30 years ago* config/ho-i386aix.h: Include sys/types.h and stdlib.h, not ho-sysv.h. Based
Ken Raeburn [Wed, 2 Feb 1994 00:32:10 +0000 (00:32 +0000)]
* config/ho-i386aix.h: Include sys/types.h and stdlib.h, not ho-sysv.h.  Based
loosely on a patch from Minh Tran-Le.

30 years ago(1) use new flag SMALL to control whether or not insn tables appear
Roland Pesch [Wed, 2 Feb 1994 00:01:44 +0000 (00:01 +0000)]
(1) use new flag SMALL to control whether or not insn tables appear
    where avail (see comments in src)
(2) minor proofreading improvements to HPPA sec, and page break
    improvement (for Cygnus format) to M68K sec

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.