Stan Shebs [Wed, 8 Jun 1994 19:25:43 +0000 (19:25 +0000)]
Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
* lib/gdb.exp (default_gdb_start): Define.
Bill Cox [Wed, 8 Jun 1994 13:30:30 +0000 (13:30 +0000)]
* Makefile.in (check): Delete as.new dependency, so that
regression test doesn't trigger an assembler build.
David Henkel-Wallace [Wed, 8 Jun 1994 05:05:21 +0000 (05:05 +0000)]
rs6k lynx changes
Stan Shebs [Wed, 8 Jun 1994 01:53:20 +0000 (01:53 +0000)]
Tue Jun 7 18:45:39 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in (target_arch): Compute from canonical target.
(m68k, mips, powerpc, sparc): Add architectures.
* mpw-make.in (disassemble.c.o): Add.
(ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
Rob Savoye [Wed, 8 Jun 1994 01:03:08 +0000 (01:03 +0000)]
Move "@" so it's actually on the first line of the shell script in the
makefile target.
Ian Lance Taylor [Tue, 7 Jun 1994 20:20:05 +0000 (20:20 +0000)]
* elfcode.h (assign_section_numbers): Put shstrtab, symtab and
strtab sections at end of file. Avoids bug in some versions of
SVR4 strip. From Eric Youngdale <eric@tantalus.nrl.navy.mil>.
Ian Lance Taylor [Tue, 7 Jun 1994 19:07:34 +0000 (19:07 +0000)]
* configure: If there is a package_makefile_frag, remove
${subdir}/Makefile.tem after copying it in.
Ian Lance Taylor [Tue, 7 Jun 1994 17:48:00 +0000 (17:48 +0000)]
* coffcode.h (styp_to_sec_flags): If COFF_PAGE_SIZE is defined,
set SEC_DEBUGGING for STYP_INFO sections.
(coff_compute_section_file_positions): If COFF_PAGE_SIZE is
defined, and D_PAGED is set, set the file position equal to the
section VMA modulo COFF_PAGE_SIZE.
* coffgen.c (coff_real_object_p): If F_EXEC is set, set D_PAGED.
* coff-i386.c: Set D_PAGED in BFD target.
(COFF_PAGE_SIZE): Define.
* coff-m68k.c, coff-sparc.c: Likewise.
Ian Lance Taylor [Tue, 7 Jun 1994 17:37:52 +0000 (17:37 +0000)]
* Makefile.in (mostlyclean, realclean): New targets.
* doc/Makefile.in, testsuite/Makefile.in: Likewise.
Jim Kingdon [Tue, 7 Jun 1994 16:40:10 +0000 (16:40 +0000)]
* gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
(which was basically just a local version of the same thing). In
addition to avoiding duplication, gdb_test_exact is faster.
* lib/gdb.exp (gdb_test_exact): Fix typo.
Jim Kingdon [Tue, 7 Jun 1994 16:04:40 +0000 (16:04 +0000)]
* lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
* gdb.base/term.exp: Call delete_breakpoints before starting.
Jim Kingdon [Tue, 7 Jun 1994 15:43:59 +0000 (15:43 +0000)]
* gdb.base/Makefile.in (EXECUTABLES): Remove t10.
(t10): Add comment.
Stan Shebs [Tue, 7 Jun 1994 02:01:27 +0000 (02:01 +0000)]
Reorganized GDB tests - Chill
Stan Shebs [Tue, 7 Jun 1994 01:57:15 +0000 (01:57 +0000)]
Reorganized GDB tests - base
Stan Shebs [Tue, 7 Jun 1994 01:50:58 +0000 (01:50 +0000)]
Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.
* gdb.base: New directory, contains all the basic tests.
* gdb.c++: New directory, tests specific to C++.
* gdb.chill: New directory, tests specific to Chill.
* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
into appropriate new directories (t00-t17 to base, t20-t23 to c++,
t30-31 to chill).
* */gdbme.*: Rename to match appropriate expect scripts.
* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
gdb.c++/virtfunc.cc: New names of C++ files.
* gdb.chill/chillvars.ch: New name of Chill file.
* gdb.base/configure.in, gdb.c++/configure.in,
gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
* configure.in (configdirs): Update to reflect directory changes.
(target_abbrev): No longer define for any configuration.
* Makefile.in: Cosmetic improvements to header comments.
Ian Lance Taylor [Mon, 6 Jun 1994 23:59:27 +0000 (23:59 +0000)]
* elfcode.h (bfd_section_from_shdr): Don't turn a reloc section
into a BFD section just because SHF_ALLOC is set; require that it
not use the normal symbol table.
(elf_section_from_bfd_section): Corresponding change.
Karen Christiansen [Mon, 6 Jun 1994 23:11:42 +0000 (23:11 +0000)]
Add lynx targets and hppa flag info
Ian Lance Taylor [Mon, 6 Jun 1994 22:31:58 +0000 (22:31 +0000)]
Comment change.
Ian Lance Taylor [Mon, 6 Jun 1994 21:54:54 +0000 (21:54 +0000)]
Better indirect and warning symbol handling inspired by Stuart
Quick <stuck@cs.man.ac.uk>.
* linker.c (enum link_action): Add REF, MIND, CWARN, REFC.
(link_action): Change UNDEF_ROW/def and UNDEFW_ROW/def from NOACT
to REF. Change UNDEF_ROW/indr and UNDEFW_ROW/indr from CYCLE to
REFC. Change DEF_ROW/indr and COMMON_ROW/indr from CYCLE to MDEF.
Change DEFW_ROW/indr from CYCLE to NOACT. Change INDR_ROW/indr
from MDEF to MIND. Change INDR_ROW/warn from WARNC to CYCLE.
Change WARN_ROW/def and WARN_ROW/indr from MWARN to CWARN. Change
WARN_ROW/com from MWARN to WARN. Change WARN_ROW/warn from NOACT
to CYCLE. Change SET_ROW/warn from WARNC to CYCLE>
(_bfd_generic_link_add_one_symbol): Handle REF, MIND, CWARN and
REFC. If a new indirect symbol has been referenced, push the
reference down to the symbol it points to. FIx handling of WARN.
* aoutx.h (translate_from_native_sym_flags): If N_WARNING, don't
clobber e_type of next symbol.
(translate_to_native_sym_flags): Likewise.
(aout_link_write_symbols): Loop on bfd_link_hash_warning as well
as bfd_link_hash_indirect.
Ian Lance Taylor [Mon, 6 Jun 1994 18:43:21 +0000 (18:43 +0000)]
* bfdlink.h (struct bfd_link_hash_entry): Remove written field:
not needed for all backends.
Ian Lance Taylor [Mon, 6 Jun 1994 18:42:38 +0000 (18:42 +0000)]
* libaout.h (struct aout_link_hash_entry): New field written.
* aoutx.h (NAME(aout,link_hash_newfunc)): Initialize written.
(aout_link_write_symbols): Use written, not root.written.
(aout_link_write_other_symbol): Likewise.
* sunos.c (sunos_scan_dynamic_symbol): Likewise.
* libecoff.h (struct ecoff_link_hash_entry): New field written.
* ecoff.c (ecoff_link_hash_newfunc): Initialize written.
(ecoff_link_write_external): use written, not root.written.
* genlink.h (struct generic_link_hash_entry): New field written.
* linker.c (_bfd_link_hash_newfunc): Don't initialize written.
(generic_link_hash_newfunc): Initialize written.
(_bfd_generic_link_output_symbols): Use written, not root.written.
(_bfd_generic_link_write_global_symbol): Likewise.
(_bfd_generic_reloc_link_order): Likewise.
Ian Lance Taylor [Mon, 6 Jun 1994 17:44:34 +0000 (17:44 +0000)]
* libecoff.h (ecoff_data_type): Add linker field.
* ecoff.c (ecoff_write_object_contents): Check new tdata linker
field, rather than outsymbols being non-NULL, to decide whether to
output the symbols and relocs.
(ecoff_bfd_final_link): Set new tdata linker field to true.
Ian Lance Taylor [Mon, 6 Jun 1994 17:16:16 +0000 (17:16 +0000)]
* config/tc-mips.c (RDATA_SECTION_NAME): Define.
(macro): Correct M_LI_SS SVR4_PIC/EMBEDDED_PIC case. After M_LI_D
or M_L_DOB or label dob, force a new frag to avoid getting
confused in tc_gen_reloc.
(mips_ip): Use RDATA_SECTION_NAME, not .rdata.
(s_change_sec): Likewise.
Ian Lance Taylor [Mon, 6 Jun 1994 16:49:09 +0000 (16:49 +0000)]
* ecoff.c (ecoff_bfd_copy_private_bfd_data): Don't try to copy
data to a non-ECOFF file.
Ian Lance Taylor [Mon, 6 Jun 1994 14:59:20 +0000 (14:59 +0000)]
* libbfd-in.h: Add warning that libbfd.h is a generated file.
* libbfd.h: Rebuilt.
Ian Lance Taylor [Sun, 5 Jun 1994 20:00:42 +0000 (20:00 +0000)]
Changes to support ELF strip and objcopy on dynamically linked
files.
* elfcode.h (elf_fake_sections): Add prototype.
(bfd_section_from_shdr): Make a BFD section from an SHT_HASH
section, and from an SHT_DYNSYM section, and from the dynamic
string table section.
(elf_object_p): Set D_PAGED if there is a program header.
(elf_make_sections): Remove.
(fix_up_strtabs): Remove.
(elf_fake_sections): Rewrite. Now sets sh_entsize.
(assign_section_numbers): Rewrite. Now sets sh_link and sh_info
for all sections.
(elf_compute_section_file_positions): Don't call obsolete
functions elf_make_sections or fix_up_strtabs.
(swap_out_syms): Set sh_addralign to FILE_ALIGN rather than 4.
(NAME(bfd_elf,write_object_contents)): Permit writing DYNAMIC
objects.
(elf_section_from_bfd_section): Treat SHT_DYNSYM like other normal
sections. If an SHT_REL or SHT_RELA section is allocated or uses
an unusual symbol table, permit a BFD section to map to it.
Permit most SHT_STRTAB sections to have a BFD section mapped to
them.
(elf_bfd_final_link): Don't set sh_link, sh_info or sh_entsize
fields of dynamic sections here; do it in assign_section_numbers.
* elf32-target.h, elf64-target.h: Add D_PAGED to permitted object
flags.
Ian Lance Taylor [Sun, 5 Jun 1994 19:04:50 +0000 (19:04 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Only set SEC_DATA if
SEC_LOAD is set, rather than checking SEC_ALLOC.
Ian Lance Taylor [Sun, 5 Jun 1994 19:03:08 +0000 (19:03 +0000)]
* libbfd-in.h (bfd_realloc): Change last arg to "size_t size".
(Move libbfd.h change over to source file).
Ian Lance Taylor [Sun, 5 Jun 1994 18:43:42 +0000 (18:43 +0000)]
Remove a couple of myteriously duplicated entries.
Ken Raeburn [Sun, 5 Jun 1994 16:49:49 +0000 (16:49 +0000)]
keep configure.bat
Ken Raeburn [Sun, 5 Jun 1994 16:47:36 +0000 (16:47 +0000)]
keep files for pushw test
Per Bothner [Sun, 5 Jun 1994 01:43:40 +0000 (01:43 +0000)]
Fix value_print, which used to be ostensibly langauge-indepentdent,
but would print pointers and arrays in C syntax. Instead, call
a language-specific function. See ChangeLog for details.
Per Bothner [Sun, 5 Jun 1994 00:25:32 +0000 (00:25 +0000)]
* configure.in: Use mh-ncrsvr43. Patch from
Tom McConnell <tmcconne@sedona.intel.com>.
Per Bothner [Sun, 5 Jun 1994 00:23:26 +0000 (00:23 +0000)]
* mh-ncrsvr43: New file from Tom McConnell <tmcconne@sedona.intel.com>.
Ian Lance Taylor [Sat, 4 Jun 1994 03:38:01 +0000 (03:38 +0000)]
* read.c (emit_expr): Use memset to zero out memory, rather than
going through md_number_to_chars. This permits handling symbolic
arguments when the size is larger than sizeof (valueT), if
TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
Per Bothner [Sat, 4 Jun 1994 02:03:08 +0000 (02:03 +0000)]
Various changes to gdb.t31.
Per Bothner [Sat, 4 Jun 1994 00:48:21 +0000 (00:48 +0000)]
* config.guess (i386-unknown-bsdi): New system to guess.
* config.guess (i386-unknown-bsdi): No longer need to
check #if defined(__bsdi__) && defined(__i386__).
Jeffrey Osier [Fri, 3 Jun 1994 22:50:50 +0000 (22:50 +0000)]
binutils.texi: (objdump) fix formatting in options summary
Ken Raeburn [Fri, 3 Jun 1994 21:36:26 +0000 (21:36 +0000)]
note renaming
Ken Raeburn [Fri, 3 Jun 1994 21:35:55 +0000 (21:35 +0000)]
actually do c++filt.1 -> cxxfilt.man renaming on trunk...
David MacKenzie [Fri, 3 Jun 1994 21:19:02 +0000 (21:19 +0000)]
* as.c (show_usage), config/tc-alpha.c (md_show_usage),
config/tc-mips.c (md_show_usage): Fix up messages.
David MacKenzie [Fri, 3 Jun 1994 21:07:48 +0000 (21:07 +0000)]
improve usage message
David MacKenzie [Fri, 3 Jun 1994 20:59:20 +0000 (20:59 +0000)]
* as.h: Replace flagseen with separate variables.
* as.c (parse_args): Set them. Don't accept -1 option, or -v
explicitly (it's a synonym for --version).
* as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c,
config/obj-aout.c, config/obj-aout.h, config/obj-bout.c,
config/obj-bout.h, config/obj-coff.c, config/obj-coff.h,
config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c,
config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c,
config/tc-vax.c: Use the new flag variables instead of flagseen.
* config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in
usage.
Ken Raeburn [Fri, 3 Jun 1994 20:00:13 +0000 (20:00 +0000)]
don't sanitize out v9 stuff any more
Jeff Law [Fri, 3 Jun 1994 18:14:59 +0000 (18:14 +0000)]
* som.c (som_write_object_contents): Don't compute the file header's
checksum here.
(som_write_headers): Instead do it here.
David MacKenzie [Fri, 3 Jun 1994 17:42:27 +0000 (17:42 +0000)]
* as.c (show_usage): Remove target specific messages;
instead, call md_show_usage.
(parse_args): Use getopt_long_only. Take pointers to argc and
argv.
(main): Pass parse_args pointers.
* as.h: Remove 3 variables that are redundant with flagseen.
* as.c, messages.c: Change their users to use flagseen.
Define getopt stuff.
* tc.h: Update md_parse_option decl. Add md_show_usage decl.
* config/tc-*.c: Add md_shortopts, md_longopts,
md_longopts_size, md_show_usage. Change calling convention for
md_parse_option. Remove md_parse_long_option.
* config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'.
* config/tc-i386.h: Don't define md_parse_option.
Jim Kingdon [Fri, 3 Jun 1994 17:25:08 +0000 (17:25 +0000)]
* main.c: Move entire file except for #ifndef MAIN_OVERRIDE code
to new file top.c. Make things extern instead of static and
similar rearrangements to deal with this.
* top.h: New file.
* utils.c: Move fputs_unfiltered to main.c. Remove
FPUTS_UNFILTERED_OVERRIDE ifndef.
* Makefile.in: Change so that gdb uses main.c, utils.c, and top.c,
and libgdb uses utils.c and top.c.
Jeff Law [Fri, 3 Jun 1994 17:01:17 +0000 (17:01 +0000)]
* libbfd.h (bfd_realloc): Change last arg to "size_t size".
Ian Lance Taylor [Fri, 3 Jun 1994 15:00:55 +0000 (15:00 +0000)]
* objdump.c (display_target_list): Remove unused local ok.
Jeff Law [Fri, 3 Jun 1994 05:21:30 +0000 (05:21 +0000)]
* hppa-tdep.c (skip_trampoline_code): Fix typo.
Per Bothner [Fri, 3 Jun 1994 01:19:21 +0000 (01:19 +0000)]
* ch-valprint.c (chill_val_print_array_elements): New function.
A Chill version of val_print_array_elements, it prints the
array index labels, in additions ot the array element values.
(chill_val_print): Use the new function.
Ian Lance Taylor [Fri, 3 Jun 1994 00:09:21 +0000 (00:09 +0000)]
Rebuilt dependencies.
Ian Lance Taylor [Thu, 2 Jun 1994 23:55:50 +0000 (23:55 +0000)]
Use SunOS shared libraries on a Sun 3.
Ian Lance Taylor [Thu, 2 Jun 1994 23:54:37 +0000 (23:54 +0000)]
Correct handling of .sa file.
Ian Lance Taylor [Thu, 2 Jun 1994 23:51:26 +0000 (23:51 +0000)]
Get the address of Sun3 dynamic relocs right.
Ken Raeburn [Thu, 2 Jun 1994 23:47:38 +0000 (23:47 +0000)]
note new i386 test
Ken Raeburn [Thu, 2 Jun 1994 23:46:51 +0000 (23:46 +0000)]
new test for "pushw"
Ken Raeburn [Thu, 2 Jun 1994 23:46:41 +0000 (23:46 +0000)]
whitespace
Ken Raeburn [Thu, 2 Jun 1994 23:37:45 +0000 (23:37 +0000)]
oops, left out var decl
Ian Lance Taylor [Thu, 2 Jun 1994 23:03:52 +0000 (23:03 +0000)]
* configure: Set program_transform_nameoption correctly.
Per Bothner [Thu, 2 Jun 1994 23:03:35 +0000 (23:03 +0000)]
* Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
Per Bothner [Thu, 2 Jun 1994 23:02:00 +0000 (23:02 +0000)]
* lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
Ian Lance Taylor [Thu, 2 Jun 1994 22:44:54 +0000 (22:44 +0000)]
Add casts to pacify SunOS linker.
Ian Lance Taylor [Thu, 2 Jun 1994 22:39:31 +0000 (22:39 +0000)]
* hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit or
getenv.
Ian Lance Taylor [Thu, 2 Jun 1994 22:07:27 +0000 (22:07 +0000)]
Add linker support for SunOS shared libraries.
* sunos.c: Include bfdlink.h. Add many new functions and
definitions for SunOS shared library support.
* bfd-in.h (bfd_sunos_record_link_assignment): Declare.
(bfd_sunos_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuilt.
* aoutx.h (struct aout_link_hash_entry): Move to libaout.h.
(struct aout_link_hash_table): Likewise.
(aout_link_hash_lookup, aout_link_hash_traverse): Likewise.
(aout_hash_table): Likewise.
(NAME(aout,link_hash_newfunc)): Rename from aout_link_hash_newfunc
and make externally visible.
(NAME(aout,link_hash_table_init)): New function.
(NAME(aout,link_hash_table_create)): Call
NAME(aout,link_hash_table_init), not _bfd_link_hash_table_init.
(aout_link_add_symbols): Don't fail if no symbols. If it exists,
call add_dynamic_symbols backend entry point for dynamic objects.
Use add_one_symbol backend entry point if it exists.
(NAME(aout,final_link)): Call finish_dynamic_link backend entry
point, if it exists.
(aout_link_input_bfd): For a dynamic object, call
link_dynamic_object backend entry point, if it exists.
(aout_link_write_other_symbol): Call write_dynamic_symbol backend
entry point, if it exists.
(aout_link_input_section): Don't read the relocs if they have
already been read.
(aout_link_input_section_std): When doing a final link, for a
reloc against an external symbol, call check_dynamic_reloc backend
entry point, if it exists.
(aout_link_input_section_ext): Likewise.
* libaout.h: Protect against multiple inclusion. Include
bfdlink.h.
(struct aout_link_hash_entry): Move in from aoutx.h.
(struct aout_link_hash_table): Likewise.
(aout_link_hash_lookup, aout_link_hash_traverse): Likewise.
(aout_hash_table): Likewise.
(struct aout_backend_data): Add fields add_dynamic_symbols,
add_one_symbol, link_dynamic_object, write_dynamic_symbol,
check_dynamic_reloc, and finish_dynamic_link.
(struct aout_section_data_struct): Define new structure.
(aout_section_data): Define new accessor macro.
(NAME(aout,link_hash_newfunc)): Declare.
(NAME(aout,link_hash_table_init)): Declare.
* aoutf1.h (sunos4_aout_backend): Initialize new aout_backend_data
fields.
* aout-target.h (MY(backend_data)): Likewise.
* i386aout.c (MY(backend_data)): Likewise.
* i386mach3.c (MY(backend_data)): Likewise.
* mipsbsd.c (MY(backend_data)): Likewise.
* sparclynx.c (sparclynx_aout_backend): Likewise.
Ian Lance Taylor [Thu, 2 Jun 1994 22:01:53 +0000 (22:01 +0000)]
Add support for SunOS shared libraries.
* aout.sc: Don't define __DYNAMIC here. Add new sections used by
shared library support code.
* emultempl/sunos.em: New file.
* emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos.
* Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
Ian Lance Taylor [Thu, 2 Jun 1994 21:31:40 +0000 (21:31 +0000)]
* ldlang.c: Minor formatting cleanups.
(lang_for_each_input_file): New function.
* ldlang.h (lang_for_each_input_file): Declare.
Ian Lance Taylor [Thu, 2 Jun 1994 21:30:57 +0000 (21:30 +0000)]
* ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
field.
(search_head): Declare.
(ldfile_add_library_path): Add new cmdline argument in prototype.
* ldfile.c (search_head): Make non-static.
(search_dirs_type): Move to ldfile.h.
(ldfile_add_library_path): Accept cmdline argument, and save it.
* lexsup.c (parse_args): Pass true for new cmdline argument of
ldfile_add_library_path.
(set_default_dirlist): Likewise.
* ldmain.c (check_for_scripts_dir): Pass false for new cmdline
argument of ldfile_add_library_path.
* ldgram.y (ifile_p1): Likewise.
David MacKenzie [Thu, 2 Jun 1994 21:00:19 +0000 (21:00 +0000)]
* as.c (show_usage): New function.
(parse_args): Code moved from main.
Recognize --help and --version.
* config/tc-ns32k.h: Define TC_NS32K.
* doc/as.texinfo: Document all of the target-independent command
line options.
Ken Raeburn [Thu, 2 Jun 1994 19:09:30 +0000 (19:09 +0000)]
* Makefile.in (distclean): Remove site config files and gas.sum.
Karen Christiansen [Thu, 2 Jun 1994 18:02:28 +0000 (18:02 +0000)]
updated with new targets for 94q2 and hppa info
Stu Grossman [Thu, 2 Jun 1994 16:58:48 +0000 (16:58 +0000)]
* configure.in: Add nlm subdir to configdirs for alpha-*-netware
target.
* defs.h (enum language): Add language_asm.
* findvar.c (read_register_bytes read_register_gen
write_register_bytes read_register read_register_pid
write_register write_register_pid supply_register): Move multi-
thread handling down into these routines. Create XXX_pid routines
that allow register references to specify the pid.
* findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid
read_sp write_sp read_fp write_fp): Move these routines from
infcmd to findvar to centralize the whole mess.
* i386-nlmstub.c: Portability fixes.
* infptrace.c (child_resume): Conditionalize to allow other natives
to override it. Remove PIDGET gubbish, it's no longer necessary.
* infrun.c (wait_for_inferior): Put registers_changed() before
target_wait() to speed up remote debugging.
* Replace code that reads registers from other threads with much
nicer looking new function calls (see changes to findvar.c).
* Don't skip prologues if debugging assembly source.
* lynx-nat.c (child_resume): Lynx now needs it's own version of
child_resume to handle multi-thread debugging properly.
* remote.c: Add O response to get console output from target.
* (readchar): Add timeout parameter. Handle SERIAL_EOF and
SERIAL_ERROR here to simplify callers.
* Change static var timeout to remote_timeout.
* (fromhex): Remove unnecessary return -1 at end of routine.
* (remote_wait): Turn this into a big switch statement. Add
support for O response.
* (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR.
* (getpkt): Split getpkt into two parts. read_frame deals with
all formatting issues, run-length encoding, and framing. getpkt
now handles error recovery, and frame detection.
* ser-tcp.c (tcp_readchar): Handle EINTR from read().
* ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem
control. (hardwire_readchar): Handle EINTR from read().
* symfile.c (deduce_language_from_filename): Add support for .s
files.
* config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can
override infptrace's child_wait.
* config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h
instead of XXXlynx.h.
* config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of
tm-rs6000lynx.h.
* nlm/gdbserve.c: Portability fixes.
Ken Raeburn [Thu, 2 Jun 1994 16:38:54 +0000 (16:38 +0000)]
Various changes..
Ken Raeburn [Thu, 2 Jun 1994 16:37:55 +0000 (16:37 +0000)]
(hash_new_table): Clear newly allocated table.
Ken Raeburn [Thu, 2 Jun 1994 16:35:41 +0000 (16:35 +0000)]
68060 support
Ken Raeburn [Thu, 2 Jun 1994 16:23:55 +0000 (16:23 +0000)]
m68060 changes
Ken Raeburn [Thu, 2 Jun 1994 16:18:33 +0000 (16:18 +0000)]
(fixup_segment) [!BFD_ASSEMBLER] [DIFF_EXPR_OK]: Do conversion to pc-relative
for difference, even if pcrel is already set.
Ken Raeburn [Thu, 2 Jun 1994 16:15:56 +0000 (16:15 +0000)]
(potable): Add this_gcc_requires_the_gnu_assembler in all lower-case, in case
we're ignoring case of opcodes in the input file.
Ken Raeburn [Thu, 2 Jun 1994 16:07:16 +0000 (16:07 +0000)]
(target i386-*-netbsd0.8): Use 386bsd emulation.
Ken Raeburn [Thu, 2 Jun 1994 16:06:43 +0000 (16:06 +0000)]
Handle EV5 (21164/66/68) PALcode support.
* config/tc-alpha.c (machine): New variable.
(load_insn): New macro.
(load_insn_table): New function.
(md_begin): Call load_insn_table, once for basic instructions and
once for appropriate PAL instruction table.
(md_parse_option): Set `machine' based on -m##### arguments.
* config/alpha-opcode.h (alpha_pal21064_opcodes): Split out from alpha_opcodes.
(alpha_pal21164_opcodes): New table.
(NUM21064OPCODES, NUM21164OPCODES): New macros.
Ken Raeburn [Thu, 2 Jun 1994 16:03:41 +0000 (16:03 +0000)]
(.section): Document as unavailable for a.out type formats.
Ken Raeburn [Thu, 2 Jun 1994 16:01:18 +0000 (16:01 +0000)]
(install-info-gasp): Use $$dir when installing file.
Ian Lance Taylor [Thu, 2 Jun 1994 04:40:34 +0000 (04:40 +0000)]
* configure: If config.guess result is a prefix of the user
specified target, assume a native build and use the user specified
target as the host alias. Remove SunOS patch suffix removal hack.
* configure.in: Remove SunOS patch suffix removal hack.
Ian Lance Taylor [Thu, 2 Jun 1994 04:14:05 +0000 (04:14 +0000)]
* Makefile.in (CROSS_CHECK_MODULES): Remove check-flex, since it's
in NATIVE_CHECK_MODULES.
Jim Kingdon [Wed, 1 Jun 1994 23:14:45 +0000 (23:14 +0000)]
* stabs.texinfo (Statics): Value of xcoff C_BSTAT points to
another symbol, it is not the address itself.
Bill Cox [Wed, 1 Jun 1994 21:38:29 +0000 (21:38 +0000)]
* Makefile.in: Rename HOST_ONLY to NATIVE.
* configure: Delete SunOs patch suffix from host_canonical
and build_canonical variables that are prepended to Makefiles.
* configure.in: Add comments to patch suffix removal for easier
maintenance.
Rob Savoye [Wed, 1 Jun 1994 20:40:53 +0000 (20:40 +0000)]
Unneeded.
Rob Savoye [Wed, 1 Jun 1994 20:30:19 +0000 (20:30 +0000)]
Renamed.
Jim Kingdon [Wed, 1 Jun 1994 19:35:51 +0000 (19:35 +0000)]
* Makefile.in: Add all-libproc target similar to all-gui.
Jim Kingdon [Wed, 1 Jun 1994 19:28:24 +0000 (19:28 +0000)]
* inftarg.c (child_wait): Call proc_wait, not wait.
(child_mourn_inferior): Call proc_remove_foreign.
* main.c (gdb_init): Call init_proc.
* main.c: Provide dummy versions of init_proc, proc_wait, and
proc_remove_foreign for the gdb case (the libgdb case provides its
own versions of these functions).
* Makefile.in (libgdb-files): Add libproc.a.
Ian Lance Taylor [Wed, 1 Jun 1994 18:39:43 +0000 (18:39 +0000)]
* hosts/sun3.h: Don't declare qsort, malloc or realloc.
Ian Lance Taylor [Wed, 1 Jun 1994 18:28:26 +0000 (18:28 +0000)]
* ldlang.h (lang_input_statement_type): Remove fields subfiles,
total_size, superfile and chain.
* ldfile.c (open_a): Don't clear search_dirs_flag.
(ldfile_open_file): Don't try to open superfile. Assert that file
has not already been opened.
* ldlang.c (new_afile): Don't initialize superfile.
* ldmain.c (add_archive_element): Don't initialize subfiles or
chain or superfile. Initialize search_dirs_flag to false.
Stan Shebs [Wed, 1 Jun 1994 18:26:16 +0000 (18:26 +0000)]
Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com)
Hardware watchpoints for Linux, from Rick Sladkey
(jrs@world.std.com).
* infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add
new hardware breakpoint recovery method.
* i386v-nat.c (i386_insert_watchpoint,
i386_insert_nonaligned_watchpoint, i386_remove_watchpoint,
i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]:
New functions to support the 386 hardware debugging registers.
* config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT,
HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
target_insert_watchpoint, target_remove_watchpoint): Define these
macros to use the hardware debugging functions in i386v-nat.c.
Ian Lance Taylor [Wed, 1 Jun 1994 14:56:21 +0000 (14:56 +0000)]
* config/tc-mips.c (mips_ip): Force floating point values to be
aligned correctly.
Thomas Lord [Wed, 1 Jun 1994 00:18:40 +0000 (00:18 +0000)]
Tue May 31 17:16:33 1994 Tom Lord (lord@cygnus.com)
* Makefile.in (CHECK_MODULES): split into
HOST_ONLY_CHECK_MODULES and CROSS_CHECK_MODULES.
Thomas Lord [Wed, 1 Jun 1994 00:16:26 +0000 (00:16 +0000)]
Don't check flex when cross building.
Per Bothner [Mon, 30 May 1994 05:34:32 +0000 (05:34 +0000)]
* Makefile.in: Fix bit-rot in definitions of CHILL,
CHILL_FOR_TARGET and Chill_LIB.
Ken Raeburn [Fri, 27 May 1994 17:06:21 +0000 (17:06 +0000)]
put current timestamp on merge log
Ken Raeburn [Fri, 27 May 1994 16:58:05 +0000 (16:58 +0000)]
changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)
Ian Lance Taylor [Fri, 27 May 1994 15:39:11 +0000 (15:39 +0000)]
* ldlang.c (entry_symbol): Make static.
(lang_add_entry): Add cmdline argument.
* ldlang.h (lang_add_entry): Change prototype.
* ldgram.y (statement_anywhere): Change lang_add_entry call.
* lexsup.c (parse_args): Likewise.