946 Commits

Author SHA1 Message Date
e557edcf98 * 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.
1991-09-04 16:03:52 +00:00
12e7087f53 Allow GDB to patch object files.
Makefile.in:  Add crude dependencies.
1991-09-04 07:52:46 +00:00
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
7c589d2562 Don't keep ldgram.h. Isn't even checked in. 1991-09-04 04:21:09 +00:00
01f0a88e4c Added "recover"'ability. 1991-09-04 03:59:15 +00:00
5f62d65b5a Adding "recover"'ability. 1991-09-04 02:51:18 +00:00
78375cd354 Bugs john noticed. 1991-09-04 02:28:15 +00:00
3116e6cf2f test & recover a better way. 1991-09-04 01:55:53 +00:00
10effd407e Fixed the line break as a test for cvs ci. 1991-09-03 22:43:19 +00:00
48543e053a "recover" aoutx.h 1991-09-03 22:21:30 +00:00
1baac72eb9 *** empty log message *** 1991-09-03 21:14:14 +00:00
1e33287356 *** empty log message *** 1991-09-03 21:14:13 +00:00
81003d7e1a Initial revision 1991-09-03 21:12:23 +00:00
30104b16c3 *** empty log message *** 1991-09-03 21:04:24 +00:00
01bc4918d7 Initial revision 1991-09-03 21:01:03 +00:00
c67056970a *** empty log message *** 1991-09-03 20:48:27 +00:00
4efb1cc9f0 Merge with FSF. 1991-09-03 13:35:35 +00:00
55fbee918b Merge with latest FSF versions. 1991-09-03 13:32:50 +00:00
cdabe52361 Updated list of Sanitizable directories. 1991-09-02 22:19:49 +00:00
8e25c1fa96 "recover" tc-sparc.c 1991-09-02 21:26:15 +00:00
1312dccc30 Recover the editted files. 1991-09-02 21:21:47 +00:00
385339e6e6 dump the obsolete INSTALL. 1991-09-02 01:12:42 +00:00
abf2ca6c2e Correcting some things. 1991-09-02 01:05:04 +00:00
a71150bd17 Correct a few things. 1991-09-02 01:03:38 +00:00
2dd8428e6d Initial revision 1991-09-02 01:03:06 +00:00
1493817dff m68040 support. 1991-09-01 23:45:00 +00:00
f4870f0f26 hack around memset(). 1991-09-01 23:40:56 +00:00
617ee8ed46 prototype for decode_local_label_name(), better definition of
obstack_chunk_fns.
1991-09-01 23:39:31 +00:00
da0b2bff46 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.
1991-09-01 23:38:30 +00:00
5cf89596e7 Patch around gcc builtin memory functions. 1991-09-01 23:36:56 +00:00
9b24fc7087 Added config.sub 1991-09-01 03:47:07 +00:00
02757e591c Changed the word binutils to 'the linker' 1991-09-01 03:42:05 +00:00
e4899eb809 Welcome emacs to the mess. 1991-08-31 03:54:38 +00:00
7307c104b3 Retract last edit. System type should determine whether this file gets loaded
at all.
1991-08-31 02:01:17 +00:00
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
9f2673804c Add in sysv configuration stuff. 1991-08-31 01:38:08 +00:00
5fad8bf967 Merge in irix support. 1991-08-31 00:59:29 +00:00
9712c6e200 Merge in irix support. 1991-08-31 00:54:16 +00:00
faaaea3c2a Merge in irix support. 1991-08-31 00:43:36 +00:00
625453dcfd Merge in irix support. 1991-08-31 00:31:30 +00:00
bceb2dded1 Merge in irix support. 1991-08-30 23:18:06 +00:00
20ccfb0996 paperwork handled for AMD Coff. 1991-08-29 00:35:06 +00:00
4d84d6ad73 Paperwork handled for AMD Coff. 1991-08-29 00:34:45 +00:00
662e94343e Backing out last round of changes. 1991-08-28 21:56:58 +00:00
b678740d04 Update to current standards. 1991-08-28 21:49:12 +00:00
dae50edd99 Better error reporting on missing local labels. 1991-08-28 21:38:48 +00:00
feb4df71a5 Error out on unrecognized options. 1991-08-27 23:10:19 +00:00
1b7ed4c994 Added config.sub 1991-08-27 00:21:34 +00:00
5710dc3779 Correcting install target when gcc not present. 1991-08-26 04:45:57 +00:00
d1477ba8d6 Welcome cvs to the big time. 1991-08-26 04:29:33 +00:00