aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-06-03gdb-2.8.1gdb-2.8.11-10/+82
2012-06-03gdb-2.8gdb-2.81-27/+310
2012-06-03gdb-2.5.1gdb-2.5.11-102/+94
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+661