Commit Graph

11659 Commits

Author SHA1 Message Date
Ken Raeburn 8e0e09f600 keep riscix, pc532mach files 1994-11-15 09:15:56 +00:00
Ken Raeburn 83c6908ca2 nuke "confidential" dirs 1994-11-15 08:53:22 +00:00
Rob Savoye b3b8d9bfa7 * op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
to set remote load type and protocol.
	* rom68k-rom.c: Add to_stop in target_ops.
1994-11-15 08:13:05 +00:00
Angela Marie Thomas f08a8281d3 Fixed keep_these_too/lose_these_too for mpw and hpread 1994-11-15 05:27:19 +00:00
Rob Savoye fb9f8033e8 Removed remote-mon.c, and add it's replacement rom68k-rom.c. 1994-11-14 22:57:40 +00:00
Rob Savoye 50e183a2ba Add copyright message. 1994-11-14 22:55:52 +00:00
Stu Grossman 5b21fb6879 * Makefile.in: Install gdbtk.tcl.
* configure.in:  Add ENABLE_GDBTK flag.
	* gdbtk.c (gdb_sourcelines):  Returns list of source lines
	containing code.  (gdb_regnames):  Returns list of register names.
1994-11-14 16:59:16 +00:00
Ian Lance Taylor fee3930ea4 Keep ld-shared. 1994-11-14 16:57:14 +00:00
Ian Lance Taylor 0632d303d1 Keep i386lynx.mh. 1994-11-14 16:54:44 +00:00
Stu Grossman 86c3abaa2f * configure.in: Remove tk from native_only list. 1994-11-14 16:50:50 +00:00
Jeff Law b1c6705acc * somsolib.c: Add TODO list.
(som_solib_add): Immediately return if $SHLIB_INFO$ sections does
	not exist or has size zero.  Slightly simplify error handling.
	Keep an internal list of all the loaded shared libraries and
	various tidbits of information about the loaded shared libraries.
	Build section tables for each loaded shared library and add those
	tables to the core target if necessary.
	(som_solib_create_inferior_hook): Force re-reading of shared
	libraries at exec time.
	(som_sharedlibrary_info_command): New function for dumping
	information about the currently loaded shared libraries.
	(_initialize_som_solib): New function.
1994-11-13 05:06:20 +00:00
Ian Lance Taylor e6fb0df7c0 * elfcode.h (elf_export_symbol): Also export symbols which are
referenced by a regular file.
1994-11-13 04:51:53 +00:00
Ian Lance Taylor fd41732af2 * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
_start.
1994-11-12 20:59:18 +00:00
Ian Lance Taylor 11bb5591d6 * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add
export_dynamic argument, and handle it.
	(elf_export_symbol): New function.
	* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
	(bfd_elf64_size_dynamic_sections): Update declaration.
	* bfd-in2.h: Rebuild.
1994-11-12 20:55:33 +00:00
Ian Lance Taylor 5efddb2e7c * ld.h (args_type): Add field export_dynamic.
* lexsup.c (parse_args): Recognize --export-dynamic.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
	Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
1994-11-12 20:54:09 +00:00
Peter Schauer d360e1e0a1 * Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
	mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
	Add dependencies.
	(copying.o, os9kread.o, remote.o):  Update dependencies.

	* valarith.c (value_sub):  When subtracting pointers, only
	check for a match of the pointed to element lengths.
	Cast element length to LONGEST to obtain a signed result for
	pointer subtractions.
1994-11-12 11:22:47 +00:00
Bill Cox 06a8010d63 * build-all.mk: Add mips-ncd-elf target to sun4 targets
for special NCD build.
1994-11-11 23:33:23 +00:00
Jeff Law a30e208739 * ch-exp.y (yylex): Fix off-by-one error when converting string to
lowercase.  Null terminate new string.
1994-11-11 19:17:41 +00:00
Jeff Law c2e00af68e * hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
* somsolib.c (som_solib_add): Check the value of __dld_flags, if
	it indicates __dld_list is not valid return an error.  If it
	indicates that libraries were not mapped privately, issue a
	warning.
1994-11-11 17:55:38 +00:00
Jeff Law 63ba709f37 * hpux-core.c (hpux_core_struct): Delete handles for the
data, reg and stack sections.  They're never used.  Delete
	accessor macros.
	(make_bfd_asection): Use bfd_make_section_anyway since debugging
	cores from dynamic executables may have several sections with the
	same logical name.
	(hpux_core_core_file_p): Don't save handles to data, reg and
	stack sections.  Handle CORE_TEXT, CORE_MMF and CORE_SHM.
1994-11-11 17:40:27 +00:00
Jeff Law e6e0af0f3b * symfile.c (syms_from_objfile): Only call find_lowest_section if
no ".text" section exists.
1994-11-11 06:21:50 +00:00
Rob Savoye 06b8f5e406 * rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
the new generic ROM interface in monitor.c.
	* config/m68k/monitor.mt: Use new ROM support.
	* monitor.c: Add support for xmodem download protocol.
1994-11-10 23:20:03 +00:00
Stan Shebs f449d250be * findvar.c (find_saved_register): Fix a frame variable name.
* infcmd.c (finish_command): Ditto.
1994-11-10 03:11:23 +00:00
Ken Raeburn 757d41299e add delta68 config 1994-11-09 19:57:37 +00:00
Ian Lance Taylor 642b618673 * config/tc-ppc.c (ppc_bf): Always set coff_line_base.
PR 5830.
1994-11-09 19:53:58 +00:00
Ian Lance Taylor 809391bd0a * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
we allocate common symbols.
1994-11-09 17:48:24 +00:00
Ian Lance Taylor cd1d4f83e7 Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)
* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
	.rela.fini to the list of .rel* sections.
1994-11-08 22:57:13 +00:00
Ian Lance Taylor 6a02a973c4 * ldlang.c (load_symbols): Add new argument place. Only accept
linker scripts if place is not NULL.  Put commands found in an
	assumed linker script into place.
	(lookup_name): Pass NULL as place argument to load_symbols.
	(open_input_bfds): In lang_input_statement_enum case, pass a place
	argument to load_symbols, and store any new statements after the
	current one.
PR 5917.
1994-11-08 22:54:07 +00:00
Jim Kingdon 5cd1adaba5 * TODO: Remove "Watchpoints seem not entirely reliable, though
they haven't failed me recently." item--this old (4.6 at least)
	item is too vague to be useful (some watchpoint bugs have been
	fixed since then).
	* TODO: Add explanation of "RPC interface" item.
1994-11-08 21:40:14 +00:00
Ken Raeburn 7fcd960efa Delete gasp tests when sanitizing, at least until they're actually run by
"make check".
1994-11-08 20:16:13 +00:00
Bill Cox 587dc994ed * .Sanitize: Add gasp subdirectory to the keepers list. 1994-11-08 19:48:17 +00:00
Bill Cox 9f899c7c78 * .Sanitize: New file for gasp testcases. 1994-11-08 19:46:44 +00:00
Ian Lance Taylor eb88e5ee98 * objcopy.c (copy_archive): Keep a list of the names of the
temporary files we created.  Close each input BFD after we open
        its successor.
PR 5915.
1994-11-08 18:16:10 +00:00
Ian Lance Taylor 0631def34c * bout.c (callj_callback): Add new argument shrinking. Change all
callers.  Handle relocs against section symbols correctly.  If not
	shrinking, don't subtract out dstidx; the subtraction is already
	in the object file.
PR 5883.
1994-11-08 18:05:43 +00:00
Jeff Law e3581971f4 Small blurb on support for debugging dynamic executables on HPPAs running
hpux9.
1994-11-08 06:39:33 +00:00
Jeff Law 73a250722a * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
stub unwind descriptors too.
1994-11-08 06:06:35 +00:00
Jeff Law bfaef242b5 * Enable backtracing from inside a SOM shared library back into
user code.
	* hppa-tdep.c (internalize_unwinds): Accept and use new
	"text_offset" argument for dynamic relocation of
	region_{start,end} fields in the unwind descriptor.
	(read_unwind_info): Pass text_offset to internalize unwinds.
1994-11-08 05:31:33 +00:00
Jason Merrill 45329a2cbd Various changes to support building shared lib{g,stdc}++ 1994-11-08 02:16:18 +00:00
Ken Raeburn 2492f942fc * Makefile.in (DEVO_SUPPORT): Remove configure.bat and makeall.bat, they're
only useful for binutils snapshots.
(binutils.tar.gz, gas+binutils.tar.gz): Add configure.bat and makeall.bat to
specified SUPPORT_FILES.
1994-11-08 02:04:00 +00:00
Bill Cox e3f6f4cfd7 * build-all.mk: Add Ericsson targets to sun4 and solaris
hosts.  Add  BNR's sun4 target to solaris host, so their
	  build-from-source will be tested in-house first.
1994-11-08 01:32:51 +00:00
Jim Kingdon 2496aa9ec2 * m3-nat.c: Remove comments about arbitrary limit in
printf_filtered; that limit is gone.
1994-11-07 22:39:34 +00:00
Ken Raeburn 3e7acf981d * configure.in: Compare generic cpu name against "sparc", not "sparc*", since
sparc variants should be changed to "sparc".
* configure: Regenerated with autoconf 2.1.
1994-11-07 20:29:46 +00:00
Jeff Law bb140953e4 * Beginnings of SOM shared library support. Breakpoints and
single frame backtracing within the library only.  Only works when
	using the HPUX 9 dynamic linker.  More functionality to be added
	soon.

	* somsolib.c, somsolib.h: New files.
	* Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
	(ALLDEPFILES): Add somsolib.c.
	(somsolib.o): Add some dependencies.
	* mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
	(ALLDEPFILES): Add somsolib.c.
	(somsolib.o): Add some dependencies.
	* somread.c (som_symtab_read): Accept multiple section offsets.
	All callers changed.  Adjust all text symbols with the first
	section offset.
	* symfile.c (find_lowest_section): Enable this function.  Add some
	tie-breaking logic when sections have the same vma.
	(syms_from_objfile): Use find_lowest_section rather than looking
	for ".text" by name.  Relax warning to only warn if the lowest
	section is not a code section.
	* config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
	* config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
1994-11-07 07:51:47 +00:00
Ken Raeburn f4c01c9548 tc-a29k.c: some cleanup; range-checking on JUMPTARG relocs 1994-11-07 07:04:09 +00:00
Ken Raeburn d4e4b3f7f5 keep ns32k stuff 1994-11-07 06:52:58 +00:00
Jeff Law 866ed2b54f * partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
it is still needed for GCC-2.6 compiled code.
	* TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
	sometime after GCC-2.7 has been released.
1994-11-06 20:16:34 +00:00
Jeff Law 54b2555b0c * hppa-tdep.c (frame_saved_pc): Mask off low two bits when
retrieving the PC from a signal handler caller.  Fix thinko
	in Stan's last change ("frame", should have been "frame->next").
	If the next frame is a signal handler caller and it's a system
	call which has entered the kernel ((PSW & 0x2) != 0), then the
	saved pc is in %r2 instead of %r31.
1994-11-06 20:02:31 +00:00
Per Bothner 8deb5c5fd6 * configure.in (target_libs): Include libstdc++ again.
* config.guess:  Update from FSF (for FreeBSD).
1994-11-05 23:44:38 +00:00
Jeff Law cb5f71282d * hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
"frame_info" throughout.
1994-11-05 06:56:43 +00:00
Kung Hsu bebe284408 * sparcl-stub.c: get rid of defs.h. 1994-11-05 00:33:27 +00:00