Commit graph

333 commits

Author SHA1 Message Date
Per Bothner
1eeba68641 Merged in latest RS6000 diffs from Metin G. Ozisik. 1992-03-29 22:33:35 +00:00
Fred Fish
318bf84ffe Globs of changes. See the ChangeLog for details. Most related to
using the new mmalloc package.
1992-03-15 01:09:14 +00:00
Michael Tiemann
d747e0af3d Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h.
	(defs.h): #include stdio.h.

This has been tested by building GDBs for all targets hosted on Sun4.
None of the build problems were related to stdio.h inclusion.  (n.b.
many configurations don't build for other reasons.)
1992-03-03 23:26:26 +00:00
Per Bothner
818de002b6 Mostly rs6000 changes from IBM. 1992-02-29 06:03:43 +00:00
Stu Grossman
30875e1c4b * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h:  Add support for
stepping (and nexting) through longjmp().  Also, cleanup
breakpoint handling quite a bit by creating explicit breakpoint
types instead of using magic breakpoint numbers.
Makefile.in:  Update version to 4.4.3
1992-02-22 09:06:58 +00:00
Fred Fish
619fd1455b Fix miscellaneous comparisons of integer with NULL that elicit compiler
warnings about comparisons of integer with pointer when NULL is defined
as ((void *) 0) rather than just a bare 0.
1991-12-14 00:13:05 +00:00
John Gilmore
e140f1dab1 Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
since it was always defined exactly the same in all of them.
1991-11-18 23:52:12 +00:00
Stu Grossman
d7d1098dca * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure
that stop_step is 1 at bottom of main loop.  I don't know why this
needs to be done, but it helps me sleep better at night.
1991-11-01 02:16:20 +00:00
Fred Fish
63ac7ef33f When using SVR4 /proc interface, call proc_set_exec_trap() rather than
ptrace(), to arrange for child to stop on first instruction.
1991-10-24 10:47:11 +00:00
Fred Fish
150f543625 System V versions must call setpgrp() with no arguments, to comply with
prototyping typically in <unistd.h>.  Otherwise the compile fails, at
least with gcc.
1991-10-24 09:26:05 +00:00
Stu Grossman
2e393ce478 * infrun.c (wait_for_inferior): Check return value from
find_pc_line.
1991-10-23 01:06:36 +00:00
Stu Grossman
b3b39c0c76 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
1991-10-22 00:50:58 +00:00
John Gilmore
b7f81b5781 * infrun.c (wait_for_inferior): Don't check if the PC is in a
call_dummy if we were stopped by a random signal that is being
passed to the program.  This produced wierd results when calling
functions in the inferior and signals (e.g. SIGALRM) were in use.
1991-09-28 11:26:43 +00:00
John Gilmore
680c9dfa72 IN_SIGTRAMP bugfix. 1991-09-25 01:09:15 +00:00
John Gilmore
1515ff18db Small fixes from Peter Schauer:
* infrun.c (child_attach):  Lint.
* solib.c (find_solib):  Handle shared libs version 2.
1991-09-17 00:25:07 +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
John Gilmore
3b271cf4c0 Roll VERSION to 3.98.1. Use path to find $SHELL in "run" command. 1991-08-02 07:15:20 +00:00
John Gilmore
d11c44f1ee Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog. 1991-05-30 08:52:52 +00:00
Jim Kingdon
e1ce8aa5ed The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02 04:28:42 +00:00
Jim Kingdon
79043f9ee8 * infrun.c: Don't include sys/user.h and friends (wrong for
cross-debugging and not necessary anymore (see IN_SIGTRAMP in
	xm-vax.h)).
	[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
	xm-tahoe.h: Don't define _DIRENT_.

	* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
	includes sgtty.h before sys/ioctl.h).
1991-04-29 20:54:42 +00:00
Jim Kingdon
a71d17b1ac * infun.c (resume, resume_cleanups): New functions.
(wait_for_inferior, proceed, child_create_inferior): Use resume
	not target_resume.
1991-04-24 19:17:58 +00:00
Jim Kingdon
777bef06cd Check for NULL selected_frame in various places. 1991-04-22 20:08:53 +00:00
Jim Kingdon
98885d766e infrun.c (start_remote): Also call wait_for_inferior & normal_stop. 1991-04-20 03:59:44 +00:00
K. Richard Pixley
bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00
John Gilmore
831c851165 Initial revision 1990-09-05 17:54:31 +00:00
gdb-3.5
7a67dd45ca gdb-3.5 2012-06-03 15:36:32 +01:00
gdb-3.4
1c997a4ae8 gdb-3.4 2012-06-03 15:36:32 +01:00
gdb-3.3
4187119d59 gdb-3.3 2012-06-03 15:36:32 +01:00
gdb-3.1
e91b87a368 gdb-3.1 2012-06-03 15:36:31 +01:00
gdb-2.8.1
bb7592f010 gdb-2.8.1 2012-06-03 15:36:31 +01:00
gdb-2.8
3bf57d2108 gdb-2.8 2012-06-03 15:36:31 +01:00
gdb-2.5.1
632ea0ccc5 gdb-2.5.1 2012-06-03 15:36:30 +01:00
gdb-2.4+.aux.coff
7b4ac7e1ed gdb-2.4+.aux.coff 2012-06-03 15:36:30 +01:00