aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
AgeCommit message (Collapse)AuthorFilesLines
1994-03-26 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minorJim Kingdon1-34/+77
changes to make it compile (it doesn't link yet).
1994-02-06 * config/mips/mipsm3.mh, config/i386/i386m3.mh,Jim Kingdon1-2/+10
config/ns32k/ns32km3.mh: Define NAT_FILE. * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H (it was inconsistent and namespace-wrong) to NM_M3_H. * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. (m3_open): New function. (m3_ops): Use it. * TODO: Update Mach section. * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1994-01-22 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.Jim Kingdon1-1/+1
* procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior), m3-nat.c (m3_create_inferior): Pass it. * procfs.c: Remove ptrace function. It was declared in a way which conflicted with the prototype in unistd.h on Solaris.
1994-01-04 * target.h: Add enum target_waitkind, enum target_signal, andJim Kingdon1-14/+16
struct target_waitstatus. Change status argument to target_wait to be struct target_waitstatus * instead of int *. * target.h, infrun.c, all targets: Change type of signal arguments to resume(), proceed(), and target_resume() from int to enum target_signal. * All targets (*_wait, *_resume): Change accordingly. * infcmd.c (program_info, signal_command), throughout infrun.c, * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex signal code stuff right with the new signals would be non-trivial). * inferior.h (stop_signal): Make it enum target_signal not int. * target.c, target.h (target_signal_to_string, target_signal_to_name, target_signal_from_name): New functions. * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, store_waitstatus): New functions. * procfs.c (procfs_notice_signals): Use them. * i960-tdep.c (i960_fault_to_signal): New function, to replace print_fault. * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-13/+13
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-27 * fork-child.c (fork_inferior): Set inferior_pid before callingJim Kingdon1-0/+3
init_trace_fun. Move the code which gets us through the shell to new function startup_inferior. * inferior.h: Declare startup_inferior. * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him): Call startup_inferior. * m3-nat.c (m3_trace_him): Call intercept_exec_calls. * config/nm-m3.h: Don't define STARTUP_INFERIOR. * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h, config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
1993-10-25 * gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,Jim Kingdon1-2/+2
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
1993-10-15 * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),Jim Kingdon1-161/+228
remote-mon.c (monitor_create_inferior), remote-nindy.c (nindy_create_inferior), remote-st.c (st2000_create_inferior), remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it is replaced by init_trace_fun. * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex port. * Makefile.in: Add Mach files to ALLDEPFILES, etc. * m3-nat.c: Clean up more hair--message(), cprocs. * configure.in: Recognize Mach targets and hosts. * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can include this file. * Mach headers in config/*/tm-*.h: Fix includes to match correct locations of files.
1993-10-11 * m3-nat.c, config/nm-m3.h: Add a target_ops struct and otherJim Kingdon1-105/+273
various things to try to get this to work.
1993-10-07 New Mach stuff:Jim Kingdon1-0/+4318
* config/i386/i386mach.c: Explain this is for the old (probably non-functional and/or obsolete) Mach stuff. * m3-nat.c, config/nm-m3.h, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c, config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h}, config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h}, config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h}, config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}: New files.
1993-10-07new for machJim Kingdon1-0/+0