Commit Graph

388 Commits

Author SHA1 Message Date
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
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
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
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
John Gilmore
90d368c5ef * Makefile.in (VERSION): Update to 4.0.3. 1991-09-11 06:10:20 +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
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
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
John Gilmore
e92583d39c Host and targets with different sized types. &others. 1991-09-06 07:19:03 +00:00
John Gilmore
96b2f51cdc 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.
1991-09-06 07:13:38 +00:00
John Gilmore
06b6c733ae 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.
1991-09-06 07:09:40 +00:00
John Gilmore
2d8fa9ab98 * .gdbinit: Remove useless "rr" command. Set complaints
to 1 for people debugging gdb.
1991-09-06 06:52:38 +00:00
John Gilmore
90262bf934 * WHATS.NEW: "history write -> history save". Doc "write on/off".
(Fix from kenc@viewlogic.com.)
1991-09-06 06:50:40 +00:00
John Gilmore
bdbd5f5086 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.
1991-09-04 07:43:50 +00:00
Stu Grossman
9e7f3b6a69 Undo edit 1.5. Easier to let abort be of unspecified type than to claim a type
and be wrong half the time.
1991-08-31 01:43:19 +00:00
Stu Grossman
faaaea3c2a Merge in irix support. 1991-08-31 00:43:36 +00:00
Stu Grossman
625453dcfd Merge in irix support. 1991-08-31 00:31:30 +00:00
Stu Grossman
bceb2dded1 Merge in irix support. 1991-08-30 23:18:06 +00:00
John Gilmore
846058edd8 Update README. 1991-08-24 00:15:18 +00:00
John Gilmore
ce97f9130a Add none 1991-08-23 23:32:34 +00:00
Roland Pesch
1eddc5863e *** empty log message *** 1991-08-23 23:23:47 +00:00
John Gilmore
1dbe1ef797 Add info about porting to new hosts and targets. 1991-08-23 23:13:03 +00:00
Roland Pesch
2ecf020143 * Makefile.in: generate "gdb-all.texi" rather than "gdb-all.texinfo" 1991-08-23 22:47:36 +00:00
Roland Pesch
fad60036f7 generate "gdb-all.texi" rather than "gdb-all.texinfo" 1991-08-23 22:46:53 +00:00
Roland Pesch
ee4196dc5d *** empty log message *** 1991-08-23 22:39:16 +00:00
K. Richard Pixley
8b204e6ea4 add email address for bugs and additions. 1991-08-23 22:38:25 +00:00
Roland Pesch
b9def3d9df Reflect name change (doc/rdl-apps.texi) 1991-08-23 22:37:49 +00:00
Roland Pesch
8b5d2c4e96 * rdl-apps.texi: renamed from rdl-apps.texinfo
* Makefile, .Sanitize, gdb.texinfo: reflect above name change
1991-08-23 22:35:42 +00:00
K. Richard Pixley
cb3e10f3fe Minor vintage gcc lints. 1991-08-23 21:42:01 +00:00
Roland Pesch
d7c2f2ddd5 * WHATS.NEW: correct pointer to refcard. 1991-08-23 21:10:02 +00:00
Roland Pesch
d98259f8ac * doc/gdb.texinfo: update New Features, Installing
* doc/gdbint.texinfo: add short description of configure +template
1991-08-23 21:09:33 +00:00
John Gilmore
81b0b547d6 * GDB-4.0 release!
* Makefile.in (VERSION):  Roll to 4.0.
        (gdb.tar.Z):  Make refcard.ps as well, for shipment.
1991-08-23 20:48:14 +00:00
Roland Pesch
6d4100b71d note doc/gdb.texinfo changed. 1991-08-23 18:48:44 +00:00
John Gilmore
299eb5f15f Fix Makefile.in to build 4.0 rel. 1991-08-23 08:48:29 +00:00
Stu Grossman
7d003262a7 saber 1991-08-23 05:26:06 +00:00
K. Richard Pixley
69e87de278 Minor config polish. 1991-08-23 04:50:56 +00:00
Roland Pesch
0a3492951d Document ChangeLog catchup. 1991-08-23 04:38:47 +00:00
Roland Pesch
145d3d2666 *** empty log message *** 1991-08-23 03:08:36 +00:00