aboutsummaryrefslogtreecommitdiff
path: root/gprofng
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-05-11 09:56:45 +0200
committerTom de Vries <tdevries@suse.de>2024-05-11 09:56:45 +0200
commit14b1358663da4d79976e2ec3a1f4856e70287337 (patch)
treee8e818cfd0f54dd38b067834ede37702b62282f0 /gprofng
parent353f6a9bd17636b3a50ed706ce70995d6437b88c (diff)
downloadgdb-14b1358663da4d79976e2ec3a1f4856e70287337.zip
gdb-14b1358663da4d79976e2ec3a1f4856e70287337.tar.gz
gdb-14b1358663da4d79976e2ec3a1f4856e70287337.tar.bz2
[gdb/testsuite] Fix Wreturn-mismatch in gdb.base/list-dot-nodebug.exp
When running test-case gdb.base/list-dot-nodebug.exp in a fedora rawhide container, I run into: ... temp/$pid/static-libc.c: In function 'main': temp/$pid/static-libc.c:2:42: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 2 | void main (void) { return 0; } | ^ ... UNTESTED: gdb.base/list-dot-nodebug.exp: Can't statically link ... Fix this by changing the return type to int. Tested on x86_64-linux.
Diffstat (limited to 'gprofng')
0 files changed, 0 insertions, 0 deletions