aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
AgeCommit message (Collapse)AuthorFilesLines
1992-06-29 * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,Fred Fish1-2/+2
symtab.h, tm-i386v4.h, valprint.c, values.c: Lint. * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c, findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c, putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c: Replace bcopy() use with memcpy(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c, ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h, target.c, values.c: Replace bzero() use with memset(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * i386-tdep.c, main.c, valprint.c: Replace bcmp() use with memcmp(), which is more standard and can take advantage of gcc's builtin functions for increased performance.
1992-06-24 * Makefile.in (VERSION): Bump to 4.5.6.Fred Fish1-2/+4
* coffread.c (coff_end_symtab): Cast 2nd arg of complain() to correct type. * defs.h (NORETURN): Define away for Lucid compiler. * remote.c (remote_timer, remote_interrupt): Signal handlers take one int arg. * ser-termios.c (serial_write, serial_close): Return whatever value the write/close call returns, rather than falling off end. * inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on more systems than it is "char *". Define PTRACE_ARG3_TYPE to default to int. * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c, inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type of third arg. * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c, m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c, pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace argument 3. * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers, store_inferior_registers): Supply missing fourth argument to ptrace().
1992-06-23 * infrun.c (wait_for_inferior): Don't test for SIGEMTPer Bothner1-38/+41
(which is not a Posix signal) if it isn't defined. * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in: New port to Linux (a free Unix clone for 386 machines).
1992-04-01Many changes to procfs.c, mostly to expand the "info proc" command and toFred Fish1-4/+31
fix a couple of small bugs. Changes to other files mostly to fix minor things pointed out by the SGI compiler. See ChangeLog for complete details.
1992-03-29Merged in latest RS6000 diffs from Metin G. Ozisik.Per Bothner1-4/+19
1992-03-15Globs of changes. See the ChangeLog for details. Most related toFred Fish1-3/+3
using the new mmalloc package.
1992-03-03Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)Michael Tiemann1-137/+123
* 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-02-29Mostly rs6000 changes from IBM.Per Bothner1-5/+5
1992-02-22* infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,Stu Grossman1-113/+212
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
1991-12-14Fix miscellaneous comparisons of integer with NULL that elicit compilerFred Fish1-3/+4
warnings about comparisons of integer with pointer when NULL is defined as ((void *) 0) rather than just a bare 0.
1991-11-18Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,John Gilmore1-32/+1
since it was always defined exactly the same in all of them.
1991-11-01* infrun.c (wait_for_inferior): another stepi/nexti fix. EnsureStu Grossman1-3/+2
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-10-24When using SVR4 /proc interface, call proc_set_exec_trap() rather thanFred Fish1-0/+4
ptrace(), to arrange for child to stop on first instruction.
1991-10-24System V versions must call setpgrp() with no arguments, to comply withFred Fish1-0/+4
prototyping typically in <unistd.h>. Otherwise the compile fails, at least with gcc.
1991-10-23* infrun.c (wait_for_inferior): Check return value fromStu Grossman1-2/+3
find_pc_line.
1991-10-22* infrun.c (wait_for_inferior): fix stepi/nexti that was brokenStu Grossman1-3/+32
by my last edit to this routine.
1991-09-28* infrun.c (wait_for_inferior): Don't check if the PC is in aJohn Gilmore1-1/+7
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-25IN_SIGTRAMP bugfix.John Gilmore1-2/+2
1991-09-17Small fixes from Peter Schauer:John Gilmore1-7/+12
* infrun.c (child_attach): Lint. * solib.c (find_solib): Handle shared libs version 2.
1991-09-04Make writing to files work properly. (Fixes to BFD are also needed.)John Gilmore1-13/+24
* 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-08-02Roll VERSION to 3.98.1. Use path to find $SHELL in "run" command.John Gilmore1-7/+24
1991-05-30Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.John Gilmore1-1/+41
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-0/+1
Look at the ChangeLog for Apr 30 and May 1.
1991-04-29 * infrun.c: Don't include sys/user.h and friends (wrong forJim Kingdon1-9/+3
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-24 * infun.c (resume, resume_cleanups): New functions.Jim Kingdon1-6/+35
(wait_for_inferior, proceed, child_create_inferior): Use resume not target_resume.
1991-04-22Check for NULL selected_frame in various places.Jim Kingdon1-0/+2
1991-04-20 infrun.c (start_remote): Also call wait_for_inferior & normal_stop.Jim Kingdon1-0/+2
1991-03-28Initial revisionK. Richard Pixley1-0/+1690
1990-09-05Initial revisionJohn Gilmore1-1444/+0
2012-06-03gdb-3.5gdb-3.51-4/+22
2012-06-03gdb-3.4gdb-3.41-4/+30
2012-06-03gdb-3.3gdb-3.31-153/+162
2012-06-03gdb-3.1gdb-3.11-392/+592
2012-06-03gdb-2.8.1gdb-2.8.11-10/+172
2012-06-03gdb-2.8gdb-2.81-23/+65
2012-06-03gdb-2.5.1gdb-2.5.11-3/+47
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+943