diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-08 18:13:18 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-08 18:13:18 -0400 |
commit | fdbac7d8d1c9403a857db6e0c1dc92ce7bb65925 (patch) | |
tree | d1b6f09683c83f3d0e0784aa8e915eb9191009c9 /gdb/target.c | |
parent | 83202f7ae849e538c04656923312d0eab32f6cea (diff) | |
download | gdb-fdbac7d8d1c9403a857db6e0c1dc92ce7bb65925.zip gdb-fdbac7d8d1c9403a857db6e0c1dc92ce7bb65925.tar.gz gdb-fdbac7d8d1c9403a857db6e0c1dc92ce7bb65925.tar.bz2 |
Fix some comments in target.c
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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index 115e9ae..2d98954 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -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) { |