[RFC] configure.tgt: Update mips*-*-* to use remote-mips.o

Michael Snyder msnyder@vmware.com
Wed Jan 19 21:50:00 GMT 2011


It won't hurt anything, but it probably won't be used.  AFAIK, that file
is just for monitor debugging on a bare-metal eval board.

Paul Koning wrote:
> Shouldn't that just be for the MIPS based targets (if there still are any left) that use this protocol?
> 
> A lot of them probably just use the standard GDB remote protocol (I know ours does -- NetBSD based).
> 
> 	paul
> 
> On Jan 19, 2011, at 4:14 PM, Kevin Buettner wrote:
> 
>> I spent some time last year fixing bitrot in remote-mips.c, but
>> forgot to update configure.tgt so that it's actually used by mips
>> targets.
>>
>> Any objections to the patch below?
>>
>> Kevin
>>
>> 	* configure.tgt (mips*-*-*): Add remote-mips.o to gdb_target_obs.
>>
>> Index: configure.tgt
>> ===================================================================
>> RCS file: /cvs/src/src/gdb/configure.tgt,v
>> retrieving revision 1.241
>> diff -u -p -r1.241 configure.tgt
>> --- configure.tgt	14 Jan 2011 18:16:34 -0000	1.241
>> +++ configure.tgt	19 Jan 2011 20:51:20 -0000
>> @@ -373,7 +373,7 @@ mips64*-*-openbsd*)
>> 	;;
>> mips*-*-*)
>> 	# Target: MIPS
>> -	gdb_target_obs="mips-tdep.o"
>> +	gdb_target_obs="mips-tdep.o remote-mips.o"
>> 	gdb_sim=../sim/mips/libsim.a
>> 	;;
>>
>>
> 



More information about the Gdb-patches mailing list