]> git.sur5r.net Git - openocd/commit
gdb-server: fix error reporting bugs
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 7 Jun 2010 13:14:04 +0000 (15:14 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 8 Jun 2010 08:37:03 +0000 (10:37 +0200)
commit54f3f8e4c1477bec077e132cdccd8097938332e2
tree341a1ed52768e896acaa4dd2ccd7fd5ba31983e9
parent00635e28ba5c405742cae261d8551f165dc78ba3
gdb-server: fix error reporting bugs

GDB and OpenOCD has two different error number
spaces and no mapping exists between them.

If a specific error number is to be reported
to GDB then this has to be done at the calling
site, rather than as a generic routine that
tries to map "retval" to GDB error number speak.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/server/gdb_server.c