Commit graph

4101 commits

Author SHA1 Message Date
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
Ian Lance Taylor
668f26b5fe Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
* m68kcoff.sc-sh: don't use initial underscores for etext, edata
	and end.
1992-10-20 17:57:28 +00:00
Stu Grossman
2675499b51 * mips-nat.c: Straighten out include files. Work around
conflicting defs of JB_xxx syms in <setjmp.h> and <machine/pcb.h>
	for Ultrix-4.2.
1992-10-20 07:03:38 +00:00
Stu Grossman
56fc16c70b * mips-nat.c (fetch_core_registers, register_addr): Copy from
coredep.c, but zero out FP_REGNUM & ZERO_REGNUM so that stack
	backtraces from core files work.
	* config/decstation.mh, config/irix3.mh:  Remove coredep.o.
	Functions are now defined in mips-nat.c.
1992-10-20 05:47:47 +00:00
Stu Grossman
3ec5a74b0d * remote-hms.c: Disable all uses of serial_nextbaudrate and
serial_default_name().
1992-10-20 00:16:37 +00:00
Stu Grossman
5a6242dddd * remote-hms.c, ser-go32.c, serial.h: Change from
serial_timedreadchar() to new serial_readchar().
1992-10-19 23:40:36 +00:00
Stu Grossman
d95eb93075 * Makefile.in (HFILES): Fixup list of nm-*.h files. Add missing ones. 1992-10-19 22:12:50 +00:00
Per Bothner
10a297b791 * c-exp.y: Moved handling of 'const' and 'volatile' from
<type> to <typebase>.  This removes 2 conflicts.
1992-10-19 19:46:05 +00:00
Ian Lance Taylor
e9b63852ca Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
* Support for i386-sysv.
	configure.in: check for i386-*-sysv* and i386-*-sco*.
	i386coff.sc-sh: rewrote to support SVR3 by default.
	ldctor.c (find_constructors): preserve stat_ptr.
	ldlang.c (wild_doit): initialize vma and size of new output
	section to corresponding input section.  This is required for
	shared library support.
	(lang_size_sections): don't modify vma and size of sections which
	are never loaded (for shared libraries).
	ldwrite.c (copy_and_relocate): copy the contents of any section
	which has contents, not just sections which are loaded (for shared
	libraries).
1992-10-19 16:53:41 +00:00
John Gilmore
4c7be680e9 Remove news1000.mt (same as news.mt) from .Sanitize. 1992-10-19 07:56:42 +00:00
Fred Fish
e6efef9f07 * breakpoint.c (breakpoint_re_set_one): Don't delete watchpoints
from breakpoint table when reseting breakpoints.
1992-10-18 07:38:59 +00:00
Fred Fish
4d0eabff25 Native support cleanup and corefile fixes for i386 SVR4 systems.
* i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
	  fill_fpregset): Moved to i386v4-nat.c
	* i386v4-nat.c, nm-i386v4.h, :  New files.
	* i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE):  Use nm-i386v4.h.
	* i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES):  Add corelow.o,
	  change i386v-nat.o to i386v4-nat.o.
1992-10-17 08:07:14 +00:00
K. Richard Pixley
c36989aa95 misc 386 configs updated 1992-10-17 00:07:04 +00:00
K. Richard Pixley
f1a353db99 i386bsd cleanup 1992-10-16 23:49:43 +00:00
K. Richard Pixley
c7c9407366 i386v host/target/native separation 1992-10-16 23:39:34 +00:00
K. Richard Pixley
e24cb83d47 linux host/target/native separation 1992-10-16 23:11:13 +00:00
K. Richard Pixley
61bbb1c2cf sun386 host/target/native separation 1992-10-16 23:03:27 +00:00
K. Richard Pixley
a113beac21 i386mach host/target/native separation 1992-10-16 22:57:36 +00:00
K. Richard Pixley
d9548d448c go32 host/target/native separation 1992-10-16 22:49:35 +00:00
K. Richard Pixley
e367cb3b50 added nm-m88k.h to HFILES 1992-10-16 20:56:05 +00:00
K. Richard Pixley
173a4f1bda m88k native support 1992-10-16 20:53:46 +00:00
John Gilmore
ab29288c1f * nm-i386bsd.h, xm-i386bsd.h: Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.
1992-10-16 11:38:38 +00:00
John Gilmore
f4cc0e9b3c * i386b-nat.c: Comment changes.
* nm-i386bsd.h, xm-i386bsd.h:  Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.
1992-10-16 11:37:58 +00:00
John Gilmore
ede9d8a7ea Split native dependent pieces out into new nm-file. 1992-10-16 11:35:02 +00:00
John Gilmore
2268d61946 Avoid longjmp()-catching compilation errors in cross-ports.
* doc/gdbint.texinfo:  Update GET_LONGJMP_TARGET, L_SET doc.
* irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target):
Move from mips-tdep.c and tm-{irix3,mips}.h.
* mips-nat.c:  Remove a bunch of code that was ifdef'd out of
native MIPS ports.
* nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET):  Move from tm-irix3.h
and tm-mips.h.

* ultra3-nat.c (register_addr):  Move from ultra3-xdep.c.
(fetch_core_registers):  Fix bfd_seek arguments.
1992-10-16 10:47:34 +00:00
John Gilmore
c3bbca3aad Update GET_LONGJMP_TARGET, L_SET doc. 1992-10-16 10:45:20 +00:00
John Gilmore
0a9266896a * getopt.h (struct option): RMS decided we should do it the other way. 1992-10-16 10:20:52 +00:00
John Gilmore
5a56198d68 Make core files work again on most hosts, by adding corelow.o. 1992-10-16 10:15:32 +00:00
John Gilmore
d5a66a8d05 Make core files work again on most hosts. 1992-10-16 10:14:47 +00:00
John Gilmore
62aa17e322 * config/decstation.mh, news.mh (NATDEPFILES): Add corelow.o.
* config/delta88.mt, m88k.mt (TDEPFILES):  Remove coredep.o, it's
native dependent.
1992-10-16 10:04:46 +00:00
K. Richard Pixley
6bf98ac01d ultra3 split 1992-10-16 06:05:36 +00:00
K. Richard Pixley
4100543aee use the provided enum for has_arg 1992-10-16 05:49:54 +00:00
K. Richard Pixley
b396595a9c add MEM_FNS_DECLARED 1992-10-16 04:55:14 +00:00
K. Richard Pixley
ae0f48c2ed casts for ultrix compiler 1992-10-16 04:44:36 +00:00