Re: [PATCH] gdbhooks.py: dump-fn, dot-fn: cast ret values of fopen/fclose

2019-07-14 Thread Tom de Vries
On 09-07-19 16:10, Vladislav Ivanishin wrote: > Hi, > > Without the patch, I see these error messages with gdb 8.3: > > (gdb) Python Exception 'fclose@@GLIBC_2.2.5' has > unknown return type; cast the call to its declared return type: > (gdb) Error occurred in Python: 'fclose@@GLIBC_

[PATCH] gdbhooks.py: dump-fn, dot-fn: cast ret values of fopen/fclose

2019-07-09 Thread Vladislav Ivanishin
Hi, Without the patch, I see these error messages with gdb 8.3: (gdb) Python Exception 'fclose@@GLIBC_2.2.5' has unknown return type; cast the call to its declared return type: (gdb) Error occurred in Python: 'fclose@@GLIBC_2.2.5' has unknown return type; cast the call to its dec