source: rtems/c/src/lib/libbsp/mips/shared/gdbstub/ChangeLog @ 45477a3

4.104.114.84.95
Last change on this file since 45477a3 was 45477a3, checked in by Joel Sherrill <joel.sherrill@…>, on 07/17/03 at 21:59:42

2003-07-17 Joel Sherrill <joel@…>

PR 433/tools

  • mips-stub.c: Patch from C. M. Heard <heard@…> 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.

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[45477a3]12003-07-17      Joel Sherrill <joel@OARcorp.com>
2
3        PR 433/tools
4        * mips-stub.c: Patch from C. M. Heard <heard@pobox.com> described as:
5
6        The purpose of the patch is to make the stub ignore all
7        characters except '+' (ack) or '-' (nak) when it has transmitted a
8        packet and expects an acknowledgment. Without the patch,
9        putpacket() will retransmit each time it receives anything other
10        than '+' when expecting an ack, and that, bitter experience has
11        found, frequently results in the stub failing to sync up when
12        initially attaching to gdb.
13
14        I think that rtems users will notice significant improvement in
15        the of the mips stub if this patch is incorporated in the
16        distribution; certainly I did in my stand-aline environment. I
17        should hasten to add that it is only an improvement and not a 100%
18        cure for synchronization problems because '+' characters can (and
19        do) during as message data, and it's still possible for these to
20        be mistaken as acks. I have no idea how to fix that short of
21        redesigning the gdb-remote protocol.
22
[72bbcf1]232002-11-01      Joel Sherrill <joel@OARcorp.com>
24
25        * mips-stub.c: Removed warnings.
26
[0381a8d]272002-10-02      Joel Sherrill <joel@OARcorp.com>
28
29        * rtems-stub-glue.c: Removed should only be common copy.
30
[a681285]312002-08-14      Greg Menke <gregory.menke@gsfc.nasa.gov>
32
33        * mips-stub.c: Re-debugged a breakpoint problem, zbreak target
34        address was a char * which caused the target instruction to not
35        be fully copied, so the zbreak logic corrupted the original
36        instruction and didn't insert a valid break instruction.
37       
382002-03-08      Joel Sherrill <joel@OARcorp.com>
[db6cc07]39
40        * mips-stub.c: Removed warnings.
41
[a681285]422002-03-05      Greg Menke <gregory.menke@gsfc.nasa.gov>
[2f89140]43
44        * mips-stub.c: Debugged & tweaked the gdb command processing,
45        zbreak stuff, breakpoint and step code.  Implemented 'T' command
46        support and debugged remote gdb support w/ the Mongoose bsp.
47        Added the memory segment support.
48        * memlimits.h: Disabled all contents in favor of memory sement
49        support.  This file could probably go away.
50        * rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine.
51        rtems_gdb_stub_get_register_from_context(): Implemented MIPS version.
52        rtems_gdb_stub_get_offsets(): Implemented MIPS version.
53        * README: Updated.
54
[a681285]552002-03-01      Joel Sherrill <joel@OARcorp.com>
[5fa68868]56
57        * ChangeLog: Corrected previous entry.
58
[cd6bec6]592002-02-27      Greg Menke <gregory.menke@gsfc.nasa.gov>
60
[5fa68868]61        * mips-stub.c: Modified isr install routine to
[cd6bec6]62        capture all exceptions.
63
[1bbe2e1]642001-02-27      Joel Sherrill <joel@OARcorp.com>
65
66        * Significant modifications including adding thread support, the 'X'
67        command, and reorganizing so that target CPU independent routines
68        could be reused.
69        * gdb_if.h: Added numerous prototypes.
70        * mips-stub.c: Added thread support as well as 'X' command.
71        Also noticed that the 'P' command was from the mips protocol.
72        * rtems-stub-glue.c: New file.  This file contains all generic
73        support which should be able to be reused on another target CPU.
74
[6953e68e]752002-02-08      Joel Sherrill <joel@OARcorp.com>
76
77        * mips-stub.c (handle_exception): Prototype changed to be an RTEMS
78        entry point.  Added comments about possible need to flush cache.
79        (mips_gdb_stub_install): New routine.
80
[fc82e71]812002-02-08      Joel Sherrill <joel@OARcorp.com>
82
83        * Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused
84        with RTEMS.
85        * r46kstub.c: Renamed to mips-stub.c.
86        * mips-stub.c: New file -- was r46kstub.c.
87        * memlimits.h: New file was limits.h.
88        * limits.h: Removed.
89        * r4600.h: Eliminated need for this file.
90        * README: Updated.
91        * gdb_if.h: Added CVS Id.
92        * mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
93
[fb63984]942002-02-08      Joel Sherrill <joel@OARcorp.com>
95
96        * Merged r46kstub.c into RTEMS distribution without modification.
97        I got the code from Franz Fischer <Franz.Fischer@franz-fischer.de>
98        who had used this with an old version of RTEMS with the mips64orion
99        port of RTEMS.  After adding this to the repository, I will tailor
100        this to work with the RTEMS exception processing model and trim
101        no longer needed parts.
102        * ChangeLog, gdb_if.h, ioaddr.h, limits.h, Makefile, mips_opcode.h,
103        r4600.h, r46kstub.c, r46kstub.ld, README, stubinit.S:
104
105Sun Sep 29 16:34:53 1996  C. M. Heard <heard@vvnet.com>
106
107        * Updated snapshot posted.
108
109        * stubinit.S (_reset_exception, _general_exception): Reorder
110        instructions or insert nops as necessary to ensure that the
111        target register of mfc0, mfc1, and cfc1 instructions is not
112        used as a source register in the load delay slot of those
113        instructions and to ensure that the instruction following
114        mtc0 is always something other than mfc0.  Insert .eject
115        directives and reformat some of the comments to make the
116        assembler listing more readable.
117
118        * ioaddr.h:  add comments pointing out implementation-
119        specific address definitions.
120
121        * limits.h:  add comments describing what the implementation-
122        specific macros in this file are supposed to do.
123
124Tue Aug 06 14:43:04 1995  C. M. Heard <heard@vvnet.com>
125
126        * Updated snapshot posted.
127
128        * stubinit.S (_general_exception): Use virtual adresses from
129        kseg0 (cached, unmapped space) instead of kseg1 (uncached,
130        unmapped space) in cache instructions.
131        (_reset_exception): Likewise, and use the right
132        mask to clean the K0 field in the config register.
133
134Fri Jul 26 14:41:49 1995  C. M. Heard <heard@vvnet.com>
135
136        * Initial snapshot posted.
Note: See TracBrowser for help on using the repository browser.