Remove one line comment
authorYao Qi <yao.qi@linaro.org>
Tue, 18 Jul 2017 11:57:19 +0000 (12:57 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 18 Jul 2017 11:57:19 +0000 (12:57 +0100)
commit27841e762c975f6b1ffa0adbffc22405241262df
tree2b70359eb80cbd38133270cc1ce1ea81d4deac07
parentcfb7e58b483faa7ca4a3a8bb0030ed3e990b2c5c
Remove one line comment

This patch is going to remove a line comment, which was added in this
commit,

commit 55fea07
Author: Jim Kingdon <jkingdon@engr.sgi.com>
Date:   Tue Sep 14 01:08:22 1993 +0000

        * remote.c: Define remote_debug to 0 and #if 0 baud_rate.  Temporary
        hack so this file compiles again.

        * remote-utils.c (gr_multi_scan): Cast return value from alloca.
        (gr_multi_scan): #if 0 never-reached return(-1).

and at that moment, remote_prepare_to_store does updates some global
state,

static void
remote_prepare_to_store ()
{
  /* Make sure the entire registers array is valid.  */
  read_register_bytes (0, (char *)NULL, REGISTER_BYTES);
}

However, now, remote_prepare_to_store doesn't do that at all, and
rsa->sizeof_g_packet is updated in init_remote_state, so the line of
comment is out of date, and this patch removes it.

gdb:

2017-07-18  Yao Qi  <yao.qi@linaro.org>

* remote.c (store_registers_using_G): Remove one line comment.
gdb/ChangeLog
gdb/remote.c
This page took 0.024784 seconds and 4 git commands to generate.