<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/server, branch mips-hack-upstream</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/server?h=mips-hack-upstream</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/server?h=mips-hack-upstream'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2017-04-25T15:56:49Z</updated>
<entry>
<title>server/telnet: Remove exit() call</title>
<updated>2017-04-25T15:56:49Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2016-01-29T22:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=3421b89c9809cbb39cd4bb030687a5c9fd65ded6'/>
<id>urn:sha1:3421b89c9809cbb39cd4bb030687a5c9fd65ded6</id>
<content type='text'>
Change-Id: I8ce99d7d62dfe3cad63cf6bc68f2faf2234e395c
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/3224
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>server/server: Remove all exit() calls</title>
<updated>2017-04-25T15:56:35Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2016-01-24T19:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=b43b95e46022d3baf76b44f7be34bbf0e6119594'/>
<id>urn:sha1:b43b95e46022d3baf76b44f7be34bbf0e6119594</id>
<content type='text'>
With this patch OpenOCD shuts down properly when errors occur in the
server instead of just calling exit().

Change-Id: I2ae1a6153dafc88667951cab9152941cb487be85
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/3223
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Tested-by: jenkins
</content>
</entry>
<entry>
<title>server: Allow 64 address to be send over GBD server</title>
<updated>2017-02-10T12:51:00Z</updated>
<author>
<name>David Ung</name>
<email>davidu@nvidia.com</email>
</author>
<published>2015-01-17T01:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=ea45db5c8a3f4329e870d695cb571251b5aa3102'/>
<id>urn:sha1:ea45db5c8a3f4329e870d695cb571251b5aa3102</id>
<content type='text'>
Accept 64 bit addresses from GDB read memory packet.
Also allow breakpoint/stepping addresses to take 64bit values.

Change-Id: I9bf7b44affe24839cf30897c55ad17fdd29edf14
Signed-off-by: David Ung &lt;david.ung.42@gmail.com&gt;
Signed-off-by: Matthias Welwarsky &lt;matthias.welwarsky@sysgo.com&gt;
</content>
</entry>
<entry>
<title>target: Add 64-bit target address support</title>
<updated>2017-02-10T12:50:17Z</updated>
<author>
<name>Dongxue Zhang</name>
<email>elta.era@gmail.com</email>
</author>
<published>2013-09-23T08:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=47b8cf84202bf792cf66fbfa01169e9592236b8a'/>
<id>urn:sha1:47b8cf84202bf792cf66fbfa01169e9592236b8a</id>
<content type='text'>
Define a target_addr_t type to support 32-bit and 64-bit addresses at
the same time. Also define matching TARGET_PRI*ADDR format macros as
well as a convenient TARGET_ADDR_FMT.

In targets that are 32-bit (avr32, nds32, arm7/9/11, fm4, xmc1000)
be least invasive by leaving the formatting unchanged apart from the
type;
for generic code adopt TARGET_ADDR_FMT as unified address format.

Don't silently change gdb formatting here, leave that to later.

Add COMMAND_PARSE_ADDRESS() macro to abstract the address type.
Implement it using its own parse_target_addr() function, in the hopes
of catching pointer type mismatches better.

Add '--disable-target64' configure option to revert to previous 32-bit
target address behavior.

Change-Id: I2e91d205862ceb14f94b3e72a7e99ee0373a85d5
Signed-off-by: Dongxue Zhang &lt;elta.era@gmail.com&gt;
Signed-off-by: David Ung &lt;david.ung.42@gmail.com&gt;
[AF: Default to enabling (Paul Fertser), rename macros, simplify]
Signed-off-by: Andreas Färber &lt;afaerber@suse.de&gt;
Signed-off-by: Matthias Welwarsky &lt;matthias.welwarsky@sysgo.com&gt;
</content>
</entry>
<entry>
<title>helper,rtos,server: Restore missing warning flags</title>
<updated>2017-01-15T10:16:16Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2016-12-27T00:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=7436f7c2c0318fabce777d8886b302e3ca128606'/>
<id>urn:sha1:7436f7c2c0318fabce777d8886b302e3ca128606</id>
<content type='text'>
These libraries override the used CFLAGS without adding the
defaults. This didn't have any effect until change
http://openocd.zylin.com/3870 (ef4c139). Restore by adding
AM_CLAGS to the per-target CFLAGS.

Interestingly, automake seems to clear the CFLAGS for the target
even if the override variable is only mentioned within a non-active
conditional branch, such as the IS_MINGW for the affected libraries.

Change-Id: I805206865e59e3fa33a7ea3c0d3472e51219351c
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/3927
Tested-by: jenkins
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>Convert to non-recursive make</title>
<updated>2016-12-08T16:23:10Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2016-11-06T19:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=5be455a710c57bbbbd49c2d671b42098db7be5dc'/>
<id>urn:sha1:5be455a710c57bbbbd49c2d671b42098db7be5dc</id>
<content type='text'>
Change-Id: I11f8bc8553957e2ff083c09e72e16881e4d3bb6f
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/3865
Tested-by: jenkins
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>helper: Code cleanup for hexify()</title>
<updated>2016-12-08T12:34:53Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2016-05-22T18:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=69ff7354d9c9accf09374772310098f1f00e8ccb'/>
<id>urn:sha1:69ff7354d9c9accf09374772310098f1f00e8ccb</id>
<content type='text'>
Simplify hexify() and do not longer use 0 as special case for the
parameter 'count' to determine the string length of the binary input.
Instead, use strlen() outside of the function if needed.
Additionally, fix the return value and return the length of the
converted string. The old function always returned 2 * count.

Also, use more appropriate data types for the function parameters and
add a small documentation.

Change-Id: I133a8ab786b8f7c1296afcaf9c0a0b43881e5112
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/3793
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>gdb_server: support qXfer:threads:read packet</title>
<updated>2016-12-08T12:34:00Z</updated>
<author>
<name>Steven Stallion</name>
<email>stallion@squareup.com</email>
</author>
<published>2016-07-21T02:09:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=50dd7207eaae9d2d1f02e7996135d6257c03b395'/>
<id>urn:sha1:50dd7207eaae9d2d1f02e7996135d6257c03b395</id>
<content type='text'>
This patch adds support for the qXfer:threads:read packet. In addition
to providing a more efficient method of updating thread state, recent
versions of GDB (7.11.1 and up) can also report remote thread names.
While thread names are not enabled in this patch due to its limited
applicability at the moment, it can be enabled at a later date with
little effort.

As a part of revamping how threads are presented to GDB, extra info
strings for each of the supported RTOSes were updated to match
conventions present in the GDB source code. For more information, see
remote_threads_extra_info() in remote.c. This results in a much smoother
experience when interacting with GDB.

It is also worth mentioning that use of qXfer:threads:read works around
a number of regressions in older versions of GDB regarding remote thread
display. Trust me, it's great.

Change-Id: I97dd6a93c342ceb9b9d0023b6359db0e5604c6e6
Signed-off-by: Steven Stallion &lt;stallion@squareup.com&gt;
Reviewed-on: http://openocd.zylin.com/3559
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>Perform small writes before sending OK.</title>
<updated>2016-10-30T20:40:56Z</updated>
<author>
<name>Tim Newsome</name>
<email>tim@sifive.com</email>
</author>
<published>2016-10-05T14:57:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=19df456a79c912b9e2162ef05c1fd0c02ec7b14a'/>
<id>urn:sha1:19df456a79c912b9e2162ef05c1fd0c02ec7b14a</id>
<content type='text'>
To speed up downloads, OpenOCD sends gdb OK when a write is received,
even before the write has actually occurred. The failure is then
returned for the next write. That leads to the following confusing
behavior:
```
(gdb) p/x *((int*)0xdeadbeef)=8675309
$2 = 0x845fed
(gdb) p/x *((int*)0x80000000)=6874742
Cannot access memory at address 0x80000000
```
While it's actually the first write that failed.

This change hacks around this problem by not sending OK for small writes
(len&lt;8) until the write has actually occurred. This does not impact
download speed, since during downloads (almost) all writes will have
much larger length.

Change-Id: I1f8b9bb19b0707487f840df6871e372e4ba228dd
Signed-off-by: Tim Newsome &lt;tim@sifive.com&gt;
Reviewed-on: http://openocd.zylin.com/3803
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>helper: Make unhexify() robust on invalid data</title>
<updated>2016-10-17T08:28:05Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2016-05-22T17:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=674141e8a7a6413cb803d90c2a20150260015f81'/>
<id>urn:sha1:674141e8a7a6413cb803d90c2a20150260015f81</id>
<content type='text'>
The current implementation is not suitable for user provided data
because it does not detect invalid inputs in many cases. For example,
the string "aa0xbb" is successfully converted to the 3 bytes: 0xaa,
0x00 and 0xbb. An other example is "aabi" which is successfully
converted to the 2 bytes: 0xaa and 0x0b. Both are obviously incorrect.

Make unhexify() robust on invalid data and use more appropriate data
types for its parameters. Also, add a small documentation for the
function.

Change-Id: Idb799beb86fc608b066c8a76365021ed44c7f890
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/3792
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
</feed>
