Fix some comments in target.c
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 8 Aug 2018 22:13:18 +0000 (18:13 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 8 Aug 2018 22:13:18 +0000 (18:13 -0400)
Fix a typo and add a missing one.

gdb/ChangeLog:

* target.c (str_comma_list_concat_elem): Fix typo in comment.
(target_options_to_string): Add comment.

gdb/ChangeLog
gdb/target.c

index 49a7e396ccf076cb4d07f4b5dd479fb73b3ac456..4d0593f163044eff20cc0e2eb833df8f0881362c 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.c (str_comma_list_concat_elem): Fix typo in comment.
+       (target_options_to_string): Add comment.
+
 2018-08-08  Tom Tromey  <tom@tromey.com>
 
        * unittests/scoped_mmap-selftests.c: Check result of "write".
index 115e9ae49483f4ee592ca8deca71f728c595e16a..2d98954b54ac9f0612e2ccdb80fe7ff51900dbde 100644 (file)
@@ -3447,7 +3447,7 @@ target_continue (ptid_t ptid, enum gdb_signal signal)
   target_resume (ptid, 0, signal);
 }
 
-/* Concatenate ELEM to LIST, a comma separate list.  */
+/* Concatenate ELEM to LIST, a comma-separated list.  */
 
 static void
 str_comma_list_concat_elem (std::string *list, const char *elem)
@@ -3473,6 +3473,8 @@ do_option (int *target_options, std::string *ret,
     }
 }
 
+/* See target.h.  */
+
 std::string
 target_options_to_string (int target_options)
 {
This page took 0.03285 seconds and 4 git commands to generate.