diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2019-11-04 22:57:29 +0100 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2019-11-08 22:33:05 +0100 |
commit | 88b545002e553f1e21fab1aff854a3e325976ad3 (patch) | |
tree | 45aaddcb10ccc2d17706e2fee31d367042bbd2f0 /func.c | |
parent | Release version 2.18 (diff) | |
download | sis-88b545002e553f1e21fab1aff854a3e325976ad3.tar.bz2 |
Improve gdb watchpoint handling
* show old/new values
* stop at correct instruction
Diffstat (limited to 'func.c')
-rw-r--r-- | func.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1092,6 +1092,7 @@ check_wpr (struct pstate *sregs, int32 address, unsigned char mask) ebase.wpaddress = address; if (ebase.wphit) return (0); + ebase.wptype = 3; return (WPT_HIT); } } @@ -1111,6 +1112,7 @@ check_wpw (struct pstate *sregs, int32 address, unsigned char mask) ebase.wpaddress = ebase.wpws[i]; if (ebase.wphit) return (0); + ebase.wptype = 2; return (WPT_HIT); } } |