1  /* Copyright (C) 2009-2023 Free Software Foundation, Inc.
       2  
       3     This file is part of GAS, the GNU Assembler.
       4  
       5     GAS is free software; you can redistribute it and/or modify
       6     it under the terms of the GNU General Public License as
       7     published by the Free Software Foundation; either version 3,
       8     or (at your option) any later version.
       9  
      10     GAS is distributed in the hope that it will be useful, but
      11     WITHOUT ANY WARRANTY; without even the implied warranty of
      12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
      13     the GNU General Public License for more details.
      14  
      15     You should have received a copy of the GNU General Public License
      16     along with GAS; see the file COPYING.  If not, write to the Free
      17     Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
      18     02110-1301, USA.  */
      19  
      20  #define TE_VMS
      21  #include "obj-format.h"
      22  
      23  extern uint64_t vms_dwarf2_file_time_name (const char *, const char *);
      24  extern long vms_dwarf2_file_size_name (const char *, const char *);
      25  extern char *vms_dwarf2_file_name (const char *, const char *);
      26  
      27  /* VMS debugger expects a separator.  */
      28  #define DWARF2_DIR_SHOULD_END_WITH_SEPARATOR 1
      29  
      30  /* VMS debugger needs the file timestamp.  */
      31  #define DWARF2_FILE_TIME_NAME(FILENAME,DIRNAME)                       \
      32    vms_dwarf2_file_time_name(FILENAME, DIRNAME)
      33  
      34  /* VMS debugger needs the file size.  */
      35  #define DWARF2_FILE_SIZE_NAME(FILENAME,DIRNAME)                       \
      36    vms_dwarf2_file_size_name(FILENAME, DIRNAME)
      37  
      38  /* VMS debugger needs the filename with version appended.  */
      39  /* Longest filename on VMS is 255 characters. Largest version is 32768.  */
      40  #define DWARF2_FILE_NAME(FILENAME,DIRNAME)                            \
      41    vms_dwarf2_file_name(FILENAME, DIRNAME)