diff options
author | Hui Zhu <teawater@gmail.com> | 2011-07-15 02:07:43 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2011-07-15 02:07:43 +0000 |
commit | 953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c (patch) | |
tree | ab5a554856e7a605b3af5949f419834229e91ae3 | |
parent | 59b84450ff904565c414e264f58c0268c1dcd847 (diff) | |
download | fsf-binutils-gdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.zip fsf-binutils-gdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.tar.gz fsf-binutils-gdb-953b98d1cfa5de8c2eb71f98e9881d79f5f1f67c.tar.bz2 |
2011-07-15 Hui Zhu <teawater@gmail.com>
* remote.c (remote_get_trace_status): Add comments.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0cc501..20b723e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-07-15 Hui Zhu <teawater@gmail.com> + + * remote.c (remote_get_trace_status): Add comments. + 2011-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> Code cleanup - constify struct lval_funcs. 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; |