Commit graph

945 commits

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