Commit Graph

17 Commits

Author SHA1 Message Date
Ian Lance Taylor
073c6b2b61 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
(can't include it in nm-*.h file because it causes conflicts with
	a.out symbol definitions).
	* hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
	* config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
	corelow.o.
	* config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
	(REGISTER_U_ADDR): Defined.
	* config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
	HAVE_TERMIO.
	* config/pa/xm-hppah.h: Likewise.
1993-07-22 19:49:44 +00:00
John Gilmore
fefe2ed929 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
Rendell, <michael@mercury.cs.mun.ca>.
1993-03-02 01:56:22 +00:00
K. Richard Pixley
851fffcf4e include nm.h in defs.h 1992-10-28 02:32:59 +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
8970a55ee6 * coredep.c (fetch_core_registers): Remove premature warning,
which triggers on DECstation even though all regs are accessible.

* m68k-pinsn.c (print_insn_arg):  Use new macros to get
sign-extension of instruction fields even on unsigned-char hosts.
Bug found by Fred J Roeber, fjr@sgfb.ssd.ray.com.
1992-05-20 08:25:56 +00:00
Michael Tiemann
d747e0af3d Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h.
	(defs.h): #include stdio.h.

This has been tested by building GDBs for all targets hosted on Sun4.
None of the build problems were related to stdio.h inclusion.  (n.b.
many configurations don't build for other reasons.)
1992-03-03 23:26:26 +00:00
John Gilmore
1ab3bf1b14 * Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
1992-02-22 01:46:16 +00:00
John Gilmore
299ee4e6c7 Fencepost error in reporting regs we can't find in core file. 1991-12-05 12:20:18 +00:00
John Gilmore
3ae444f844 SCO lint. 1991-11-22 20:44:50 +00:00
John Gilmore
7d9884b927 * defs.h: Incorporate param.h. All users changed.
* param-no-tm.h:  Change users to define TM_FILE_OVERRIDE instead.
* param.h, param-no-tm.h:  Removed.
* Update copyrights in all changed files.
* dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
solib.c, symtab.h, tm-umax.h, valprint.c:  Lint.
* tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
xm-merlin.h:  Avoid host include files in target descriptions.
* getpagesize.h:  Removed, libiberty copes now.
1991-11-21 18:42:05 +00:00
Stu Grossman
159a075e55 * coffread.c, coredep.c, i386-xdep.c: install patches for
SysV/386 3.2 from Mauro DePalma.
1991-10-25 23:10:12 +00:00
John Gilmore
b53d3945ed * coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab):  Avoid coredump on malformed file.
* printcmd.c (print_formatted):  Flush output before disassembly.
* xm-mips.h:  Update KERNEL_U_ADDR for new scheme.  Cleanup a bit.
1991-10-17 05:57:51 +00:00
John Gilmore
45e6027024 * core.c (core_open): Improve error message for bad file.
Pass .reg virtual memory address to fetch_core_registers to help
it find the registers in the core-file header.
* coredep.c (fetch_core_registers):  Take new argument, use it,
and pass it to register_addr to locate the block of registers.
1991-10-16 19:42:05 +00:00
Stu Grossman
2f1cfaddf9 Whoops! Make that #ifndef USG, not #ifdef 1991-09-17 08:11:00 +00:00
Stu Grossman
2b88cafe02 #include <sys/ptrace.h> 1991-09-17 08:10:16 +00:00
John Gilmore
99a7de40cb Change GDB over to GNU General Public License version 2. 1991-06-04 07:31:55 +00:00
K. Richard Pixley
dd3b648e8b Johns release 1991-03-28 16:28:29 +00:00