Skip to content
Snippets Groups Projects
Commit 151c3178 authored by Paul Fertser's avatar Paul Fertser
Browse files

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: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2102


Tested-by: jenkins
Reviewed-by: default avatarSalvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent cb115642
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment