summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-08-05 09:22:21 -0500
committerJason Wessel <jason.wessel@windriver.com>2010-08-05 09:22:21 -0500
commit55751145dc1e08e16df418cdd101661f5c6ac991 (patch)
treec166155b118da5768341e4678478c5dd508a2b17 /include/linux
parent22eeef4bb2a7fd225089c0044060ed1fbf091958 (diff)
downloadlinux-stable-55751145dc1e08e16df418cdd101661f5c6ac991.tar.gz
linux-stable-55751145dc1e08e16df418cdd101661f5c6ac991.tar.bz2
linux-stable-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')
-rw-r--r--include/linux/kgdb.h2
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);