-
- Downloads
mips32, dsp563xx: fix segfault on Gdb attach
Since c6216201 gdb target description generation support is enabled by default and it counts on checking "feature" pointer in reg_list. Both mips32 and dsp563xx neither used calloc nor explicitly set feature (as it was a newly introduced struct field). This patch changes all targets to use calloc for consistency. Change-Id: I9eceadef8b04aacb108e24ae23cb51ca3009586f Signed-off-by:Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2102 Tested-by: jenkins Reviewed-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
Showing
- src/target/avr32_ap7k.c 1 addition, 1 deletionsrc/target/avr32_ap7k.c
- src/target/dsp563xx.c 1 addition, 1 deletionsrc/target/dsp563xx.c
- src/target/lakemont.c 1 addition, 1 deletionsrc/target/lakemont.c
- src/target/mips32.c 1 addition, 1 deletionsrc/target/mips32.c
- src/target/openrisc/or1k.c 1 addition, 1 deletionsrc/target/openrisc/or1k.c
Loading
Please register or sign in to comment