summaryrefslogtreecommitdiff
path: root/gdb/inflow.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGETStu Grossman1993-11-051-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.
* Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1993-11-011-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.
* * inflow.c: Pass pointer to process group, not process group itself,Jim Kingdon1993-10-141-2/+2
| | | | to TIOCSPGRP ioctl.
* * inflow.c (terminal_ours_1): Don't print warning on failure toJim Kingdon1993-10-131-3/+6
| | | | set process group.
* * inflow.c: Use 0 (standard input) not scb->fd.Jim Kingdon1993-10-121-4/+8
| | | | | (terminal_ours_1): If printing warning, don't claim it happened in terminal_inferior.
* * inflow.c: Remove unused includes of sys/param.h, etc.Jim Kingdon1993-10-081-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.
* * breakpoint.c, breakpoint.h (breakpoint_init_inferior): New functionJim Kingdon1993-10-071-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.
* * target.c (target_detach): Call generic_mourn_inferior.Jim Kingdon1993-09-291-17/+26
| | | | * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
* * inflow.c (pass_signal): Signal handlers take one int arg;Fred Fish1993-08-051-266/+211
| | | | | supply an unused one to make it type compatible as an arg to signal().
* * Makefile.in (VERSION): Bump to 4.5.6.Fred Fish1992-06-241-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().
* * core.c, exec.c, solib.c: Rename target_ops sections =>John Gilmore1992-02-211-3/+2
| | | | | | to_sections, etc. * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, target.h: target_kill takes no args.
* gdb-pend/620Stu Grossman1992-01-141-4/+11
| | | | | * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines that reference pgrp_inferior.
* Supply missing '"' character.Fred Fish1991-12-051-1/+1
|
* Fix things pointed up by Fred Fish's test suite; see ChangeLog.John Gilmore1991-12-051-41/+81
|
* * defs.h: Incorporate param.h. All users changed.John Gilmore1991-11-211-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.
* * core.c (core_file_command): Print frame at coredump withJohn Gilmore1991-09-111-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.
* * inflow.c (new_tty_prefork, new_tty): New prefork routineJohn Gilmore1991-08-141-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.
* Check for NULL selected_frame in various places.Jim Kingdon1991-04-221-3/+15
|
* Initial revisionK. Richard Pixley1991-03-281-0/+478
|
* Initial revisionJohn Gilmore1990-09-051-549/+0
|
* gdb-3.5gdb-3.52012-06-031-2/+5
|
* gdb-3.4gdb-3.42012-06-031-1/+14
|
* gdb-3.3gdb-3.32012-06-031-50/+70
|
* gdb-3.1gdb-3.12012-06-031-593/+98
|
* gdb-2.8.1gdb-2.8.12012-06-031-10/+82
|
* gdb-2.8gdb-2.82012-06-031-27/+310
|
* gdb-2.5.1gdb-2.5.12012-06-031-102/+94
|
* gdb-2.4+.aux.coffgdb-2.4+.aux.coff2012-06-031-0/+661