Fix some gettext ARI warnings
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Aug 2018 17:17:21 +0000 (13:17 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Aug 2018 17:17:56 +0000 (13:17 -0400)
commit83c8d318d1aefecf3cc43015226c10bf4126df87
tree0b0414582fbacd54d6cb229cbd71183c96f9fc14
parent3a53fb12c870d67537c883b9abd80d6a4ba408ff
Fix some gettext ARI warnings

ARI produces this warning for the lines touched in this patch:

  warning: gettext: All messages should be marked up with _.

However, in these cases, the message is not translatable (they are
syscall names).  Adding an extra set of parentheses silences the
warning.

gdb/ChangeLog:

* common/scoped_mmap.c (mmap_file): Silence ARI warning.
* dwarf-index-cache.c (create_dir_and_check): Likewise.
(test_mkdir_recursive): Likewise.
* dwarf-index-write.c (write_psymtabs_to_index): Likewise.
gdb/ChangeLog
gdb/common/scoped_mmap.c
gdb/dwarf-index-cache.c
gdb/dwarf-index-write.c