aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorVladislav Ivanishin <vlad@ispras.ru>2019-07-14 13:19:29 +0000
committerVladislav Ivanishin <vlad@gcc.gnu.org>2019-07-14 13:19:29 +0000
commitcbfde6ee68dab649e3cf86b0ae569f2fc6ef3900 (patch)
tree6408bdd7b6dee2f8eb7217f571adce583f53a614 /gcc/fortran/expr.c
parenta20f263ba1a76af40eb4e6734529739a2a30ed65 (diff)
downloadgcc-cbfde6ee68dab649e3cf86b0ae569f2fc6ef3900.zip
gcc-cbfde6ee68dab649e3cf86b0ae569f2fc6ef3900.tar.gz
gcc-cbfde6ee68dab649e3cf86b0ae569f2fc6ef3900.tar.bz2
gdbhooks.py: dump-fn, dot-fn: cast ret values of fopen/fclose
Work around the following (gdb) Python Exception <class 'gdb.error'> '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 declared return type This is due to GDB not being able to pick up and use the return types from debug info for external declarations. 2019-07-14 Vladislav Ivanishin <vlad@ispras.ru> * gdbhooks.py (DumpFn.invoke): Add explicit casts of return values of fopen and fclose to their respective types. (DotFn.invoke): Ditto. From-SVN: r273480
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions