Tim Newsome
a3c26250bf
Merge pull request #116 from riscv/multigdb
...
Fix trigger code to work with multi-gdb mode instead of RTOS mode
2017-10-03 11:53:58 -07:00
Tim Newsome
e94c809ce4
Merge pull request #120 from gnu-mcu-eclipse/riscv-warnings
...
Silence some clang warnings
2017-10-03 11:27:57 -07:00
Tim Newsome
2f6dd2a4b5
Merge pull request #121 from gnu-mcu-eclipse/riscv-reorder
...
flash/nor/Makefile.am: keep files in lexicographical order
2017-10-03 11:26:32 -07:00
Liviu Ionescu
066ce338d8
flash/nor/Makefile.am: lexicographical order
2017-10-03 00:48:15 +03:00
Liviu Ionescu
f9f303923e
target/riscv/asm.h: use tab for indentation
2017-10-03 00:36:22 +03:00
Liviu Ionescu
f5a69e547f
target/riscv/program.c: fix clang warning
...
- I'm not sure I understand the logic behind the original statement,
but on macOS it fails to compile.
2017-10-03 00:23:14 +03:00
Liviu Ionescu
728a617bd4
target/riscv: Silence -Werror=return-type
...
- clang compains about the functions not returning a value
2017-10-03 00:17:57 +03:00
Tim Newsome
12bb3a4fd4
Merge pull request #119 from gnu-mcu-eclipse/riscv-upd
...
Update to master (Aug 10, 2017)
2017-10-02 11:56:19 -07:00
Liviu Ionescu
7dc04d7d0a
Merge commit '7719e9618e753ac41a46a2488dfba549ac578891' into riscv-upd
2017-10-01 01:57:46 +03:00
Tim Newsome
51f73a6769
Fix triggers for multi-gdb mode.
2017-09-26 15:40:49 -07:00
Tim Newsome
744894e965
Better debug messages.
2017-09-26 15:40:41 -07:00
Tim Newsome
a854089fd1
Merge pull request #114 from riscv/reset
...
Reset
2017-09-25 11:05:42 -07:00
Tim Newsome
f0195868d3
Fall back on ndmreset if hartreset is unsupported.
2017-09-21 14:53:12 -07:00
Tim Newsome
fe36097ff8
Fix reset for multicore.
2017-09-21 12:42:40 -07:00
Tim Newsome
848fe0ffcf
Cleaning up single-hart reset.
2017-09-19 17:41:52 -07:00
Tim Newsome
4e701669b7
Merge pull request #113 from riscv/macos_build
...
Add clang build
2017-09-19 14:11:10 -07:00
Tim Newsome
fd2d2d0aa3
Merge pull request #91 from riscv/info
...
Be more clear in multi-core systems without -rtos
2017-09-19 12:53:02 -07:00
Tim Newsome
60354cbea2
clang fix, don't allow unaligned uint64_t pointers
2017-09-18 14:56:46 -07:00
Tim Newsome
ed9a04bde9
Remove unnecessary abs().
2017-09-18 14:35:47 -07:00
Tim Newsome
0abd94b50c
Make constants unsigned for clang.
2017-09-18 14:23:59 -07:00
Tim Newsome
702cb0dd46
Another try at 32/64 gcc/clang
2017-09-18 14:05:32 -07:00
Tim Newsome
604dfa0dcc
Try to fix some clang warnings.
2017-09-18 14:03:33 -07:00
Tim Newsome
bf737b8985
Remove osx, do 32/64 gcc/clang.
2017-09-18 13:52:49 -07:00
Tim Newsome
a715500912
Try clang build.
...
Travis takes a long time to start OSX builds.
2017-09-18 13:47:03 -07:00
Tim Newsome
21bd5e7b68
Try OSX build.
2017-09-18 13:37:51 -07:00
Tim Newsome
157a67a98a
Be more clear in multi-core systems without -rtos
...
Don't print out there's a hart with XLEN of 0.
2017-09-18 11:29:14 -07:00
Tim Newsome
deaf2d7663
Merge pull request #109 from riscv/fextension
...
Add support for F extension.
2017-09-15 11:23:57 -07:00
Tim Newsome
ce20be3d78
Add support for F extension.
2017-09-14 16:23:47 -07:00
Tim Newsome
1cd8ecfdcd
Merge pull request #107 from riscv/infloop
...
Add timeout to another infinite loop.
2017-09-11 12:19:44 -07:00
Tim Newsome
f9b2549e20
Tell user how to increase timeout.
2017-09-11 12:11:24 -07:00
Tim Newsome
a6ec1a0e68
Add timeout to another infinite loop.
2017-09-11 11:35:47 -07:00
Palmer Dabbelt
16efac59af
Merge pull request #106 from riscv/thread_details
...
Properly show XLEN for each thread.
2017-09-01 11:51:29 -07:00
Tim Newsome
ce740d02d6
Properly show XLEN for each thread.
2017-09-01 11:29:15 -07:00
Tim Newsome
48cda64282
Merge pull request #97 from riscv/keepalive
...
Add some keep_alive()s for use with slow targets.
2017-08-30 12:14:23 -07:00
Tim Newsome
12aca4ab7e
Merge branch 'riscv' into keepalive
2017-08-30 12:09:51 -07:00
Tim Newsome
3c25b9a0c4
Merge pull request #105 from riscv/memread
...
memory read is now completely stable even on intermittently slow targets
2017-08-29 17:33:51 -07:00
Tim Newsome
6721988ce3
Ensure read_memory() only reads each address once.
...
Previously it might read an address multiple times if an abstract
command took longer to execute than expected.
The new implementations reads from the target how far it has gotten
along reading memory, and resumes from there if cmderr=busy.
This ended up being a bigger change than I envisioned, but in the end it
deleted more lines than it added, so I'm happy. :-)
2017-08-29 17:25:04 -07:00
Palmer Dabbelt
94d7b05046
Merge pull request #104 from riscv/debug_newline
...
Remove unnecessary \n
2017-08-29 10:40:52 -07:00
Tim Newsome
2efc415db4
Finally nailed memory read on slow targets
...
The downloaded program now post-increments, and there's no longer an
attempt to read the current address from the target. This made it easier
to fix the problem where at the start of the loop the current address
was already read (in regular entry) or has not yet been read (when the
first round through the loop encountered busy more than once, or busy
was encountered at least once later on).
2017-08-28 11:17:55 -07:00
Tim Newsome
5f53655e65
Fix off-by-one error.
2017-08-26 18:25:10 -07:00
Tim Newsome
eef9442aa7
Remove redundant code.
2017-08-26 17:50:05 -07:00
Tim Newsome
5bdee8bc66
Fix off-by-3 error on 64-bit targets.
...
This caused everything to fall apart when debugging slow 64-bit targets.
2017-08-26 17:49:13 -07:00
Tim Newsome
8bcec87cc1
Remove unnecessary \n
2017-08-26 16:53:00 -07:00
Tim Newsome
92ef328161
Don't reset DMI when an abstract command is busy.
2017-08-25 18:14:08 -07:00
Tim Newsome
a9bcc48064
Remove unnecessary newlines.
2017-08-25 18:14:08 -07:00
Palmer Dabbelt
322669ca98
Merge pull request #95 from riscv/memread
...
Fix block memory reads on slow targets.
2017-08-25 16:57:07 -07:00
Tim Newsome
4d0e88d887
Merge pull request #100 from riscv/riscv_timeout_commands
...
riscv: Add commands for setting timeouts
2017-08-25 09:49:15 -07:00
Tim Newsome
35a0b519d9
Merge pull request #102 from gnu-mcu-eclipse/riscv-sockaddr
...
server.c: fix clang warning
2017-08-25 09:37:59 -07:00
Liviu Ionescu
b42bc76e2e
server.c: fix clang warning
...
/Users/ilg/Work/openocd/openocd.git/src/server/server.c:305:22: error:
incompatible pointer types passing 'struct sockaddr_in *' to
parameter of type 'struct sockaddr *'
[-Werror,-Wincompatible-pointer-types]
getsockname(c->fd, &addr_in, &addr_in_size);
^~~~~~~~
/usr/include/sys/socket.h:687:50: note: passing argument to parameter
here
int getsockname(int, struct sockaddr * __restrict, socklen_t *
__restrict)
2017-08-25 14:53:45 +03:00
Megan Wachs
94de39c221
riscv: Put commandd_handlers before they are needed. Tabs vs spaces.
2017-08-15 17:04:59 -07:00