John Gilmore [Fri, 13 Sep 1991 07:22:01 +0000 (07:22 +0000)]
* 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.
John Gilmore [Fri, 13 Sep 1991 06:38:44 +0000 (06:38 +0000)]
Support aout and coff, as well as none, as "OS" settings for remote 29K GDB.
John Gilmore [Fri, 13 Sep 1991 06:16:32 +0000 (06:16 +0000)]
Missing quote fries it.
John Gilmore [Fri, 13 Sep 1991 05:24:00 +0000 (05:24 +0000)]
Use simpler name (that matches bfd/config/h-ultra3!)
John Gilmore [Fri, 13 Sep 1991 05:17:53 +0000 (05:17 +0000)]
Removes sparc-opcode.h rather than the file it is sanitizing, if not testing!
(fixed...)
John Gilmore [Fri, 13 Sep 1991 05:13:34 +0000 (05:13 +0000)]
tm-ultra3.h slipped thru the cracks...
John Gilmore [Fri, 13 Sep 1991 05:10:43 +0000 (05:10 +0000)]
* 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.
John Gilmore [Fri, 13 Sep 1991 03:59:44 +0000 (03:59 +0000)]
Third time's a charm.
John Gilmore [Fri, 13 Sep 1991 03:56:25 +0000 (03:56 +0000)]
Ultracomputer
John Gilmore [Fri, 13 Sep 1991 03:54:45 +0000 (03:54 +0000)]
New Ultracomputer/29000 stuff.
John Gilmore [Fri, 13 Sep 1991 03:53:58 +0000 (03:53 +0000)]
AMD 29000 stuff
John Gilmore [Fri, 13 Sep 1991 03:20:18 +0000 (03:20 +0000)]
One more try at top-level sanity on config.sub
John Gilmore [Fri, 13 Sep 1991 03:11:27 +0000 (03:11 +0000)]
Clean out "v9" stuff from here, and propagate configure and config.sub
to all lower directories after sanity sets in.
John Gilmore [Fri, 13 Sep 1991 03:09:24 +0000 (03:09 +0000)]
Lint
John Gilmore [Fri, 13 Sep 1991 03:00:28 +0000 (03:00 +0000)]
Lint
John Gilmore [Fri, 13 Sep 1991 02:50:40 +0000 (02:50 +0000)]
Update with improved text.
John Gilmore [Fri, 13 Sep 1991 02:39:32 +0000 (02:39 +0000)]
Update these for new modules and new inclusions.
John Gilmore [Fri, 13 Sep 1991 02:19:57 +0000 (02:19 +0000)]
Propagate
John Gilmore [Fri, 13 Sep 1991 01:56:55 +0000 (01:56 +0000)]
Remove generic "am29k" (now you have to specify a29k-xxx-yyy).
Add ultra3 as a29k-nyu-sym1 (host and target).
John Gilmore [Fri, 13 Sep 1991 01:49:40 +0000 (01:49 +0000)]
* configure.in: Handle a29k-*-* hosts, and targets
a29k-*-coff, a29k-*-aout, and a29k-*-sym1.
John Gilmore [Fri, 13 Sep 1991 01:21:18 +0000 (01:21 +0000)]
AMD 29000 changes from David Wood <wood@david.ultra.nyu.edu>
John Gilmore [Fri, 13 Sep 1991 01:10:22 +0000 (01:10 +0000)]
* 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.
John Gilmore [Fri, 13 Sep 1991 01:07:53 +0000 (01:07 +0000)]
Add new files for 29K and Ultracomputer support.
John Gilmore [Fri, 13 Sep 1991 01:06:04 +0000 (01:06 +0000)]
* 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+.
John Gilmore [Fri, 13 Sep 1991 01:02:21 +0000 (01:02 +0000)]
Lint
John Gilmore [Fri, 13 Sep 1991 00:59:38 +0000 (00:59 +0000)]
Remove unused include files.
John Gilmore [Fri, 13 Sep 1991 00:33:17 +0000 (00:33 +0000)]
* am29k-tdep.c: Use DUMMY_SAVE_GREGS and RETURN_REGNUM.
John Gilmore [Fri, 13 Sep 1991 00:29:14 +0000 (00:29 +0000)]
* am29k-pinsn.c (print_insn): Handle NOP specially. Avoid %#x
format string; use 0x%x instead.
John Gilmore [Fri, 13 Sep 1991 00:28:05 +0000 (00:28 +0000)]
Make Munch work.
John Gilmore [Fri, 13 Sep 1991 00:13:16 +0000 (00:13 +0000)]
* 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).
John Gilmore [Fri, 13 Sep 1991 00:07:27 +0000 (00:07 +0000)]
Initial revision
John Gilmore [Thu, 12 Sep 1991 21:27:49 +0000 (21:27 +0000)]
* 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.
John Gilmore [Thu, 12 Sep 1991 21:13:48 +0000 (21:13 +0000)]
Initial revision
Roland Pesch [Thu, 12 Sep 1991 21:08:51 +0000 (21:08 +0000)]
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
Roland Pesch [Thu, 12 Sep 1991 21:04:21 +0000 (21:04 +0000)]
Per J Gilmore's advice, include redundant dependencies to get around
Sun-make VPATH bug.
John Gilmore [Thu, 12 Sep 1991 08:48:23 +0000 (08:48 +0000)]
Add NYU vendor, sym1 and sym2 os's. Alphabetize vendors.
John Gilmore [Thu, 12 Sep 1991 03:03:01 +0000 (03:03 +0000)]
* Makefile.in (documentation targets): Pass $(M4).
Bugfix from eggert@twinsun.com (Paul Eggert).
* stack.c (down_silently_command): Check for stack existence.
K. Richard Pixley [Thu, 12 Sep 1991 00:33:59 +0000 (00:33 +0000)]
add gdbm.
K. Richard Pixley [Thu, 12 Sep 1991 00:33:19 +0000 (00:33 +0000)]
Add gdbm.
John Gilmore [Wed, 11 Sep 1991 06:10:20 +0000 (06:10 +0000)]
* Makefile.in (VERSION): Update to 4.0.3.
John Gilmore [Wed, 11 Sep 1991 04:49:53 +0000 (04:49 +0000)]
* 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.
John Gilmore [Wed, 11 Sep 1991 01:49:50 +0000 (01:49 +0000)]
* 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.
John Gilmore [Tue, 10 Sep 1991 17:13:21 +0000 (17:13 +0000)]
* i386coff.h (LINESZ): Always 6, not based on sizeof().
John Gilmore [Tue, 10 Sep 1991 08:56:09 +0000 (08:56 +0000)]
* 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.
Steve Chamberlain [Mon, 9 Sep 1991 21:13:28 +0000 (21:13 +0000)]
Added delta88
John Gilmore [Mon, 9 Sep 1991 20:49:08 +0000 (20:49 +0000)]
* 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.
K. Richard Pixley [Sat, 7 Sep 1991 03:23:39 +0000 (03:23 +0000)]
Alphabetize aliases; add v9 things.
John Gilmore [Fri, 6 Sep 1991 07:19:03 +0000 (07:19 +0000)]
Host and targets with different sized types. &others.
John Gilmore [Fri, 6 Sep 1991 07:13:38 +0000 (07:13 +0000)]
Fix some infrastructure to be able to cope with host and target
machines with different sized basic types (ints, ptrs, etc).
(Idea from pierre@la.tce.com (Pierre Willard).)
* values.c (value_from_longest): Rename from value_from_long.
Handle pointer types as well as integers, so that targets with
different pointer sizes from the host can be accomodated.
* breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c,
valarith.c, valops.c, valprint.c, value.h, values.c: Rename
uses of value_from_long to value_from_longest.
John Gilmore [Fri, 6 Sep 1991 07:09:40 +0000 (07:09 +0000)]
Fix some infrastructure to be able to cope with host and target
machines with different sized basic types (ints, ptrs, etc).
(Idea from pierre@la.tce.com (Pierre Willard).)
* value.c (value_from_longest): Rename from value_from_long.
Handle pointer types as well as integers, so that targets with
different pointer sizes from the host can be accomodated.
* breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c,
valarith.c, valops.c, valprint.c, value.h, values.c: Rename
uses of value_from_long to value_from_longest.
* eval.c, findvar.c, printcmd.c, valarith.c, valops.c: Pass
the correct pointer type to value_from_long{est}.
* remote-vx.c: Remove obsolete code for calling functions via
vxworks kludge interface (it referenced value_from_long).
* valops.c (value_string): Find malloc with lookup_misc_func, not
raw search.
* breakpoint.c, remote-vx.c: Reword strings printed by
catch_errors callers.
John Gilmore [Fri, 6 Sep 1991 06:52:38 +0000 (06:52 +0000)]
* .gdbinit: Remove useless "rr" command. Set complaints
to 1 for people debugging gdb.
John Gilmore [Fri, 6 Sep 1991 06:50:40 +0000 (06:50 +0000)]
* WHATS.NEW: "history write -> history save". Doc "write on/off".
(Fix from kenc@viewlogic.com.)
John Gilmore [Wed, 4 Sep 1991 16:03:52 +0000 (16:03 +0000)]
* a.out.gnu.h, aout64.h: Add N_WARNING. Change N_FN to 0x0E,
to match SunOS and BSD. Add N_COMM as 0x12 for SunOS shared lib
support.
* stab.def: Add N_COMM to table, fix overlap comment.
John Gilmore [Wed, 4 Sep 1991 07:52:46 +0000 (07:52 +0000)]
Allow GDB to patch object files.
Makefile.in: Add crude dependencies.
John Gilmore [Wed, 4 Sep 1991 07:43:50 +0000 (07:43 +0000)]
Make writing to files work properly. (Fixes to BFD are also needed.)
* core.c (core_open): Open file ourselves, read or r/w, depending on
write_files. Use bfd_fdopenr.
* gdbcore.h (write_files): New variable.
* exec.c (write_files): Define variable, add set&show for it.
(exec_file_command): Use write_files to open for read or r/write.
Make shared library reading happen automatically. These changes
are mostly from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>.
* inferior.h (stop_soon_quietly): Add to exported variables.
* infrun.c (child_create_inferior): call solib hook, if defined.
(child_attach): call solib hook, if defined.
* solib.c: Include inferior.h. Add from_tty to so_list as kludge.
(find_solib): Use lookup_misc_func rather than hand-rolled.
(symbol_add_stub): New stub for catch_errors.
(solib_add): Avoid output if !from_tty. Catch errors rather
than just calling symbol_file_add and bombing.
(solib_create_inferior_hook): Interface with the target process
to let it read and alloc shared libs, then figure out what it did.
* core.c (validate_files): Fix typo, soften warning.
(Fix from Hiroto Kagotani <kagotani@cs.titech.ac.jp>.)
* utils.c (fputs_demangled): Avoid duplicate printing if
demangling is off. (Fix from J.T. Conklin <jtc@cayenne.com>.)
* infrun.c (proceed): Cast -1 to (CORE_ADDR) before comparing.
(Fix from pierre@la.tce.com (Pierre Willard).)
* main.c (catch_errors): Change argument to a char * from an int,
since a char * can point to a struct full of glop, but an int
is not guaranteed to be able to hold a pointer.
* breakpoint.c (breakpoint_cond_eval, bpstat_stop_status,
breakpoint_re_set_one, breakpoint_re_set): Adapt.
* core.c (core_open, solib_add_stub): Adapt.
* remote-vx.c (symbol_stub, add_symbol_stub, callers): Adapt.
K. Richard Pixley [Wed, 4 Sep 1991 04:21:09 +0000 (04:21 +0000)]
Don't keep ldgram.h. Isn't even checked in.
K. Richard Pixley [Wed, 4 Sep 1991 03:59:15 +0000 (03:59 +0000)]
Added "recover"'ability.
K. Richard Pixley [Wed, 4 Sep 1991 02:51:18 +0000 (02:51 +0000)]
Adding "recover"'ability.
K. Richard Pixley [Wed, 4 Sep 1991 02:28:15 +0000 (02:28 +0000)]
Bugs john noticed.
K. Richard Pixley [Wed, 4 Sep 1991 01:55:53 +0000 (01:55 +0000)]
test & recover a better way.
Steve Chamberlain [Tue, 3 Sep 1991 22:43:19 +0000 (22:43 +0000)]
Fixed the line break as a test for cvs ci.
K. Richard Pixley [Tue, 3 Sep 1991 22:21:30 +0000 (22:21 +0000)]
"recover" aoutx.h
Steve Chamberlain [Tue, 3 Sep 1991 21:14:14 +0000 (21:14 +0000)]
*** empty log message ***
Steve Chamberlain [Tue, 3 Sep 1991 21:14:13 +0000 (21:14 +0000)]
*** empty log message ***
Steve Chamberlain [Tue, 3 Sep 1991 21:12:23 +0000 (21:12 +0000)]
Initial revision
Steve Chamberlain [Tue, 3 Sep 1991 21:04:24 +0000 (21:04 +0000)]
*** empty log message ***
Steve Chamberlain [Tue, 3 Sep 1991 21:01:03 +0000 (21:01 +0000)]
Initial revision
Steve Chamberlain [Tue, 3 Sep 1991 20:48:27 +0000 (20:48 +0000)]
*** empty log message ***
John Gilmore [Tue, 3 Sep 1991 13:35:35 +0000 (13:35 +0000)]
Merge with FSF.
John Gilmore [Tue, 3 Sep 1991 13:32:50 +0000 (13:32 +0000)]
Merge with latest FSF versions.
K. Richard Pixley [Mon, 2 Sep 1991 22:19:49 +0000 (22:19 +0000)]
Updated list of Sanitizable directories.
K. Richard Pixley [Mon, 2 Sep 1991 21:26:15 +0000 (21:26 +0000)]
"recover" tc-sparc.c
K. Richard Pixley [Mon, 2 Sep 1991 21:21:47 +0000 (21:21 +0000)]
Recover the editted files.
K. Richard Pixley [Mon, 2 Sep 1991 01:12:42 +0000 (01:12 +0000)]
dump the obsolete INSTALL.
K. Richard Pixley [Mon, 2 Sep 1991 01:05:04 +0000 (01:05 +0000)]
Correcting some things.
K. Richard Pixley [Mon, 2 Sep 1991 01:03:38 +0000 (01:03 +0000)]
Correct a few things.
K. Richard Pixley [Mon, 2 Sep 1991 01:03:06 +0000 (01:03 +0000)]
Initial revision
K. Richard Pixley [Sun, 1 Sep 1991 23:45:00 +0000 (23:45 +0000)]
m68040 support.
K. Richard Pixley [Sun, 1 Sep 1991 23:40:56 +0000 (23:40 +0000)]
hack around memset().
K. Richard Pixley [Sun, 1 Sep 1991 23:39:31 +0000 (23:39 +0000)]
prototype for decode_local_label_name(), better definition of
obstack_chunk_fns.
K. Richard Pixley [Sun, 1 Sep 1991 23:38:30 +0000 (23:38 +0000)]
Link via as.new to avoid what might be some other cross assembler for
people with '.' in their paths.
Also, push as.new into as.old in an attempt to catch a couple gdb
bugs.
K. Richard Pixley [Sun, 1 Sep 1991 23:36:56 +0000 (23:36 +0000)]
Patch around gcc builtin memory functions.
Steve Chamberlain [Sun, 1 Sep 1991 03:47:07 +0000 (03:47 +0000)]
Added config.sub
Steve Chamberlain [Sun, 1 Sep 1991 03:42:05 +0000 (03:42 +0000)]
Changed the word binutils to 'the linker'
K. Richard Pixley [Sat, 31 Aug 1991 03:54:38 +0000 (03:54 +0000)]
Welcome emacs to the mess.
Stu Grossman [Sat, 31 Aug 1991 02:01:17 +0000 (02:01 +0000)]
Retract last edit. System type should determine whether this file gets loaded
at all.
Stu Grossman [Sat, 31 Aug 1991 01:43:19 +0000 (01:43 +0000)]
Undo edit 1.5. Easier to let abort be of unspecified type than to claim a type
and be wrong half the time.
Stu Grossman [Sat, 31 Aug 1991 01:38:08 +0000 (01:38 +0000)]
Add in sysv configuration stuff.
Stu Grossman [Sat, 31 Aug 1991 00:59:29 +0000 (00:59 +0000)]
Merge in irix support.
Stu Grossman [Sat, 31 Aug 1991 00:54:16 +0000 (00:54 +0000)]
Merge in irix support.
Stu Grossman [Sat, 31 Aug 1991 00:43:36 +0000 (00:43 +0000)]
Merge in irix support.
Stu Grossman [Sat, 31 Aug 1991 00:31:30 +0000 (00:31 +0000)]
Merge in irix support.
Stu Grossman [Fri, 30 Aug 1991 23:18:06 +0000 (23:18 +0000)]
Merge in irix support.
John Gilmore [Thu, 29 Aug 1991 00:35:06 +0000 (00:35 +0000)]
paperwork handled for AMD Coff.
John Gilmore [Thu, 29 Aug 1991 00:34:45 +0000 (00:34 +0000)]
Paperwork handled for AMD Coff.
K. Richard Pixley [Wed, 28 Aug 1991 21:56:58 +0000 (21:56 +0000)]
Backing out last round of changes.
K. Richard Pixley [Wed, 28 Aug 1991 21:49:12 +0000 (21:49 +0000)]
Update to current standards.
K. Richard Pixley [Wed, 28 Aug 1991 21:38:48 +0000 (21:38 +0000)]
Better error reporting on missing local labels.
K. Richard Pixley [Tue, 27 Aug 1991 23:10:19 +0000 (23:10 +0000)]
Error out on unrecognized options.
Steve Chamberlain [Tue, 27 Aug 1991 00:21:34 +0000 (00:21 +0000)]
Added config.sub