aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2011-07-15 02:07:43 +0000
committerHui Zhu <teawater@gmail.com>2011-07-15 02:07:43 +0000
commit953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c (patch)
treeab5a554856e7a605b3af5949f419834229e91ae3 /gdb/remote.c
parent59b84450ff904565c414e264f58c0268c1dcd847 (diff)
downloadgdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.zip
gdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.tar.gz
gdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.tar.bz2
2011-07-15 Hui Zhu <teawater@gmail.com>
* remote.c (remote_get_trace_status): Add comments.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 05a3dc8..cbc7daa 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10042,6 +10042,7 @@ remote_trace_start (void)
static int
remote_get_trace_status (struct trace_status *ts)
{
+ /* Initialize it just to avoid a GCC false warning. */
char *p = NULL;
/* FIXME we need to get register block size some other way. */
extern int trace_regblock_size;