diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/vmsdbgout.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1b3cd8a515..8608a334a2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2010-06-29 Douglas B Rupp <rupp@gnat.com> + * vmsdbgout.c (full_name): Just output the file name if not native. + +2010-06-29 Douglas B Rupp <rupp@gnat.com> + * vmsdbgout.c (func_table): Replace with VEC func{nam,num}_tables. (funcnam_table): New static table. (funcnum_table): New static table. diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c index dba126d7739..129ee78cdd3 100644 --- a/gcc/vmsdbgout.c +++ b/gcc/vmsdbgout.c @@ -1310,13 +1310,9 @@ full_name (const char *filename) fgetname (fp, fullname_buff, 1); fclose (fp); #else - getcwd (fullname_buff, sizeof (fullname_buff)); - - strcat (fullname_buff, "/"); - strcat (fullname_buff, filename); - - /* ??? Insert hairy code here to translate Unix style file specification - to VMS style. */ + /* Unix paths really mess up VMS debug. Better to just output the + base filename. */ + strcpy (fullname_buff, filename); #endif return fullname_buff; |