This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OBV] Tweak target_xfer_status_to_string
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Feb 2014 05:54:40 -0800
- Subject: Re: [OBV] Tweak target_xfer_status_to_string
- Authentication-results: sourceware.org; auth=none
- References: <1393222854-4135-1-git-send-email-yao at codesourcery dot com>
Hi Yao,
> 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.
While touching this code...
> @@ -880,10 +880,10 @@ target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset)
> }
>
> const char *
> -target_xfer_status_to_string (enum target_xfer_status err)
> +target_xfer_status_to_string (enum target_xfer_status status)
Would you mind adding a comment that says the usual "See target.h"?
Thanks!
--
Joel