diff options
author | Tim Newsome <tim@sifive.com> | 2020-07-01 08:28:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 08:28:27 -0700 |
commit | b50b8da476790fa5a1a0935d4837d2128a797db3 (patch) | |
tree | 90dad95be65c3d964d489c18561b2be1d1962bae /src/jtag/swd.h | |
parent | 7a3fa1f923cf10c18d6d048ebd7679129a31eed1 (diff) | |
download | riscv-openocd-b50b8da476790fa5a1a0935d4837d2128a797db3.zip riscv-openocd-b50b8da476790fa5a1a0935d4837d2128a797db3.tar.gz riscv-openocd-b50b8da476790fa5a1a0935d4837d2128a797db3.tar.bz2 |
Warn if we are asked to read/write 0 bytes. (#492)
Technically that might be OK, but in practice it probably indicates
something went wrong somewhere. Before this change OpenOCD would crash
if it happened.
Change-Id: I2500ba67ec282915dcf2b2488f2aac9fbfdb23a3
Diffstat (limited to 'src/jtag/swd.h')
0 files changed, 0 insertions, 0 deletions