diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 09:22:21 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 09:22:21 -0500 |
commit | 55751145dc1e08e16df418cdd101661f5c6ac991 (patch) | |
tree | c166155b118da5768341e4678478c5dd508a2b17 /include/linux/kgdb.h | |
parent | 22eeef4bb2a7fd225089c0044060ed1fbf091958 (diff) | |
download | blackbird-op-linux-55751145dc1e08e16df418cdd101661f5c6ac991.tar.gz blackbird-op-linux-55751145dc1e08e16df418cdd101661f5c6ac991.zip |
gdbstub: Implement gdbserial 'p' and 'P' packets
The gdbserial 'p' and 'P' packets allow gdb to individually get and
set registers instead of querying for all the available registers.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'include/linux/kgdb.h')
-rw-r--r-- | include/linux/kgdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kgdb.h b/include/linux/kgdb.h index d5eb882e01f3..cc96f0f23e04 100644 --- a/include/linux/kgdb.h +++ b/include/linux/kgdb.h @@ -294,7 +294,7 @@ extern void kgdb_unregister_io_module(struct kgdb_io *local_kgdb_io_ops); extern struct kgdb_io *dbg_io_ops; extern int kgdb_hex2long(char **ptr, unsigned long *long_val); -extern int kgdb_mem2hex(char *mem, char *buf, int count); +extern char *kgdb_mem2hex(char *mem, char *buf, int count); extern int kgdb_hex2mem(char *buf, char *mem, int count); extern int kgdb_isremovedbreak(unsigned long addr); |