read_debug32: Use a pointer instead of returning the value
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>
Thu, 10 Mar 2016 15:15:57 +0000 (16:15 +0100)
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 14 Mar 2016 14:12:44 +0000 (15:12 +0100)
commitbd272132992cf8308ad898aa2da9002a7344837d
treee7ccc7a6f6b20dac7351438a5f7068cd726627e5
parentadbb6d270cd91de21307a1ad0c1644e321820207
read_debug32: Use a pointer instead of returning the value

This rework is done in order to prepare for propagating errors returned by
libusb.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
gdbserver/gdb-server.c
src/stlink-common.c
src/stlink-common.h
src/stlink-sg.c
src/stlink-usb.c