Re: [Mesa-dev] [PATCH 1/2] intel: tools: dump: make dump tool reliable under gdb

2018-07-20 Thread Kenneth Graunke
On Friday, July 20, 2018 3:24:58 AM PDT Lionel Landwerlin wrote: > The problem with passing the configuration of the dump lib through a > file descriptor is that it can be read only once. But under gdb you > might want to rerun your program multiple times. > > This change hands the configuration

Re: [Mesa-dev] [PATCH 1/2] intel: tools: dump: make dump tool reliable under gdb

2018-07-20 Thread Rafael Antognolli
On Fri, Jul 20, 2018 at 11:24:58AM +0100, Lionel Landwerlin wrote: > The problem with passing the configuration of the dump lib through a > file descriptor is that it can be read only once. But under gdb you > might want to rerun your program multiple times. > This change hands the configuration

[Mesa-dev] [PATCH 1/2] intel: tools: dump: make dump tool reliable under gdb

2018-07-20 Thread Lionel Landwerlin
The problem with passing the configuration of the dump lib through a file descriptor is that it can be read only once. But under gdb you might want to rerun your program multiple times. This change hands the configuration through a temporary file that is deleted once the command line passes to