This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor patches to VMS debugging
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Mar 02 07:40:03 EST
- Subject: Minor patches to VMS debugging
Comitted to trunk and 3.1 branch as per discussion with Mark.
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.
*** toplev.c.2 Fri Mar 8 12:05:04 2002
--- toplev.c Sat Mar 9 14:22:42 2002
***************
*** 908,913 ****
--- 908,916 ----
#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 }
};
*** vmsdbgout.c.2 Sun Feb 24 09:57:51 2002
--- vmsdbgout.c Tue Feb 26 18:12:42 2002
***************
*** 1650,1656 ****
module_producer
= (char *) xmalloc (strlen (language_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);
--- 1650,1656 ----
module_producer
= (char *) xmalloc (strlen (language_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);