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] configure.tgt: Update mips*-*-* to use remote-mips.o



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
	;;





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