Files
openocd/src/target
craigblackmore e4d98b83da Fix target not halting when GDB jumps to a hardware breakpoint (#283)
* Fix target not halting when GDB jumps to a hardware breakpoint

This issue affects riscv-0.11. It is caused by OpenOCD manually
stepping over hardware breakpoints to resume or step after a halt.
This is not necessary as GDB should remove and add breakpoints as
required.

At the moment OpenOCD still steps over hardware watchpoints manually
as GDB needs to know which address triggered the watchpoint and
OpenOCD does not currently provide this information.

Tested on the freedom-e310-arty using the GDB regression suite.
There is one regression which is a corner case caused by a GDB bug.
If a breakpoint is set in GDB and then the executable file is
discarded, GDB reverts to its default information about address
sizes e.g. on the freedom-e310-arty, 0x20400000 becomes
0xffff20400000. As a result, GDB is unable to step over breakpoints
set before the executable was discarded.

* Fix style issues

* Revert "Fix style issues"

This reverts commit 43e7e4b60a0675dce686a6e83ba10b3f0ef62d8a.

* Revert "Fix target not halting when GDB jumps to a hardware breakpoint"

This reverts commit e2717e4cfa3df21b2878791f4b9b8fbcbc2f5195.

* Don't step over breakpoints
2018-08-06 12:41:42 -07:00
..
2018-01-16 09:05:41 +00:00
2018-03-30 09:58:21 +01:00
2016-07-19 10:45:16 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2018-05-30 09:36:46 +01:00
2018-05-08 15:21:49 -07:00
2018-05-08 15:21:49 -07:00
2017-02-10 14:18:34 +01:00
2016-05-24 22:30:01 +01:00
2018-06-04 09:16:08 +01:00
2018-06-04 09:16:08 +01:00
2018-03-30 09:58:21 +01:00
2018-06-04 09:16:08 +01:00
2018-03-16 08:58:06 +00:00
2018-03-16 08:58:06 +00:00
2018-06-04 09:16:08 +01:00
2018-05-08 15:21:49 -07:00
2016-05-24 22:30:55 +01:00
2018-03-30 09:58:21 +01:00
2018-01-25 16:43:49 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2018-03-30 09:58:21 +01:00
2018-07-18 13:42:30 -07:00
2018-02-19 15:07:10 -08:00
2017-05-08 18:04:56 +01:00
2018-06-04 09:16:08 +01:00
2016-05-24 22:30:01 +01:00
2018-03-27 09:15:27 +01:00
2016-12-08 12:34:53 +00:00
2016-05-24 22:30:55 +01:00
2017-12-07 07:53:13 +00:00
2018-06-04 09:16:08 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2018-01-25 16:43:49 +00:00
2016-05-24 22:30:55 +01:00