+Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * Makefile.in (version.c), main.c (print_gdb_version): Use
+ host_alias and target_alias, not host_canonical and
+ target_canonical, to print configuration.
+
Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
version.c: Makefile
echo 'char *version = "$(VERSION)";' >version.c
- echo 'char *host_canonical = "$(host_canonical)";' >> version.c
- echo 'char *target_canonical = "$(target_canonical)";' >> version.c
+ echo 'char *host_name = "$(host_alias)";' >> version.c
+ echo 'char *target_name = "$(target_alias)";' >> version.c
# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to c-exp.tab.o.
/* Canonical host name as a string. */
-extern char *host_canonical;
+extern char *host_name;
/* Canonical target name as a string. */
-extern char *target_canonical;
+extern char *target_name;
extern char lang_frame_mismatch_warn[]; /* language.c */
GDB_FILE *stream;
{
fprintf_filtered (stream, "\
-GDB %s (%s", version, host_canonical);
+GDB %s (%s", version, host_name);
- if (strcmp(host_canonical, target_canonical))
- fprintf_filtered (stream, " --target %s", target_canonical);
+ if (!STREQ (host_name, target_name))
+ fprintf_filtered (stream, " --target %s", target_name);
fprintf_filtered (stream, "), ");
wrap_here("");