aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-12-15 18:12:37 +0000
committerIan Lance Taylor <ian@airs.com>1992-12-15 18:12:37 +0000
commit117f631e54876035af27162ca11ea4e06601c8da (patch)
tree2039ab0178d57eddf92e438484051f241063c1f6 /gdb/exec.c
parent51b80b0072e928c9163087e1fcbc71e52301f524 (diff)
downloadgdb-117f631e54876035af27162ca11ea4e06601c8da.zip
gdb-117f631e54876035af27162ca11ea4e06601c8da.tar.gz
gdb-117f631e54876035af27162ca11ea4e06601c8da.tar.bz2
Tue Dec 15 10:05:56 1992 Ian Lance Taylor (ian@cygnus.com)
* coffread.c (decode_type): catch negative tagndx fields generated by SCO 3.2v4 cc. * exec.c: comment out string following #endif. * configure.in (i[34]86-*-sco3.2v4*): use host i386sco4. * xm-i386sco.h: include <sys/types.h> and <sys/dir.h>, required by <sys/user.h>. * config/i386sco4.mh: new file; like i386sco.mh, but don't require gcc, and define const to empty to avoid SCO 3.2v4 cc bug.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 9e61675..ef78097 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -180,7 +180,7 @@ exec_file_command (args, from_tty)
(*exec_file_display_hook) (filename);
}
else if (from_tty)
- printf_filtered ("No exec file now.\n");
+ printf ("No exec file now.\n");
}
/* Set both the exec file and the symbol file, in one command.
@@ -329,7 +329,7 @@ xfer_memory (memaddr, myaddr, len, write, target)
wanna_xfer = coredata;
}
#endif /* REG_STACK_SEGMENT */
-#endif FIXME
+#endif /* FIXME */
void
print_section_info (t, abfd)
@@ -408,7 +408,7 @@ struct target_ops exec_ops = {
"Use an executable file as a target.\n\
Specify the filename of the executable file.",
exec_file_command, exec_close, /* open, close */
- child_attach, 0, 0, 0, /* attach, detach, resume, wait, */
+ find_default_attach, 0, 0, 0, /* attach, detach, resume, wait, */
0, 0, /* fetch_registers, store_registers, */
0, /* prepare_to_store, */
xfer_memory, exec_files_info,
@@ -416,8 +416,10 @@ Specify the filename of the executable file.",
0, 0, 0, 0, 0, /* terminal stuff */
0, 0, /* kill, load */
0, /* lookup sym */
- child_create_inferior,
+ find_default_create_inferior,
0, /* mourn_inferior */
+ 0, /* can_run */
+ 0, /* notice_signals */
file_stratum, 0, /* next */
0, 1, 0, 0, 0, /* all mem, mem, stack, regs, exec */
0, 0, /* section pointers */