Commit Graph

13 Commits

Author SHA1 Message Date
Joel Sherrill
c69885a5d7 2006-09-14 Joel Sherrill <joel@OARcorp.com>
* shared/gdbstub/mips-stub.c: Removed warnings.
2006-09-14 15:50:54 +00:00
Ralf Corsepius
f05b2ac0bc Remove duplicate white lines. 2004-04-21 16:01:48 +00:00
Ralf Corsepius
6128a4aa5e Remove stray white spaces. 2004-04-21 10:43:04 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Joel Sherrill
45477a3a0e 2003-07-17 Joel Sherrill <joel@OARcorp.com>
PR 433/tools
	* mips-stub.c: Patch from C. M. Heard <heard@pobox.com> described as:

	The purpose of the patch is to make the stub ignore all
	characters except '+' (ack) or '-' (nak) when it has transmitted a
	packet and expects an acknowledgment. Without the patch,
	putpacket() will retransmit each time it receives anything other
	than '+' when expecting an ack, and that, bitter experience has
	found, frequently results in the stub failing to sync up when
	initially attaching to gdb.

	I think that rtems users will notice significant improvement in
	the of the mips stub if this patch is incorporated in the
	distribution; certainly I did in my stand-aline environment. I
	should hasten to add that it is only an improvement and not a 100%
	cure for synchronization problems because '+' characters can (and
	do) during as message data, and it's still possible for these to
	be mistaken as acks. I have no idea how to fix that short of
	redesigning the gdb-remote protocol.
2003-07-17 21:59:42 +00:00
Joel Sherrill
72bbcf17e3 2002-11-01 Joel Sherrill <joel@OARcorp.com>
* mips-stub.c: Removed warnings.
2002-11-01 21:53:28 +00:00
Joel Sherrill
a68128530c 2002-08-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mips-stub.c: Re-debugged a breakpoint problem, zbreak target
	address was a char * which caused the target instruction to not
	be fully copied, so the zbreak logic corrupted the original
	instruction and didn't insert a valid break instruction.
2002-08-14 22:58:30 +00:00
Joel Sherrill
db6cc07d1a 2001-03-08 Joel Sherrill <joel@OARcorp.com>
* mips-stub.c: Removed warnings.
2002-03-08 17:36:58 +00:00
Joel Sherrill
2f89140dba 2001-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mips-stub.c: Debugged & tweaked the gdb command processing,
	zbreak stuff, breakpoint and step code.  Implemented 'T' command
	support and debugged remote gdb support w/ the Mongoose bsp.
	Added the memory segment support.
	* memlimits.h: Disabled all contents in favor of memory sement
	support.  This file could probably go away.
	* rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine.
	rtems_gdb_stub_get_register_from_context(): Implemented MIPS version.
	rtems_gdb_stub_get_offsets(): Implemented MIPS version.
	* README: Updated.
2002-03-08 16:32:07 +00:00
Joel Sherrill
cd6bec6cef 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* shared/gdbstub/README: Added text.
	* shared/gdbstub/mips-stub.c: Modified isr install routine to
	capture all exceptions.
2002-03-01 16:22:59 +00:00
Joel Sherrill
1bbe2e1dbb 2001-02-27 Joel Sherrill <joel@OARcorp.com>
* Significant modifications including adding thread support, the 'X'
	command, and reorganizing so that target CPU independent routines
	could be reused.
	* gdb_if.h: Added numerous prototypes.
	* mips-stub.c: Added thread support as well as 'X' command.
	Also noticed that the 'P' command was from the mips protocol.
	* rtems-stub-glue.c: New file.  This file contains all generic
	support which should be able to be reused on another target CPU.
2002-02-27 22:32:15 +00:00
Joel Sherrill
6953e68e51 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* mips-stub.c (handle_exception): Prototype changed to be an RTEMS
	entry point.  Added comments about possible need to flush cache.
	(mips_gdb_stub_install): New routine.
2002-02-08 23:27:26 +00:00
Joel Sherrill
fc82e71072 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused
	with RTEMS.
	* r46kstub.c: Renamed to mips-stub.c.
	* mips-stub.c: New file -- was r46kstub.c.
	* memlimits.h: New file was limits.h.
	* limits.h: Removed.
	* r4600.h: Eliminated need for this file.
	* README: Updated.
 	* gdb_if.h: Added CVS Id.
	* mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
2002-02-08 21:26:00 +00:00