aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-function.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-20 12:37:04 +0100
committerTom de Vries <tdevries@suse.de>2025-03-20 12:37:04 +0100
commit2774eeb9e2acb7d5a7967c55d8365fc1278244a4 (patch)
treed532a91a7016c881b43ec7df423174197974cf23 /gdb/python/py-function.c
parentd3d4840e802ef6ee4353872401ded5cc5cf87ecb (diff)
downloadbinutils-2774eeb9e2acb7d5a7967c55d8365fc1278244a4.zip
binutils-2774eeb9e2acb7d5a7967c55d8365fc1278244a4.tar.gz
binutils-2774eeb9e2acb7d5a7967c55d8365fc1278244a4.tar.bz2
[gdb/testsuite] Add missing returns in gdb.threads/infcall-from-bp-cond-simple.c
While investigating PR32785 I noticed a missing return statement in worker_func, and compiling with -Wreturn-type showed another in function_that_segfaults: ... $ gcc gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c -Wreturn-type infcall-from-bp-cond-simple.c: In function ‘function_that_segfaults’: infcall-from-bp-cond-simple.c:46:1: warning: \ control reaches end of non-void function [-Wreturn-type] 46 | } | ^ infcall-from-bp-cond-simple.c: In function ‘worker_func’: infcall-from-bp-cond-simple.c:58:1: warning: \ control reaches end of non-void function [-Wreturn-type] 58 | } | ^ ... Fix these by adding the missing returns.
Diffstat (limited to 'gdb/python/py-function.c')
0 files changed, 0 insertions, 0 deletions