<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/target/openrisc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/target/openrisc?h=master</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/target/openrisc?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2020-03-07T15:30:05Z</updated>
<entry>
<title>helper/binarybuffer: fix clang static analyzer warnings</title>
<updated>2020-03-07T15:30:05Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:56:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a2e822834df52efef5e1bbcb91a6eb1afbf102db'/>
<id>urn:sha1:a2e822834df52efef5e1bbcb91a6eb1afbf102db</id>
<content type='text'>
Writing bits to an uninitialized buffer generated false warnings.
Zero buffers before setting them by buf_set_u32|64()
(do it only if bit-by-bit copy loop is used,
zeroed buffer is not necessary if a fast path write is used)

Change-Id: I2f7f8ddb45b0cbd08d3e249534fc51f4b5cc6694
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5383
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>helper/command: change prototype of command_print/command_print_sameline</title>
<updated>2019-05-14T18:37:11Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-04-03T08:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6cb5ba6f1136df2986850f5c176cb38e34ca1795'/>
<id>urn:sha1:6cb5ba6f1136df2986850f5c176cb38e34ca1795</id>
<content type='text'>
To prepare for handling TCL return values consistently, all calls
to command_print/command_print_sameline should switch to CMD as
first parameter.

Change prototype of command_print() and command_print_sameline()
to pass CMD instead of CMD_CTX.
Since the first parameter is currently not used, the change can be
done though scripts without manual coding.
This patch is created using the command:
	sed -i PATTERN $(find src/ doc/ -type f)
with all the following patters:
	's/\(command_print(cmd\)-&gt;ctx,/\1,/'
	's/\(command_print(CMD\)_CTX,/\1,/'
	's/\(command_print(struct command_\)context \*context,/\1invocation *cmd,/'
	's/\(command_print_sameline(cmd\)-&gt;ctx,/\1,/'
	's/\(command_print_sameline(CMD\)_CTX,/\1,/'
	's/\(command_print_sameline(struct command_\)context \*context,/\1invocation *cmd,/'

This change is inspired by http://openocd.zylin.com/1815 from Paul
Fertser but is now done through scripting.

Change-Id: I3386d8f96cdc477e7a2308dd18269de3bed04385
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5081
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>target/openrisc: use coherent syntax in struct initialization</title>
<updated>2019-04-07T07:14:44Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-01-04T10:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a18c1f289dc4d32d636791462880ae4a94a338b7'/>
<id>urn:sha1:a18c1f289dc4d32d636791462880ae4a94a338b7</id>
<content type='text'>
While initializing struct command_registration, the field's name "name"
is not specified, thus relying on the fact that it is the first field
declared in the struct and it's initialization value can be listed as
the first one.

Be coherent in the struct initialization and always use the field's
name.

Change-Id: I65d32870bf4d3df845db69682fe445c71642f976
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5012
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Tested-by: jenkins
</content>
</entry>
<entry>
<title>target/openrisc/or1k: Use 'bool' data type</title>
<updated>2019-03-06T16:20:32Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2019-02-26T13:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6431a85b0ad3a39895be780053d589a1bf1b88c2'/>
<id>urn:sha1:6431a85b0ad3a39895be780053d589a1bf1b88c2</id>
<content type='text'>
Change-Id: I6393bb8503d64947a1f2349e1d14c1552cabf927
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/4971
Tested-by: jenkins
Reviewed-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use enum for target_register_timer_callback()</title>
<updated>2019-03-01T08:32:03Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2019-02-15T13:36:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=21687eb983a4d5e30cd9c4050b9ebce2f3b280c7'/>
<id>urn:sha1:21687eb983a4d5e30cd9c4050b9ebce2f3b280c7</id>
<content type='text'>
Change-Id: I268e8c5d783914aa97cbde301448b2c5bc3cb9e6
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/4921
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>server: free strduped port numbers</title>
<updated>2018-03-15T17:08:53Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2018-02-14T23:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=33a33553046bc720800f410adbc81bc2fb175e74'/>
<id>urn:sha1:33a33553046bc720800f410adbc81bc2fb175e74</id>
<content type='text'>
Although the leak is negligible, the clean heap on exit will ease
valgrind testing.

Change-Id: I3a7a9c8e8dc7557aa51d0b9caa244537e5e7007d
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/4410
Tested-by: jenkins
</content>
</entry>
<entry>
<title>Use timeval helpers</title>
<updated>2018-01-25T16:43:49Z</updated>
<author>
<name>Christopher Head</name>
<email>chead@zaber.com</email>
</author>
<published>2018-01-24T22:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=2428722a23d8a08b15331ab95884762e5f329a02'/>
<id>urn:sha1:2428722a23d8a08b15331ab95884762e5f329a02</id>
<content type='text'>
Some of these changes actually fix broken comparisons which could
occasionally fail. Others just clean up the code and make it more clear.

Change-Id: I6c398bdc45fa0d2716f48a74822457d1351f81a5
Signed-off-by: Christopher Head &lt;chead@zaber.com&gt;
Reviewed-on: http://openocd.zylin.com/4380
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>telnet_server: drop unused options</title>
<updated>2017-10-03T10:16:36Z</updated>
<author>
<name>Karl Palsson</name>
<email>karlp@tweak.net.au</email>
</author>
<published>2017-05-10T14:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e78b33e3ca2fe05e82f974fcd6e745dbcfa6ca37'/>
<id>urn:sha1:e78b33e3ca2fe05e82f974fcd6e745dbcfa6ca37</id>
<content type='text'>
They're never used, so just drop them.

Change-Id: Ie137deed3e7258f9d6af7e0cb508e73df0f53ee0
Signed-off-by: Karl Palsson &lt;karlp@tweak.net.au&gt;
Reviewed-on: http://openocd.zylin.com/4131
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&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>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>
</feed>
