mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
* config/mips/mipsm3.mh, config/i386/i386m3.mh,
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.
This commit is contained in:
12
gdb/m3-nat.c
12
gdb/m3-nat.c
@ -1211,7 +1211,7 @@ int mach_really_waiting;
|
||||
Returns the inferior_pid for rest of gdb.
|
||||
Side effects: Set *OURSTATUS. */
|
||||
int
|
||||
mach_really_wait (w)
|
||||
mach_really_wait (ourstatus)
|
||||
struct target_waitstatus *ourstatus;
|
||||
{
|
||||
int pid;
|
||||
@ -4225,6 +4225,14 @@ m3_detach (args, from_tty)
|
||||
}
|
||||
#endif /* ATTACH_DETACH */
|
||||
|
||||
static void
|
||||
m3_open (arg, from_tty)
|
||||
char *arg;
|
||||
int from_tty;
|
||||
{
|
||||
error ("Use the \"run\" command to start a Unix child process.");
|
||||
}
|
||||
|
||||
#ifdef DUMP_SYSCALL
|
||||
#ifdef __STDC__
|
||||
#define STR(x) #x
|
||||
@ -4445,7 +4453,7 @@ struct target_ops m3_ops = {
|
||||
"mach", /* to_shortname */
|
||||
"Mach child process", /* to_longname */
|
||||
"Mach child process (started by the \"run\" command).", /* to_doc */
|
||||
??_open, /* to_open */
|
||||
m3_open, /* to_open */
|
||||
0, /* to_close */
|
||||
m3_attach, /* to_attach */
|
||||
m3_detach, /* to_detach */
|
||||
|
Reference in New Issue
Block a user