Commit Graph

1002 Commits

Author SHA1 Message Date
John Gilmore
8020d5da16 Typo, caught by David Wood. 1991-09-16 21:57:02 +00:00
John Gilmore
7621b324eb Add tm-ultra3.h 1991-09-13 07:55:28 +00:00
John Gilmore
e36ca74a03 Minor bugfixes after trying to get a 29K target to build. 1991-09-13 07:52:09 +00:00
John Gilmore
841c051c44 * inferior.h: Eliminate CANNOT_EXECUTE_STACK in favor of
defining CALL_DUMMY_LOCATION as BEFORE_TEXT_END.  This is
because machines that do this will also have to know to
set NEED_TEXT_START_END.  Besides, it was a redundant way to
say the same thing.
* tm-29k.h, tm-convex.h, tm-np1.h:  Eliminate
CANNOT_EXECUTE_STACK, define CALL_DUMMY_LOCATION and
NEED_TEXT_START_END.
1991-09-13 07:22:50 +00:00
John Gilmore
7730bd5acd * exec.c (exec_command): If NEED_TEXT_START_END, define the
variables and set them based on the exec file.
* am29k-tdep.c:  declare text_start.
* valops.c (call_function_by_hand):  declare text_end.
1991-09-13 07:22:01 +00:00
John Gilmore
f74ff50fab Support aout and coff, as well as none, as "OS" settings for remote 29K GDB. 1991-09-13 06:38:44 +00:00
John Gilmore
f48e264778 Missing quote fries it. 1991-09-13 06:16:32 +00:00
John Gilmore
794111e75a Use simpler name (that matches bfd/config/h-ultra3!) 1991-09-13 05:24:00 +00:00
John Gilmore
2fbf0d18b8 Removes sparc-opcode.h rather than the file it is sanitizing, if not testing!
(fixed...)
1991-09-13 05:17:53 +00:00
John Gilmore
a16f53e9e8 tm-ultra3.h slipped thru the cracks... 1991-09-13 05:13:34 +00:00
John Gilmore
d3fa0255c6 * tm-ultra.h: New file, for use on Ultra3 Unix as well as for
remote debugging of Ultra3 kernel.  Includes tm-29k.h and
overrides various things.
1991-09-13 05:10:43 +00:00
John Gilmore
71aeb641b0 Third time's a charm. 1991-09-13 03:59:44 +00:00
John Gilmore
e3e3d88a30 Ultracomputer 1991-09-13 03:56:25 +00:00
John Gilmore
f5c414cb70 New Ultracomputer/29000 stuff. 1991-09-13 03:54:45 +00:00
John Gilmore
1111151a02 AMD 29000 stuff 1991-09-13 03:53:58 +00:00
John Gilmore
2517ee0682 One more try at top-level sanity on config.sub 1991-09-13 03:20:18 +00:00
John Gilmore
eebff21c7d Clean out "v9" stuff from here, and propagate configure and config.sub
to all lower directories after sanity sets in.
1991-09-13 03:11:27 +00:00
John Gilmore
15f27b29d1 Lint 1991-09-13 03:09:24 +00:00
John Gilmore
17f7e032b8 Lint 1991-09-13 03:00:28 +00:00
John Gilmore
2c346475aa Update with improved text. 1991-09-13 02:50:40 +00:00
John Gilmore
534ccb3038 Update these for new modules and new inclusions. 1991-09-13 02:39:32 +00:00
John Gilmore
12bf20326d Propagate 1991-09-13 02:19:57 +00:00
John Gilmore
7952caa6d2 Remove generic "am29k" (now you have to specify a29k-xxx-yyy).
Add ultra3 as a29k-nyu-sym1 (host and target).
1991-09-13 01:56:55 +00:00
John Gilmore
126334ae30 * configure.in: Handle a29k-*-* hosts, and targets
a29k-*-coff, a29k-*-aout, and a29k-*-sym1.
1991-09-13 01:49:40 +00:00
John Gilmore
07cfbae199 AMD 29000 changes from David Wood <wood@david.ultra.nyu.edu> 1991-09-13 01:21:18 +00:00
John Gilmore
44f0c5db96 * Makefile.in (CLIBS): Put XM_CLIBS and TM_CLIBS at end.
Pass MUNCH_DEFINE to munch whenever we run it.
* munch:  Cope with RT/PC putting fns in data segment.
Restore ability to override `nm' by specifying MUNCH_NM.
1991-09-13 01:10:22 +00:00
John Gilmore
7c18a68f00 Add new files for 29K and Ultracomputer support. 1991-09-13 01:07:53 +00:00
John Gilmore
2b05a37a5f * tm-29k.h: Update BADMAG (though it should go away).
Allow the register definitions to be overridden in another
        tm-file.  Fix SR_REGNUM.  Add a mess of _REGNUM's.  Separate
        RETURN_REGNUM from GR96_REGNUM and DUMMY_SAVE_GREGS from
        DUMMY_SAVE_GR96, for handling kernel calling conventions
        that use GR64+ rather than GR96+.
1991-09-13 01:06:04 +00:00
John Gilmore
19b66c0e72 Lint 1991-09-13 01:02:21 +00:00
John Gilmore
f33c3ad15b Remove unused include files. 1991-09-13 00:59:38 +00:00
John Gilmore
6093e5b0de * am29k-tdep.c: Use DUMMY_SAVE_GREGS and RETURN_REGNUM. 1991-09-13 00:33:17 +00:00
John Gilmore
8d8f91d85a * am29k-pinsn.c (print_insn): Handle NOP specially. Avoid %#x
format string; use 0x%x instead.
1991-09-13 00:29:14 +00:00
John Gilmore
cdfb337309 Make Munch work. 1991-09-13 00:28:05 +00:00
John Gilmore
473f33181c * configure.in: Add hosts rtpc-*-* and a29k-*-*.
Merge target arm case with other "easy" cases.  Add target
cases a29k-*-none (rehack of am29k), a29k-*-kern (remote to
Ultracomputer kernel), and a29k-*-sym1 (ultracomputer OS's user
process).
1991-09-13 00:13:16 +00:00
John Gilmore
780bdcb936 Initial revision 1991-09-13 00:07:27 +00:00
John Gilmore
054862cfa1 * internalcoff.h (SYMNMLEN, FILNMLEN, DIMNUM): Define these
for internalcoff, separately from the various external coff's.
* amdcoff.h, bcs88kcoff.h, i386coff.h, intel-coff.h, m68kcoff.h,
m88k-bcs.h: Prefix SYMNMLEN, FILNMLEN, and DIMNUM with E_'s for
the external struct definitions.
* ecoff.h: Remove these #define's, kludge no longer needed.
1991-09-12 21:27:49 +00:00
John Gilmore
96e0dd9633 Initial revision 1991-09-12 21:13:48 +00:00
Roland Pesch
b5493bc4c8 Thu Sep 12 14:07:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: $(MAKE) for make, $(docdir) for doc
	* doc/Makefile: redundant dependencies for Sun-make VPATH bug
1991-09-12 21:08:51 +00:00
Roland Pesch
ff2e185071 Per J Gilmore's advice, include redundant dependencies to get around
Sun-make VPATH bug.
1991-09-12 21:04:21 +00:00
John Gilmore
a5a8b9b14e Add NYU vendor, sym1 and sym2 os's. Alphabetize vendors. 1991-09-12 08:48:23 +00:00
John Gilmore
f5e011c68c * Makefile.in (documentation targets): Pass $(M4).
Bugfix from eggert@twinsun.com (Paul Eggert).

* stack.c (down_silently_command):  Check for stack existence.
1991-09-12 03:03:01 +00:00
K. Richard Pixley
f3d3d2cdc6 add gdbm. 1991-09-12 00:33:59 +00:00
K. Richard Pixley
aedaceb5bf Add gdbm. 1991-09-12 00:33:19 +00:00
John Gilmore
90d368c5ef * Makefile.in (VERSION): Update to 4.0.3. 1991-09-11 06:10:20 +00:00
John Gilmore
f053b34fe8 * aoutf1.h (sunos4_core_file_p): Release the right storage in error case.
(sunos4_core_file_matches_executable_p):  Fix header comparison.
* aoutx.h:  Avoid shifts of 32 bits, undefined in C.  Lint.
* bout.c, icoff.c, ieee.c, libbfd.c, oasys.c:  gcc -O -W lint.
1991-09-11 04:49:53 +00:00
John Gilmore
cadbb07a69 * core.c (core_file_command): Print frame at coredump with
its level number, by calling print_stack_frame.
* frame.h:  Add selected_frame_level, print_stack_frame.
* frame.h, stack.c:  Remove print_sel_frame, print_selected_frame.
* convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c:
Change print_sel_frame and print_selected_frame callers to
print_stack_frame.

* dbxread.c (read_ofile_symtab):  Avoid empty else clause.
* symfile.c (free_named_symtabs):  Ditto.
* main.c (main):  wrap_here needs an arg.
* solib.c (find_solib):  Avoid memory access if _DYNAMIC is zero.
(solib_add):  Avoid noise.
(solib_create_inferior_hook):  Lint.
(sharedlibrary_command):  Move dont_repeat to here.
* utils.c (error):  Call wrap_here to force buffered output.

Small patches from Peter Schauer:

* coffread.c (start_symtab):  Free any existing line_vector before
malloc-ing new one.
(read_coff_symtab):  Ditto for type_vector.

* source.c (lines_to_list):  New variable, replacing function.
(all uses):  Use as variable.
(_initialize_source):  Add 'set listsize' and 'show listsize'.
* utils.c (lines_to_list):  Remove function.
* stack.c (print_frame_info):  Use as variable.
* defs.h (lines_to_list):  Remove declaration.
1991-09-11 01:49:50 +00:00
John Gilmore
b1815762f9 * i386coff.h (LINESZ): Always 6, not based on sizeof(). 1991-09-10 17:13:21 +00:00
John Gilmore
8106620887 * utils.c (error): if error_pre_print is set, print the string
first.
* main.c (main, print_gnu_advertisement, print_gdb_version):
Reformat legalese so it always prints, but acts as an "I'm here"
message while symbols are being read.  If any errors occur,
print a few newlines to set off the message and start it at the
left margin.  Remove mention of "help" command, and don't yak about
symbol reading.
(catch_errors):  Error string is now printed first in case of
error, not last.
* command.c (undef_cmd_error, lookup_cmd):  On undefined command,
suggest the "help" command.

* Makefile.in (VERSION):  Set to 4.0.2.
1991-09-10 08:56:09 +00:00
Steve Chamberlain
ae07c044c3 Added delta88 1991-09-09 21:13:28 +00:00
John Gilmore
62853f8052 * breakpoint.c (insert_breakpoints): Restore warning about
the program might be running in another process, but only for
systems with this brain death (#ifdef ONE_PROCESS_WRITETEXT).
* xm-hp300bsd.h, xm-mips.h, xm-vax.h:  Define it.
1991-09-09 20:49:08 +00:00