aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
AgeCommit message (Collapse)AuthorFilesLines
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-7/+7
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2001-02-25Replace calls to abort() with calls to internal_error().Kevin Buettner1-2/+2
2001-02-14* inflow.c (terminal_ours_1): Initialize ``osigtou''. OnlyAndrew Cagney1-1/+3
declare when have SIGTTOU.
2001-02-06* signals.h: Removed.J.T. Conklin1-1/+0
* event-top.c (#include <signal.h>): Changed from signals.h. * inflow.c: Likewise. * mac-xdep.c: Likewise. * ser-pipe.c: Likewise. * ser-tcp.c: Likewise. * standalone.c: Likewise. * top.c: Likewise. * utils.c: Likewise. * Makefile.in: Removed signals.h from dependencies.
2000-12-15Replace free() with xfree().Kevin Buettner1-2/+2
2000-07-30Protoization.Kevin Buettner1-33/+22
2000-05-28PARAMS removal.Kevin Buettner1-10/+6
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-0/+4
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-1/+2
1999-09-22import gdb-1999-09-21Jason Molenda1-1/+1
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-3/+0
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-91/+112
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-0/+2
1999-04-26import gdb-19990422 snapshotStan Shebs1-0/+3
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+751
1999-04-16Initial creation of sourceware repositoryStan Shebs1-737/+0
1996-07-26See gdb ChangeLog entry with header:Fred Fish1-0/+9
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-17Changes from the FSF for Hurd thread support.Stu Grossman1-26/+33
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin1-1/+1
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-07-31* configure.in: Check for unistd.h.J.T. Conklin1-7/+18
* configure: Regenerated. * command.c, cp-valprint.c, fork-child.c, i386-tdep.c, i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c, source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h and/or unistd.h to bring prototypes into scope.
1994-08-02* inflow.c (kill_command): Fix a bug which prevented targetJ.T. Conklin1-2/+1
programs to be killed.
1994-07-29 From Kevin A. Buettner (kev@cujo.geg.mot.com).Fred Fish1-1/+1
* Makefile.in (coredep.o): Add inferior.h as dependency. * inflow.c: Add F_SETOWN to list of defines to check around code that uses F_SETOWN.
1994-07-23 * Makefile.in: Add stuff to build nlmstub.Stu Grossman1-1/+62
* Add rule for annotate.o to keep Sun make happy. * configure.in: Add config for powerpc/Netware. * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null filename. This speeds up handling of trailing N_SO stabs (they mark the end of a .o file). * target.c, target.h: Change the way pushing and popping of targets work to support target overlays and inheritance. * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: Fixup references to current_target, due to previous changes. * config/i386/tm-i386nw.h: Enable longjmp support. More work is needed to get the address of longjmp out of the target.
1994-05-14Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-33/+0
* inflow.c (job_control, attach_flag, generic_mourn_inferior): Remove, needed for both native and cross. * target.c (attach_flag, generic_mourn_inferior): Put here. * utils.c (job_control): Put here. (terminal.h): Don't include anymore.
1994-05-10Trivial change to prepare for a real oneStan Shebs1-4/+17
1993-11-05 * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGETStu Grossman1-0/+4
macro to set process groups. * infptrace.c (child_resume): Temporarily use Lynx PIDGET to specify resumption of all threads. * infrun.c (wait_for_inferior): Fix handling of thread-specific breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup PC by the right amount when continuing the thread). * thread.c (thread_apply_command): Add the `thread apply' command to apply a given GDB command to a list of threads.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-3/+9
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-10-14 * inflow.c: Pass pointer to process group, not process group itself,Jim Kingdon1-2/+2
to TIOCSPGRP ioctl.
1993-10-13 * inflow.c (terminal_ours_1): Don't print warning on failure toJim Kingdon1-3/+6
set process group.
1993-10-12 * inflow.c: Use 0 (standard input) not scb->fd.Jim Kingdon1-4/+8
(terminal_ours_1): If printing warning, don't claim it happened in terminal_inferior.
1993-10-08 * inflow.c: Remove unused includes of sys/param.h, etc.Jim Kingdon1-18/+146
* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h, terminal.h: Move all the process group stuff back to inflow.c; that's a better place for it and fixes problems with trying to get/set the process group of a tty we're doing remote debugging on. * terminal.h: Skip the redefine crap if HAVE_TERMIOS.
1993-10-07 * breakpoint.c, breakpoint.h (breakpoint_init_inferior): New functionJim Kingdon1-10/+3
that clears the `inserted' flag for all breakpoints and deletes any breakpoints which should go away between runs of programs. * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior), remote-es.c (es1800_load), comments in exec.c and corelow.c: Use it instead of mark_breakpoints_out. * breakpoint.c (mark_breakpoints_out): Update comment, tm-rs6000.h uses it in a completely different context. * breakpoint.c (breakpoint_re_set_one): Add bp_call_dummy case.
1993-09-29 * target.c (target_detach): Call generic_mourn_inferior.Jim Kingdon1-17/+26
* inflow.c (generic_mourn_inferior): Call flush_cached_frames.
1993-08-05 * inflow.c (pass_signal): Signal handlers take one int arg;Fred Fish1-266/+211
supply an unused one to make it type compatible as an arg to signal().
1992-06-24 * Makefile.in (VERSION): Bump to 4.5.6.Fred Fish1-11/+35
* 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-02-21* core.c, exec.c, solib.c: Rename target_ops sections =>John Gilmore1-3/+2
to_sections, etc. * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, target.h: target_kill takes no args.
1992-01-14gdb-pend/620Stu Grossman1-4/+11
* inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines that reference pgrp_inferior.
1991-12-05Supply missing '"' character.Fred Fish1-1/+1
1991-12-05Fix things pointed up by Fred Fish's test suite; see ChangeLog.John Gilmore1-41/+81
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-8/+17
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. * param.h, param-no-tm.h: Removed. * Update copyrights in all changed files. * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, solib.c, symtab.h, tm-umax.h, valprint.c: Lint. * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, xm-merlin.h: Avoid host include files in target descriptions. * getpagesize.h: Removed, libiberty copes now.
1991-09-11* core.c (core_file_command): Print frame at coredump withJohn Gilmore1-2/+2
its level number, by calling print_stack_frame. * frame.h: Add selected_frame_level, print_stack_frame. * frame.h, stack.c: Remove print_sel_frame, print_selected_frame. * convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c: Change print_sel_frame and print_selected_frame callers to print_stack_frame. * dbxread.c (read_ofile_symtab): Avoid empty else clause. * symfile.c (free_named_symtabs): Ditto. * main.c (main): wrap_here needs an arg. * solib.c (find_solib): Avoid memory access if _DYNAMIC is zero. (solib_add): Avoid noise. (solib_create_inferior_hook): Lint. (sharedlibrary_command): Move dont_repeat to here. * utils.c (error): Call wrap_here to force buffered output. Small patches from Peter Schauer: * coffread.c (start_symtab): Free any existing line_vector before malloc-ing new one. (read_coff_symtab): Ditto for type_vector. * source.c (lines_to_list): New variable, replacing function. (all uses): Use as variable. (_initialize_source): Add 'set listsize' and 'show listsize'. * utils.c (lines_to_list): Remove function. * stack.c (print_frame_info): Use as variable. * defs.h (lines_to_list): Remove declaration.
1991-08-14 * inflow.c (new_tty_prefork, new_tty): New prefork routineJohn Gilmore1-17/+26
modifies static state in the parent process; new_tty itself runs in the child and modifies the child's file descriptors to match the saved static state. * infrun.c (child_create_inferior): Call new_tty_prefork, fork, then new_tty.
1991-04-22Check for NULL selected_frame in various places.Jim Kingdon1-3/+15
1991-03-28Initial revisionK. Richard Pixley1-0/+478
1990-09-05Initial revisionJohn Gilmore1-549/+0
2012-06-03gdb-3.5gdb-3.51-2/+5
2012-06-03gdb-3.4gdb-3.41-1/+14
2012-06-03gdb-3.3gdb-3.31-50/+70
2012-06-03gdb-3.1gdb-3.11-593/+98