binutils-gdb/sim/m32c
Simon Marchi efd86e5b0f 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.
2021-04-07 07:41:33 -04:00
..
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog sim: m32c: opc2c: remove unused vlist variable 2021-04-07 07:41:33 -04:00
config.in sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
configure sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
configure.ac sim: common: split up acinclude.m4 into individual m4 files 2021-02-21 02:20:19 -05:00
cpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-if.c sim: erc32/m32c/rl78: add sim_memory_map stub for gdb 2021-02-06 12:15:34 -05:00
int.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
int.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
load.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
load.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32c.opc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
main.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
Makefile.in sim: introduce {COMPILE,LINK}_FOR_BUILD 2021-03-13 11:15:46 -05:00
mem.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mem.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
misc.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
misc.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
opc2c.c sim: m32c: opc2c: remove unused vlist variable 2021-04-07 07:41:33 -04:00
r8c.opc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
reg.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
safe-fgets.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
safe-fgets.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
srcdest.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
syscall.h
syscalls.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
syscalls.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
timer_a.h sim: m32c: enable warnings & clean up a bunch 2015-04-01 02:22:58 -04:00
trace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
trace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00