* infrun.c, inftarg.c, inferior.h: Comment and lint cleanups.
This commit is contained in:
parent
fe86a81703
commit
3aa6856ae8
4 changed files with 20 additions and 18 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Sep 25 18:48:20 1992 John Gilmore (gnu@cygnus.com)
|
||||
|
||||
* infrun.c, inftarg.c, inferior.h: Comment and lint cleanups.
|
||||
|
||||
Fri Sep 25 15:13:44 1992 Stu Grossman (grossman at cygnus.com)
|
||||
|
||||
* tm-sparc.h, dbxread.c (read_ofile_symtab): Install Jim Wilson's
|
||||
|
|
|
@ -122,6 +122,8 @@ close_exec_file PARAMS ((void));
|
|||
extern void
|
||||
reopen_exec_file PARAMS ((void));
|
||||
|
||||
/* The `resume' routine should only be called in special circumstances.
|
||||
Normally, use `proceed', which handles a lot of bookkeeping. */
|
||||
extern void
|
||||
resume PARAMS ((int, int));
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
/* Target independent code for starting (run) and stoping an inferior
|
||||
process.
|
||||
|
||||
/* Target-struct-independent code to start (run) and stop an inferior process.
|
||||
Copyright 1986, 1987, 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
@ -146,8 +144,6 @@ insert_step_breakpoint PARAMS ((void));
|
|||
static void
|
||||
resume_cleanups PARAMS ((int));
|
||||
|
||||
extern struct target_ops child_ops; /* In inftarg.c */
|
||||
|
||||
/* Sigtramp is a routine that the kernel calls (which then calls the
|
||||
signal handler). On most machines it is a library routine that
|
||||
is linked into the executable.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* This file inplements the host independent child process statum.
|
||||
|
||||
/* Target-vector operations for controlling Unix child processes, for GDB.
|
||||
Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
|
@ -61,6 +60,9 @@ child_create_inferior PARAMS ((char *, char *, char **));
|
|||
static void
|
||||
child_mourn_inferior PARAMS ((void));
|
||||
|
||||
static int
|
||||
child_can_run PARAMS ((void));
|
||||
|
||||
extern char **environ;
|
||||
|
||||
/* Forward declaration */
|
||||
|
@ -154,16 +156,14 @@ child_attach (args, from_tty)
|
|||
#endif /* ATTACH_DETACH */
|
||||
}
|
||||
|
||||
/*
|
||||
* child_detach()
|
||||
* takes a program previously attached to and detaches it.
|
||||
* The program resumes execution and will no longer stop
|
||||
* on signals, etc. We better not have left any breakpoints
|
||||
* in the program or it'll die when it hits one. For this
|
||||
* to work, it may be necessary for the process to have been
|
||||
* previously attached. It *might* work if the program was
|
||||
* started via the normal ptrace (PTRACE_TRACEME).
|
||||
*/
|
||||
|
||||
/* Take a program previously attached to and detaches it.
|
||||
The program resumes execution and will no longer stop
|
||||
on signals, etc. We'd better not have left any breakpoints
|
||||
in the program or it'll die when it hits one. For this
|
||||
to work, it may be necessary for the process to have been
|
||||
previously attached. It *might* work if the program was
|
||||
started via the normal ptrace (PTRACE_TRACEME). */
|
||||
|
||||
static void
|
||||
child_detach (args, from_tty)
|
||||
|
@ -459,7 +459,7 @@ child_can_run ()
|
|||
{
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
struct target_ops child_ops = {
|
||||
"child", /* to_shortname */
|
||||
"Unix child process", /* to_longname */
|
||||
|
|
Loading…
Reference in a new issue