aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
commite1ce8aa5ed46310d716472d19d2e87da2833d599 (patch)
treecacaf1a83d8e388b049c2b3bc454f311dd34b6e2 /gdb/target.c
parent04a0511c0af3d07f7b4587fbf4715d2b956f1fad (diff)
downloadgdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.zip
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.gz
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.bz2
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 53e9de1..a23c910 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -76,18 +76,15 @@ struct target_ops **current_target_stack;
static struct cmd_list_element *targetlist = NULL;
-/* Docstring for target (as in "help target"). */
-
-static char *target_doc = NULL;
-
/* The user just typed 'target' without the name of a target. */
+/* ARGSUSED */
static void
target_command (arg, from_tty)
char *arg;
int from_tty;
{
- fputs_filtered ("Argument required (target name).", stdout);
+ fputs_filtered ("Argument required (target name).\n", stdout);
}
/* Add a possible target architecture to the list. */
@@ -160,6 +157,7 @@ noprocess ()
error ("You can't do that without a process to debug");
}
+/* ARGSUSED */
static int
nosymbol (name, addrp)
char *name;
@@ -168,6 +166,7 @@ nosymbol (name, addrp)
return 1; /* Symbol does not exist in target env */
}
+/* ARGSUSED */
static void
default_terminal_info (args, from_tty)
char *args;
@@ -214,6 +213,7 @@ static void
kill_or_be_killed (from_tty)
int from_tty;
{
+ /* FIXME: What is savecur for? Why isn't it used? */
struct target_ops *savecur;
if (target_has_execution)
@@ -467,6 +467,7 @@ bump:
}
+/* ARGSUSED */
static void
target_info (args, from_tty)
char *args;