2009-12-15 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git] / bfd / vms.h
index b7d9344cf90a9ed4845ffe74a9d1b07823d66a25..4bde72b8e9be452f24c70b89788907b5247ee11c 100644 (file)
--- a/bfd/vms.h
+++ b/bfd/vms.h
@@ -1,5 +1,5 @@
 /* vms.h -- Header file for VMS (Alpha and Vax) support.
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007,
+   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007,
    2008, 2009 Free Software Foundation, Inc.
 
    Main header file.
@@ -854,8 +854,11 @@ struct evax_private_udata_struct
 #if VMS_DEBUG                           
 extern void _bfd_vms_debug (int, char *, ...) ATTRIBUTE_PRINTF_2;
 extern void _bfd_hexdump   (int, unsigned char *, int, int);
-                                        
-#define vms_debug _bfd_vms_debug        
+
+#define vms_debug _bfd_vms_debug
+#define vms_debug2(X) _bfd_vms_debug X
+#else
+#define vms_debug2(X)
 #endif                                  
                                         
 extern struct bfd_hash_entry * _bfd_vms_hash_newfunc (struct bfd_hash_entry *, struct bfd_hash_table *, const char *);