revised format for config info
authorK. Richard Pixley <rich@cygnus>
Fri, 11 Jun 1993 22:23:17 +0000 (22:23 +0000)
committerK. Richard Pixley <rich@cygnus>
Fri, 11 Jun 1993 22:23:17 +0000 (22:23 +0000)
gdb/ChangeLog
gdb/main.c

index 473b24c2efd2cb958dc2b9ee3f54759464ddd8ab..6025cfbbc2985ed3188940f3f310fd9fad6b346a 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jun 11 15:19:59 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * main.c (main): back to two periods for elipse.
+         (print_gdb_version): revised format for configuration info.
+
 Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
 
        * dbxread.c (process_one_symbol): Rather than having
index 9706105ac4413f5fdad1e6185263645967124780..9c274bb82ffa96ed7db3125687f7d4fe72fadb98 100644 (file)
@@ -178,6 +178,14 @@ static int inhibit_gdbinit = 0;
 
 extern char *version;
 
+/* Canonical host name as a string. */
+
+extern char *host_canonical;
+
+/* Canonical target name as a string. */
+
+extern char *target_canonical;
+
 /* Message to be printed before the error message, when an error occurs.  */
 
 extern char *error_pre_print;
@@ -291,7 +299,6 @@ static char dirbuf[1024];
 
 void (*window_hook) PARAMS ((FILE *, char *));
 
-extern int frame_file_full_name;
 extern int mapped_symbol_files;
 extern int readnow_symbol_files;
 
@@ -1894,8 +1901,14 @@ print_gdb_version (stream)
   FILE *stream;
 {
   fprintf_filtered (stream, "\
-GDB %s, Copyright 1993 Free Software Foundation, Inc.",
-         version);
+GDB %s (%s", version, host_canonical);
+
+  if (strcmp(host_canonical, target_canonical))
+    fprintf_filtered (stream, " --target %s", target_canonical);
+
+  fprintf_filtered (stream, "), ");
+  wrap_here("");
+  fprintf_filtered (stream, "Copyright 1993 Free Software Foundation, Inc.");
 }
 
 /* ARGSUSED */
This page took 0.029142 seconds and 4 git commands to generate.