Commit Graph

4510 Commits

Author SHA1 Message Date
Per Bothner
42fca93eb8 * ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGE
case more robust.
This fixes PR 5016.
1994-09-05 21:47:03 +00:00
Stan Shebs
b50e328324 * i960-tdep.c (signal.h): Don't include. 1994-09-04 23:58:48 +00:00
Stan Shebs
de9eff96b8 * gdbint.texinfo: Removed mentions of some incorrectly placed and
obsolete conditionals, described some others.
1994-09-04 23:49:40 +00:00
Stan Shebs
43c998558f * cxux-nat.c (target_is_m88110): Remove definition. 1994-09-04 23:41:20 +00:00
Stan Shebs
a6aa45a625 Update to reflect changes in config files 1994-09-04 23:18:31 +00:00
Stan Shebs
6573c89850 * configure.in (config/nm-empty.h): If cross only, use instead
of config/nm-trash.h.
	* config/nm-trash.h: Remove.
	* config/nm-empty.h: New file.
	* config/i386/nm-m3.h: New file, includes config/nm-m3.h.
	* config/mips/nm-m3.h: New file, includes config/nm-m3.h.
	* config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h.
	* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
	* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
1994-09-04 23:16:22 +00:00
Stu Grossman
4b078dc3b0 * configure.in: Don't ln gdbtk.tcl if it's already there. 1994-09-03 02:13:47 +00:00
Stan Shebs
e1118f1582 Fix a typo in last change 1994-09-03 01:15:15 +00:00
J.T. Conklin
b40fa61278 * configure.in: No longer looks for nm, tm, and xm headers in
config/<header>; they are always in config/<cpu>/<header>.
1994-09-03 00:45:30 +00:00
Stan Shebs
7f4c859520 * objfiles.c (allocate_objfile): Add the newly-created objfile to
the end of the list of objfiles, instead of at the beginning.

	* xcoffread.c (allocate_include_entry): New function, abstracted
	from code in record_include_begin.
	(record_include_begin, record_include_end): Call it.

	* blockframe.c (reinit_frame_cache): Test inferior_pid instead of
	target_has_stack to decide whether to create a real stack frame
	for the cache.

	* coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor
	section.
	* config/m88k/tm-cxux.h (CXUX_TARGET): Define.

	* h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
1994-09-03 00:32:08 +00:00
Stu Grossman
ed617881e3 Add gdbserve.mt. 1994-09-03 00:28:05 +00:00
Stu Grossman
14cca2b692 Add .Sanitize. 1994-09-03 00:27:50 +00:00
Stu Grossman
bbc34049ed Add nlm subdir. 1994-09-03 00:15:20 +00:00
J.T. Conklin
4c35f877ee * config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
field names into what is expected by sparc-nat.c.
1994-09-02 16:57:11 +00:00
Per Bothner
6a2eecace5 * c-typeprint.c (c_typedef_print): Add missing Chill support. 1994-09-02 00:34:43 +00:00
Stu Grossman
5b676c51ac Create a .Sanitize file. 1994-09-01 23:02:10 +00:00
Stu Grossman
736c56dedf * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
        * config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

        * config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
        config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
        ser-tcp.

        * nlm/Makefile.in:  Get rid of NWSOURCE.
        * nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
        * nlm/gdbserve.o:  Add dummy __main routine.
        * nlm/gdbserve.def:  Turn on debug.
1994-09-01 22:57:32 +00:00
Stu Grossman
9feea50607 * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
	* config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

	* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
	config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
	ser-tcp.

	* nlm/Makefile.in:  Get rid of NWSOURCE.
	* nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
	* nlm/gdbserve.o:  Add dummy __main routine.
	* nlm/gdbserve.def:  Turn on debug.
1994-09-01 22:57:02 +00:00
Jim Kingdon
ac32cd0862 * config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete. 1994-09-01 19:40:11 +00:00
J.T. Conklin
040a3ff56d Commit again, CVS botched this last time. 1994-09-01 18:23:24 +00:00
J.T. Conklin
46cf56faf1 * config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01 18:20:42 +00:00
J.T. Conklin
331d515aca * config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01 18:17:25 +00:00
Jason Molenda
057815134f Wed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)
* remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory):
        change typeo in error msg (`inferrior' -> `inferior').
1994-08-31 21:43:27 +00:00
Jim Kingdon
1e75b5f530 * inflow.c (set_sigint_trap, clear_sigint_trap): Check for
attach_flag (this check was performed by the callers).  Also check
	inferior_thisrun_terminal.
	* inftarg.c (child_wait), lynx-nat.c (child_wait),
	procfs.c (wait_fd), symm-nat.c (child_wait): Don't check
	attach_flag in deciding whether to call set_sigint_trap and
	clear_sigint_trap.
1994-08-31 20:42:10 +00:00
Jim Kingdon
c6623d2ce2 * value.h (struct value): Change literal_data from PTR to char *,
since that is the way it is used.
1994-08-31 16:18:50 +00:00
Jeff Law
31b2518aa4 * somread.c (som_symfile_read): Force unwinds to be re-read after
reading in a new partial symbol table.
1994-08-31 03:59:42 +00:00
Stan Shebs
bad5ceb816 * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
an obsolete conditional.
	* config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use,
	an obsolete conditional.
	* config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up
	comments.
1994-08-30 20:29:26 +00:00
Stan Shebs
87dc33c317 Lose ns32k-opcode.h. 1994-08-29 23:58:19 +00:00
Stan Shebs
6d8dfa64d2 * Makefile.in (ns32k-opcode.h): Remove reference.
(ns32k-pinsn.o): Update dependencies.
	* ns32k-opcode.h: Remove file.
	* ns32k-pinsn.c (print_insn): Call version in libopcodes, remove
	all other code in this file.
1994-08-29 22:17:09 +00:00
Stu Grossman
dd55ca703a * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.
* config/alpha/gdbserve.mt (TDEPFILES):  Remove alpha-patch.o.
1994-08-29 22:02:57 +00:00
Stu Grossman
74ace0c87a * nlm/Makefile.in: Add rule for .S.o.
* nlm/aio.h:  Protect from multiple inclusions.
	* nlm/alpha-io.S:  Remove everything we don't need.
	* nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}:
	Remove, no longer needed.
	* nlm/alpha.c:  Merge in lots of stuff from previous files.
	* nlm/alpha.h:  Don't #include alpha-patch.h.  Make
	breakpoint_insn extern.
	* Move stuff from alpha-patch.h into here.

	* config/alpha/gdbserve.mt (TDEPFILES):  Get rid of alpha-uart.o.
1994-08-29 21:47:40 +00:00
Stan Shebs
e32890404e Keep Fortran tests 1994-08-29 21:33:43 +00:00
Stan Shebs
6862283731 First part of Fortran test suite.
* gdb.fortran: New directory.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1994-08-29 21:31:48 +00:00
Jim Kingdon
0c070b5769 * annotate.c (annotate_starting): Flush output. 1994-08-29 18:45:35 +00:00
Peter Schauer
176d550474 * gdb.base/default.exp: Update expect pattern for load command
without arguments.
1994-08-28 14:08:03 +00:00
Peter Schauer
46d185d3d1 * symfile.c (symbol_file_add): Move reinit_frame_cache call to
the callers of symbol_file_add. Gets rid of heuristic fence-post
	warnings on mips and alpha targets when the PC resides in a shared
	library which is not yet read in.
	* coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files),
	irix5-nat.c (solib_add), osfsolib.c (solib_add),
	remote-vx.c (vx_open), solib.c (solib_add):
	Add call to reinit_frame_cache after all shared libraries are read in.
	* remote-udi.c (udi_load), remote-vx.c (vx_load_command),
	symfile.c (symbol_file_command, add_symbol_file_command):
	Add call to reinit_frame_cache after symbol_file_add.
1994-08-28 13:57:48 +00:00
J.T. Conklin
c01fe93684 Remove RCS ID's 1994-08-26 22:00:50 +00:00
J.T. Conklin
d7758a22a2 * sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc. 1994-08-26 18:10:49 +00:00
J.T. Conklin
ebedfc6785 fix typo 1994-08-25 00:58:14 +00:00
J.T. Conklin
6b13c79c6d * config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files,
  support for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.
1994-08-25 00:55:39 +00:00
J.T. Conklin
74d319e092 * config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support
  for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.
1994-08-25 00:54:50 +00:00
Stan Shebs
3d19ff2b13 * remote-vx.c (vx_attach): Interpret the command argument as an
unsigned long.
1994-08-24 20:22:25 +00:00
Ian Lance Taylor
2c5d4a3443 * configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
	* gdb.c++/configure.in: Likewise.
	* gdb.chill/configure.in: Likewise.
1994-08-24 17:18:05 +00:00
Ian Lance Taylor
7382b3b197 * configure.in: Change i[34]86 to i[345]86.
* nlm/configure.in: Likewise.
	* gdbserver/configure.in: Likewise.
1994-08-24 17:12:57 +00:00
J.T. Conklin
bdf218b315 * configure.in (i386-*-netware): Automatically configure nlm
subdir.
1994-08-24 16:43:18 +00:00
Stan Shebs
70bcd4bc7e * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
patterns, since that is not a valid context for comments.
1994-08-24 02:21:37 +00:00
J.T. Conklin
86165efce5 * nlm/gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets.
* nlm/i386.c: include appropriate header files.
* nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0
  targets.
1994-08-24 00:58:42 +00:00
J.T. Conklin
513d7836d0 * gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets.
* nlm/i386.c: include appropriate header files.
* nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0
  targets.
1994-08-24 00:57:17 +00:00
Stu Grossman
8edf00160b * nlm/ppc.c (set_step_traps clear_step_traps): Cleanups.
* nlm/gdbserve.def:  Autoload clib.
1994-08-24 00:27:38 +00:00
Jim Kingdon
e44075d3aa * gdbtypes.h: Declare f77_create_literal_string_type and
f77_create_literal_complex_type.
	* valops.c (f77_value_literal_string, f77_value_substring,
	f77_value_literal_complex): Use xmalloc not malloc.
	* valops.c (f77_value_literal_string, f77_value_substring):
	Make addr char * not CORE_ADDR.
	* value.h (struct value): Add new field literal_data of aligner union.
	(VALUE_LITERAL_DATA): Use it.
	* f-lang.h: Declare find_common_for_function.
	* value.h, valops.c: Split VALUE_SUBSTRING_START into memaddr and
	myaddr fields of a union.  Don't overload it with the frame field
	(not sure this is necessary; I'm not sure what lval_* codes
	VALUE_SUBSTRING_* can be used with).
1994-08-23 21:39:50 +00:00