aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2002-03-11 07:42:08 -0500
committerRichard Kenner <kenner@gcc.gnu.org>2002-03-11 07:42:08 -0500
commit1682dbb1d7b721fbca595b1e9dbf6901ca2de271 (patch)
tree4e6c1ae4842ef74180d3d3d70e17071a8f63f8a8
parent884523df8d676fd03c8d5bacfd98747d7f941a99 (diff)
downloadgcc-1682dbb1d7b721fbca595b1e9dbf6901ca2de271.zip
gcc-1682dbb1d7b721fbca595b1e9dbf6901ca2de271.tar.gz
gcc-1682dbb1d7b721fbca595b1e9dbf6901ca2de271.tar.bz2
toplev.c (debug_args): Add entry for VMS_DEBUG.
* toplev.c (debug_args): Add entry for VMS_DEBUG. * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. From-SVN: r50573
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c3
-rw-r--r--gcc/vmsdbgout.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d01c087..bf15ce9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-11 Douglas B Rupp <rupp@gnat.com>
+
+ * toplev.c (debug_args): Add entry for VMS_DEBUG.
+ * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
+
2002-03-11 Richard Sandiford <rsandifo@redhat.com>
* defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 740bf89..2e120f8 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -930,6 +930,9 @@ debug_args[] =
#ifdef SDB_DEBUGGING_INFO
{ "coff", SDB_DEBUG, 0, N_("Generate COFF format debug info") },
#endif
+#ifdef VMS_DEBUGGING_INFO
+ { "vms", VMS_DEBUG, 0, N_("Generate VMS format debug info") },
+#endif
{ 0, 0, 0, 0 }
};
diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c
index cad6323f..15318ed 100644
--- a/gcc/vmsdbgout.c
+++ b/gcc/vmsdbgout.c
@@ -1636,7 +1636,7 @@ vmsdbgout_init (main_input_filename)
module_producer
= (char *) xmalloc (strlen (language_string) + 1
- + strlen (version_string + 1));
+ + strlen (version_string) + 1);
sprintf (module_producer, "%s %s", language_string, version_string);
ASM_GENERATE_INTERNAL_LABEL (text_end_label, TEXT_END_LABEL, 0);