<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/helper, branch mips-hack</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/helper?h=mips-hack</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/helper?h=mips-hack'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2015-11-03T22:19:36Z</updated>
<entry>
<title>helper/options: Use OPENOCD_SCRIPTS dir if set.</title>
<updated>2015-11-03T22:19:36Z</updated>
<author>
<name>Jonathan Larmour</name>
<email>jifl@eCosCentric.com</email>
</author>
<published>2015-10-06T20:47:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=03e240f3bfb973968961c1ed21cac748f0d771da'/>
<id>urn:sha1:03e240f3bfb973968961c1ed21cac748f0d771da</id>
<content type='text'>
This makes it easier to relocate the install tree of OpenOCD from where
it was originally built (for example, if put onto a different machine),
without having to change scripts or add something to the command line
every time.

Change-Id: Ia5edf0eba166f7a999f267bd6a92402dab9b399e
Signed-off-by: Jonathan Larmour &lt;jifl@eCosCentric.com&gt;
Reviewed-on: http://openocd.zylin.com/3004
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>helper/options: Cleanup #includes.</title>
<updated>2015-11-03T22:17:29Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-10-03T11:32:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=5479ed42ba30dcc692c696cf1d215278e03ce0be'/>
<id>urn:sha1:5479ed42ba30dcc692c696cf1d215278e03ce0be</id>
<content type='text'>
Change-Id: I1c05cf6bb68049176cdd1b3bcff4dcb8b9ae963e
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2995
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>helper/log: Cleanup #includes.</title>
<updated>2015-11-03T22:17:04Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-10-03T11:48:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=c467c3ddd5a5709685d3dc8b49d7e00554f8ced2'/>
<id>urn:sha1:c467c3ddd5a5709685d3dc8b49d7e00554f8ced2</id>
<content type='text'>
Change-Id: Ie343524dd843d518086a86866391b5a34556082b
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2996
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>helper/ioutil: Rename MixedCaps function.</title>
<updated>2015-11-03T22:15:51Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-09-21T12:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=0dcfa4d26a365279edc51bdda4c8c99d077f6c02'/>
<id>urn:sha1:0dcfa4d26a365279edc51bdda4c8c99d077f6c02</id>
<content type='text'>
Change-Id: I10075d4d5f45a7105d5a007631510236dbb9b08b
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2957
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>helper/fileio: Fix memory leak.</title>
<updated>2015-11-03T22:15:31Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-10-02T15:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=627f1cb3542408533158dc5682b468ef48614eb8'/>
<id>urn:sha1:627f1cb3542408533158dc5682b468ef48614eb8</id>
<content type='text'>
The memory leak occurs when opening a file fails. It can be
reproduced by using the "flash verify_bank" command with a filename
that does not exist.

Change-Id: I60b7b545c18793d750ff75d08124fde3f0aa6f64
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2998
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>helper/fileio: Use size_t for file size.</title>
<updated>2015-11-03T22:14:07Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-10-02T15:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=24d9f0cfa0ee84e927d84957cab22c6571fa3185'/>
<id>urn:sha1:24d9f0cfa0ee84e927d84957cab22c6571fa3185</id>
<content type='text'>
Change-Id: Ie116b44ba15e8ae41ca9ed4a354a82b2c4a92233
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2997
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>Change from sys/poll.h to standard poll.h location</title>
<updated>2015-11-03T21:38:58Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-08-29T11:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=c1c4a6dd7f5f08cd801a323f1473d1a92543e336'/>
<id>urn:sha1:c1c4a6dd7f5f08cd801a323f1473d1a92543e336</id>
<content type='text'>
According to "man 2 poll" the correct header to include is poll.h, not
sys/poll.h. Reported by a build against musl.

Change-Id: I5298b49dc947d1a368e423104c0c0c7b9bdd1a10
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Signed-off-by: Andreas Färber &lt;afaerber@suse.de&gt;
Reviewed-on: http://openocd.zylin.com/2947
Tested-by: jenkins
</content>
</entry>
<entry>
<title>Tcl exception codes cleanup, shutdown command amendments</title>
<updated>2015-04-14T11:11:48Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-03-13T13:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=19f219f731f29503c8e4d432935d3ea558cc1659'/>
<id>urn:sha1:19f219f731f29503c8e4d432935d3ea558cc1659</id>
<content type='text'>
This patch might influence openocd Tcl commands behaviour in subtle
ways, please give it a nice testing.

The idea is that if an OpenOCD Tcl command returns an error, an
exception is raised, and then the return code is propogated all the
way up (or to the "catch" if present). This allows to detect
"shutdown" which is not actually an error but has to raise an
exception to stop execution of the commands that follow it in the
script.

openocd_thread special-cases shutdown because it should then terminate
OpenOCD with a success error code, unless shutdown was called with an
optional "error" argument which means terminate with a non-zero exit
code.

Change-Id: I7b6fa8a2e24c947dc45d8def0008b4b007c478b3
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2600
Tested-by: jenkins
Reviewed-by: Juha Niskanen &lt;juha.niskanen@haltian.com&gt;
Reviewed-by: Jens Bauer &lt;jens@gpio.dk&gt;
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>helper: shutdown command should return with 0 exit status</title>
<updated>2015-04-14T11:10:18Z</updated>
<author>
<name>Juha Niskanen</name>
<email>juha.niskanen@haltian.com</email>
</author>
<published>2015-03-09T11:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=33bb0fe6194b697bfc7e89338c0ffac1c54d09be'/>
<id>urn:sha1:33bb0fe6194b697bfc7e89338c0ffac1c54d09be</id>
<content type='text'>
Commit a35712a85c42 caused a regression where command

openocd -c "echo a1; shutdown; echo a2"

always returned non-zero exit status to operating system,
even when commands before shutdown all succeeded. This patch
attempt to fix this.

Change-Id: I3f478c2c51d100af810ea0171d2fd4c8fcc657f3
Signed-off-by: Juha Niskanen &lt;juha.niskanen@haltian.com&gt;
Reviewed-on: http://openocd.zylin.com/2589
Tested-by: jenkins
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>configure: define WIN32_LEAN_AND_MEAN early to make it effective</title>
<updated>2015-02-04T21:56:55Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-01-20T17:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=c9639ae2acb5554c7b61cda2b4251b4e22223d8b'/>
<id>urn:sha1:c9639ae2acb5554c7b61cda2b4251b4e22223d8b</id>
<content type='text'>
This macro makes windows builds faster and helps with the old "#define
interface struct" issue as the word "interface" is part of libusb-0.1
API. However, defining it in replacements.h is too late, as windows.h
gets included by that time from somewhere else.

This solution is provided by Ray Donnelly from the MSYS2 team.

Change-Id: I376a5fb3d106786515d7e1ba44dbd751e4dcdb1b
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2486
Tested-by: jenkins
Reviewed-by: Xiaofan &lt;xiaofanc@gmail.com&gt;
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
</feed>
