aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-15 13:42:10 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-15 13:42:10 +0000
commit327f7197b0cf72996628cdca53d64914e366c585 (patch)
tree01f0cd1e9082facaa527437ccda7871a7e4553b5
parentd5931d797dee8c07bb112be83593ca79b61ae43b (diff)
downloadgdb-327f7197b0cf72996628cdca53d64914e366c585.zip
gdb-327f7197b0cf72996628cdca53d64914e366c585.tar.gz
gdb-327f7197b0cf72996628cdca53d64914e366c585.tar.bz2
* Makefile.in (VERSION): Roll to 4.6.8.
(OBS): Put version.o first, so Makefile rebuild happens early. * command.h: Publicize prototype for not_just_help_class_command. * command.c: Remove proto. * maint.c: Mark "mt" as an abbrev, to avoid duplicated help output. Move "maint info" from class info to class maintenance, and improve text. * infrun.c: Move "stop" to class_obscure, and give it a function so it will not be seen as a global help topic. FIXME, it should be possible to set these attributes independently. * core.c (core_command): Make nicer error message for no core support.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/Makefile.in6
-rw-r--r--gdb/command.c3
-rw-r--r--gdb/core.c3
-rw-r--r--gdb/maint.c6
5 files changed, 12 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2f1ca49..5dc671f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -5,10 +5,10 @@ Thu Oct 15 02:59:30 1992 John Gilmore (gnu@cygnus.com)
* command.h: Publicize prototype for not_just_help_class_command.
* command.c: Remove proto.
- * maint.c (maintenance_init): Mark "mt" as an abbrev, to avoid
- duplicated help output. Move "maint info" from class info to
- class maintenance, and improve text.
- * infrun.c (): Move "stop" to class_obscure, and give it a
+ * maint.c: Mark "mt" as an abbrev, to avoid duplicated help
+ output. Move "maint info" from class info to class maintenance,
+ and improve text.
+ * infrun.c: Move "stop" to class_obscure, and give it a
function so it will not be seen as a global help topic. FIXME,
it should be possible to set these attributes independently.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 19d8674..b31deec 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -166,7 +166,7 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${NAT_CDEPS} \
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
-VERSION = 4.6.7
+VERSION = 4.6.8
DIST=gdb
LINT=/usr/5bin/lint
@@ -286,10 +286,10 @@ TAGFILES_MAINDIR = $(SFILES_MAINDIR) $(ALLDEPFILES_MAINDIR) \
${HFILES} ${ALLPARAM} ${POSSLIBS_MAINDIR}
TARFILES = ${TAGFILES_MAINDIR} ${OTHERS} ${REMOTE_EXAMPLES}
-OBS = main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
+OBS = version.o main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
values.o eval.o valops.o valarith.o valprint.o printcmd.o \
symtab.o symfile.o symmisc.o infcmd.o infrun.o remote.o \
- command.o utils.o expprint.o environ.o version.o gdbtypes.o \
+ command.o utils.o expprint.o environ.o gdbtypes.o \
copying.o $(DEPFILES) mem-break.o target.o \
ieee-float.o putenv.o parse.o language.o $(YYOBJ) \
buildsym.o objfiles.o minsyms.o maint.o demangle.o \
diff --git a/gdb/command.c b/gdb/command.c
index 92d83ec..9c19433 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -45,9 +45,6 @@ parse_binary_operation PARAMS ((char *));
static void
print_doc_line PARAMS ((FILE *, char *));
-extern void
-not_just_help_class_command PARAMS ((char *, int));
-
/* Add element named NAME to command list *LIST.
FUN should be the function to execute the command;
it will get a character string as argument, with leading
diff --git a/gdb/core.c b/gdb/core.c
index 2b45c1c..ca52e39 100644
--- a/gdb/core.c
+++ b/gdb/core.c
@@ -48,6 +48,7 @@ core_file_command (filename, from_tty)
int from_tty;
{
struct target_ops *t;
+
dont_repeat (); /* Either way, seems bogus. */
t = find_core_target ();
@@ -57,7 +58,7 @@ core_file_command (filename, from_tty)
else
(t->to_open) (filename, from_tty);
else
- error ("unimplemented: core files");
+ error ("GDB can't read core files on this machine.");
}
diff --git a/gdb/maint.c b/gdb/maint.c
index aff04b1..9a37fe0 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -167,10 +167,10 @@ to test internal functions such as the C++ demangler, etc.",
&maintenancelist, "maintenance ", 0,
&cmdlist);
- add_com_alias ("mt", "maintenance", class_maintenance, 0);
+ add_com_alias ("mt", "maintenance", class_maintenance, 1);
- add_prefix_cmd ("info", class_info, maintenance_info_command,
- "Commands for showing things about the program being debugged.",
+ add_prefix_cmd ("info", class_maintenance, maintenance_info_command,
+ "Commands for showing internal info about the program being debugged.",
&maintenanceinfolist, "maintenance info ", 0,
&maintenancelist);