aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-lazy-string.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-04-02 16:22:46 +0200
committerTom de Vries <tdevries@suse.de>2024-04-02 16:22:46 +0200
commit374c1cbbf062e1d35cd285c583a99268a3e1de6c (patch)
tree1f1c659f4ed28488665128bca08547dd41c1345e /gdb/python/py-lazy-string.c
parentd16a53152cc2dfd6e92fdf9ae288ff19dac49dd1 (diff)
downloadbinutils-374c1cbbf062e1d35cd285c583a99268a3e1de6c.zip
binutils-374c1cbbf062e1d35cd285c583a99268a3e1de6c.tar.gz
binutils-374c1cbbf062e1d35cd285c583a99268a3e1de6c.tar.bz2
[gdb/testsuite] Add missing include in gdb.base/ctf-ptype.c
On fedora rawhide, when running test-case gdb.base/ctf-ptype.exp, I get: ... gdb compile failed, ctf-ptype.c: In function 'main': ctf-ptype.c:242:29: error: implicit declaration of function 'malloc' \ [-Wimplicit-function-declaration] 242 | v_char_pointer = (char *) malloc (1); | ^~~~~~ ctf-ptype.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'malloc' +++ |+#include <stdlib.h> 1 | /* This test program is part of GDB, the GNU debugger. ... Fix this by adding the missing include. Tested on aarch64-linux.
Diffstat (limited to 'gdb/python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions