aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-02-23 14:27:17 +0800
committerYao Qi <yao@codesourcery.com>2014-02-24 14:16:36 +0800
commit01cb880427d5fe2f652ca8b455012fd05ae962ac (patch)
tree15794dd4e315520f613e1d1e44d345c055673aa5 /gdb/target.h
parent93063aa69bbd3f19faa85baefd1b7fa9363a6790 (diff)
downloadgdb-01cb880427d5fe2f652ca8b455012fd05ae962ac.zip
gdb-01cb880427d5fe2f652ca8b455012fd05ae962ac.tar.gz
gdb-01cb880427d5fe2f652ca8b455012fd05ae962ac.tar.bz2
Tweak target_xfer_status_to_string
This patch tweaks target_xfer_status_to_string on comments and argument name. gdb: 2014-02-24 Yao Qi <yao@codesourcery.com> * target.c (target_xfer_status_to_string): Rename argument err to status. * target.h (target_xfer_status_to_string): Update declaration. Replace target_xfer_error_to_string with target_xfer_status_to_string in comment.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 4254609..9143ee2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -222,12 +222,13 @@ enum target_xfer_status
unavailable. */
TARGET_XFER_E_UNAVAILABLE = -2,
- /* Keep list in sync with target_xfer_error_to_string. */
+ /* Keep list in sync with target_xfer_status_to_string. */
};
-/* Return the string form of ERR. */
+/* Return the string form of STATUS. */
-extern const char *target_xfer_status_to_string (enum target_xfer_status err);
+extern const char *
+ target_xfer_status_to_string (enum target_xfer_status status);
/* Enumeration of the kinds of traceframe searches that a target may
be able to perform. */