Commit Graph

3984 Commits

Author SHA1 Message Date
K. Richard Pixley
7aae0974c2 vax native support 1992-10-28 05:31:14 +00:00
K. Richard Pixley
124a6fc037 add new nm files to HFILES 1992-10-28 03:05:29 +00:00
K. Richard Pixley
5c9bbfe62c apollo native support 1992-10-28 02:58:11 +00:00
K. Richard Pixley
851fffcf4e include nm.h in defs.h 1992-10-28 02:32:59 +00:00
Ian Lance Taylor
98fd98bcb4 Moved in from p3:
Tue Oct 27 12:24:34 1992  Ian Lance Taylor  (ian@cygnus.com)

	* coffcode.h (coff_swap_aux_out): set the fcnary info before
	optionally setting the dimen info, since they are in the same
	memory locations.  Also zero out external auxent.
	(coff_write_symbol): don't zero external auxent; now done in
	coff_swap_aux_out.
1992-10-27 20:34:40 +00:00
John Gilmore
83bfcbaedb Fix typo, reported by Karl Berry. 1992-10-26 19:10:23 +00:00
Ian Lance Taylor
22f5b2b9e5 Added \n to error message. 1992-10-26 17:02:45 +00:00
Ian Lance Taylor
1045c20b4d Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.c (write_object_file): check return value of
	bfd_close_all_done.
1992-10-23 21:42:04 +00:00
Ian Lance Taylor
09141f8dd5 If fclose fails, set bfd_error to system_call_error. 1992-10-23 21:25:38 +00:00
Ian Lance Taylor
700b2ee3ef Fri Oct 23 13:55:35 1992 Ian Lance Taylor (ian@cygnus.com)
* Check fclose return value for errors.
	libbfd.h: bfd_cache_close now returns a boolean.
	cache.c (bfd_cache_delete): return fclose success value.
	(bfd_cache_close): return bfd_cache_delete return value.
	opncls.c (bfd_close, bfd_close_all_done): return result of
	bfd_cache_close.
1992-10-23 21:01:29 +00:00
Steve Chamberlain
c26d7d179c Fri Oct 23 10:32:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* seclet.c (rel): don't load sections without the SEC_LOAD bit.

Thu Oct 15 10:16:35 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

	* coff-m68k.c (m68k_howto2type, SELECT_RELOC): new function to
	work out a coff relocation type from a howto's attributes rather
	than using the input r_type field. This fixes PR1677 and allows
	conversion of a.out relocs to coff relocs.

	* coffcode.h (coff_write_relocs): if supplied a relocation
	relative to an absolute symbol, use the right symbol index.

	* reloc.c (bfd_perform_relocation): do a partial link for coff
	relocs right.
1992-10-23 17:34:37 +00:00
Ian Lance Taylor
b26059aa44 Fri Oct 23 08:15:56 1992 Ian Lance Taylor (ian@cygnus.com)
* changes to support i386-sysv with shared libraries:
	* coffcode.h (sec_to_styp_flags): if TWO_DATA_SECS is defined,
	check for .data2; if _LIB is defined, check for it; map
	SEC_NEVER_LOAD to STYP_NOLOAD.
	(styp_to_sec_flags): map STYP_NOLOAD to SEC_NEVER_LOAD.
	(make_a_section_from_file): if TWO_DATA_SECS, accept .data2.
	(coff_write_object_contents): force vaddr of .lib to 0; set scnptr
	if section has contents, not just if it is loadable; if
	TWO_DATA_SECS, check for .data2
	(coff_set_section_contents): set vma of .lib section to number of
	.lib sections.
	* coff-i386.c: define TWO_DATA_SECS; use a special CALC_ADDEND;
	don't define coff_write_armap to bsd_write_armap.
	* hosts/i386v.h: don't include <utime.h>, since it is not provided
	by SVR3.2.
1992-10-23 15:28:15 +00:00
Stu Grossman
bccaecc63b * Makefile.in (VERSION): 4.7.1 post release! 1992-10-23 13:17:47 +00:00
Stu Grossman
451df68019 * config/hppahpux.mh (NATDEPFILES): Add hppah-nat.o. 1992-10-23 11:50:37 +00:00
John Gilmore
a37d76c9b3 Update the dates in the manual. 1992-10-23 10:54:39 +00:00
John Gilmore
f312afc75c These two files are copyrighted by Sun Microsystems.
Wind River stole them from the Sun Unix distributions.

We can't distribute them in an FSF GDB release.
We should even rewrite them for our own releases, though that is not
as urgent.

Until these two files are rewritten, VxWorks support in GDB will not compile.
The i960 support can be gained by just rewriting the ptrace.h file.
Only small amounts of the reg.h file need to be rebuilt -- compile
remote-vx.c to see what is needed.

	John
1992-10-23 10:51:07 +00:00
John Gilmore
c00d8242d4 More news... 1992-10-23 10:38:16 +00:00
Stu Grossman
ebb16da17d Change copyright to FSF. 1992-10-23 10:16:34 +00:00
Stu Grossman
17eff8c1d5 Add copyrights, change to FSF. 1992-10-23 10:15:18 +00:00
Stu Grossman
d0fbd7562a Update and correct copyright notices. 1992-10-23 10:12:16 +00:00
Stu Grossman
6446b7a4b2 Remove refs to UDI for now. 1992-10-23 08:50:19 +00:00
Stu Grossman
5f5be54ce8 Update NEWS, remove refs to UDI and Energize/Cadillac from ChangeLog. 1992-10-23 08:49:17 +00:00
Stu Grossman
79d47bd097 * solaris2.h: Get the definition of alloca from alloca.h if we
aren't using gcc.
1992-10-23 08:47:28 +00:00
John Gilmore
c50c519792 * Makefile.in (VERSION): gdb-4.7 release.
* README:  Update for gdb-4.7.
1992-10-23 07:53:03 +00:00
John Gilmore
3214c51c62 Add opcodes dir to GDB distribution description. 1992-10-23 07:44:56 +00:00
Stu Grossman
ee22c7f05e * sparc-tdep.c: include nm.h (for now) so that we get USE_PROC_FS
when necessary.
1992-10-23 03:54:11 +00:00
Stu Grossman
70971ec689 Oops! 1992-10-22 19:32:06 +00:00
Stu Grossman
db5b1f90ef * alldeps.mak, depend: Update. 1992-10-22 18:25:32 +00:00
John Gilmore
d9beb4fde4 * config/rs6000.mh (NATDEPFILES): Add corelow.o. 1992-10-22 11:24:25 +00:00
John Gilmore
fef84cc41a * partial-stab.h ('f', 'F'): Don't reference pst->textlow if pst
is null.
* tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP):  Remove -- it
causes problems in setting breakpoint in the right place in
functions with `float' args which are passed as doubles.
* xm-vaxbsd.h (MEM_FNS_DECLARED):  Avoid erroneous redecl's.
* config/rs6000.mh (NATDEPFILES):  Add corelow.o.
1992-10-22 11:23:54 +00:00
John Gilmore
6ac0534341 * configure.in (i960-*-{aout,bout}): Support these. 1992-10-22 10:08:11 +00:00
Stu Grossman
76ba9b5be5 First cut at news for 4.7. Just an outline, and an indicator of where we
stopped in ChangeLog.
1992-10-22 08:12:16 +00:00
Stu Grossman
e536c99960 Add nm-i386sco.h. 1992-10-22 08:11:21 +00:00
Stu Grossman
8ad65a5d33 * configure.in: Make SCO work again... 1992-10-22 08:09:00 +00:00
Stu Grossman
603900c746 * Makefile.in (HFILES): Add nm-i386sco.h.
* dwarfread.c:  include <sys/types.h> for SCO.
* infptrace.c:  Don't include ptrace.h under SCO.
* config/i386sco.mh:  Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt:  Add exec.o to TDEPFILES.
1992-10-22 08:07:12 +00:00
Stu Grossman
3496b74562 * i386v-nat.c: Remove space from front of #endif.
* irix4-nat.c:  Remove externs of registers[], include inferior.h
	instead.
	* mips-nat.c:  Explicitly initialize zerobuf to 0!
	* mips-tdep.c (init_extra_frame_info):  Undo John's last change.
	Always setup fci->frame, even if it's non-zero.  Too many places
	depend upon this behavior (and I have to get a release out the
	door)!
	* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):  Set
	processing_gcc_compilation if we find the embedded stabs marker.
	This fixes several bugs with finding the location of short or char
	function parameters passed on the stack.
1992-10-22 02:26:04 +00:00
K. Richard Pixley
99ef5653ef sun4sol2 native stuff 1992-10-22 02:00:07 +00:00
John Gilmore
0a2a48a217 * coredep.c: Include "nm.h" to get REGISTER_U_ADDR. 1992-10-21 21:11:39 +00:00
John Gilmore
e4db3f3e06 * Makefile.in (VERSION): Tick to 4.6.9.
* mipsread.c (UNSAFE_DATA_ADDR):  Remove MIPS-host-specific
definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.
1992-10-21 10:52:09 +00:00
John Gilmore
7b107b1ec4 * config/a29k-aout.mt (DEFAULT_TARGET): Set to one that exists. 1992-10-21 10:47:13 +00:00
John Gilmore
fd3d2e1d1d Document host/native/target split. 1992-10-21 10:45:11 +00:00
John Gilmore
84a792c778 * mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific
definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.
1992-10-21 10:34:07 +00:00
John Gilmore
b517f12401 * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
1992-10-21 08:11:38 +00:00
Stu Grossman
e0e9107774 * mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings. 1992-10-21 07:50:26 +00:00
Stu Grossman
ce5489d223 * xm-mips.h (offsetof): Don't define this if __STDC__. 1992-10-21 07:15:39 +00:00
K. Richard Pixley
3fcb902156 umax native support 1992-10-21 05:12:16 +00:00
K. Richard Pixley
ca0487229b hppa native support 1992-10-21 04:57:35 +00:00
Ian Lance Taylor
6142210d1d Tue Oct 20 13:02:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Support for i386-sysv.
	obj-coffbfd.c (do_relocs_for, write_object_file): set segment
	addresses to reasonable sizes.  New define ZERO_BASED_SEGMENTS can
	be used to set them all to zero as was done before.
	(fill_section): segment addresses now set in write_object_file.
	(fill_section): Don't set STYP_NOLOAD for .bss section.
	(fixup_segment): 386 uses strange common symbol format.
	tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
	compatibility with SVR3.2 linker.
1992-10-20 20:10:34 +00:00
Ian Lance Taylor
653912459d Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in: i386-sysv and i386-sco use coffbfd.
1992-10-20 20:09:45 +00:00
Ian Lance Taylor
559d9aac44 Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
* app.c (do_scrub_next_char): discard whitespace after a label.
1992-10-20 19:20:58 +00:00