gdb: fix darwin-nat build
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 28 Sep 2021 23:47:44 +0000 (19:47 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 28 Sep 2021 23:47:44 +0000 (19:47 -0400)
commit8c12140439effb70a6c05c58846aeaef91d44350
tree2bf044443fe7bd105267e1bfc945d0be2dde29ab
parent4872f9a1b553445165dc49eaa091ca8400c130a0
gdb: fix darwin-nat build

There are two errors of this kind:

      CXX    darwin-nat.o
    /Users/smarchi/src/binutils-gdb/gdb/darwin-nat.c:1175:19: error: format specifies type 'unsigned long' but the argument has type 'ULONGEST' (aka 'unsigned long long') [-Werror,-Wformat]
 ptid.pid (), ptid.tid ());
      ^~~~~~~~~~~

Fix them by using ptid_t's to_string method.

Change-Id: I52087d5f7ee0fc01ac8b3f87d4db0217cb0d7cc7
gdb/darwin-nat.c