]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb] Return bool in producer_is_gcc
authorTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:33:03 +0000 (17:33 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:33:03 +0000 (17:33 +0100)
commitc0ca3668aee9d71ff4c6336e07abb04e9df10916
tree9864dff6a856a63b74c04b6143ea8f3991585358
parent965deba12083d600eada3937b99699a873e0dcbe
[gdb] Return bool in producer_is_gcc

Function producer_is_gcc returns int, but the result is interpreted as zero or
non-zero.

Make it return bool instead.

Tested on x86_64-linux.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/producer.c
gdb/producer.h