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: [RFC] remote-mips.c: Don't error out when a memory read fails


> 	* remote-mips.c (mips_fetch_word): Add new parameter, `valp'.
> 	Change return value to int.  Store value fetched in location
> 	addressed by `val'.  Use function's return value as success
> 	or failure indicator.  Adjust all callers.

Looks good to me.

> +static int
> +mips_fetch_word (CORE_ADDR addr, unsigned int *valp)
>  {
>    unsigned int val;

I think that this variable is no longer used?

-- 
Joel


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