aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2011-07-14 04:46:42 +0000
committerHui Zhu <teawater@gmail.com>2011-07-14 04:46:42 +0000
commitf652de6f62870f7dec1b866494cbecef8a04b4ed (patch)
tree85e1457483291b2f9f67661e7afcb6fdc4d73288 /gdb/remote.c
parent2dddba2e0ee07fbad397fcbc116734e46baa1f72 (diff)
downloadgdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.zip
gdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.tar.gz
gdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.tar.bz2
2011-07-14 Hui Zhu <teawater@gmail.com>
* remote.c (remote_get_trace_status): Initialize p.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index f9059e6..05a3dc8 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10042,7 +10042,7 @@ remote_trace_start (void)
static int
remote_get_trace_status (struct trace_status *ts)
{
- char *p;
+ char *p = NULL;
/* FIXME we need to get register block size some other way. */
extern int trace_regblock_size;
volatile struct gdb_exception ex;