This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OBV] Tweak target_xfer_status_to_string


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]