Skip to content
Snippets Groups Projects
Commit 992059b8 authored by Hsiangkai Wang's avatar Hsiangkai Wang Committed by Freddie Chopin
Browse files

gdb server: Fix bug. Parse 'M' packet error.


The format of 'M' packet is 'M addr,length:XX...'. The data
follows ':' immediately. No need to '+2' to SEPARATOR in
unhexify(), because SEPARATOR points to data correctly.

Change-Id: I15b5758b540816cc727752e7bf68cd45e623f603
Signed-off-by: default avatarHsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1360


Tested-by: jenkins
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent e12989a8
No related branches found
No related tags found
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