2011-07-15 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Fri, 15 Jul 2011 02:07:43 +0000 (02:07 +0000)
committerHui Zhu <teawater@gmail.com>
Fri, 15 Jul 2011 02:07:43 +0000 (02:07 +0000)
* remote.c (remote_get_trace_status): Add comments.

gdb/ChangeLog
gdb/remote.c

index f0cc5011ad71f70412957011d87b8dd115268be5..20b723ebbda243c77e4c43fa4b29ab466eeee929 100644 (file)
@@ -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.
index 05a3dc8f04e644dbf39cc986d6f5e9bc44cac621..cbc7daafb5cebb692f2f52f201605abea46ff569 100644 (file)
@@ -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;