aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-pikeos-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-04-05 10:58:56 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-07 07:41:33 -0400
commitefd86e5b0f756b04675e2ef7e26a64508300d9a8 (patch)
tree8861a79ddfe2f5cdb16f052cf5da3e3986cefcc5 /gdb/arm-pikeos-tdep.c
parent56d467f4ee376e28a16740f26e5f6eec3c743632 (diff)
downloadgdb-efd86e5b0f756b04675e2ef7e26a64508300d9a8.zip
gdb-efd86e5b0f756b04675e2ef7e26a64508300d9a8.tar.gz
gdb-efd86e5b0f756b04675e2ef7e26a64508300d9a8.tar.bz2
sim: m32c: opc2c: remove unused vlist variable
When building with AddressSanitizer, sim/m32c fails with: ./opc2c -l r8c.out /home/simark/src/binutils-gdb/sim/m32c/r8c.opc > r8c.c sim_log: r8c.out ================================================================= ==3919390==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4 byte(s) in 1 object(s) allocated from: #0 0x7ffff7677459 in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x55555555b3df in main /home/simark/src/binutils-gdb/sim/m32c/opc2c.c:658 #2 0x7ffff741fb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24) Fix the leak in main by removing the vlist variable, which seems unused.
Diffstat (limited to 'gdb/arm-pikeos-tdep.c')
0 files changed, 0 insertions, 0 deletions