Will try it today.
Best.
From: Tommy Murphy
Sent: Thursday, December 1, 2022 10:04 AM
To: Nima Palizban - C68739 ;
openocd-devel@lists.sourceforge.net
Subject: Re: mips_m4k watchpoint issue.
You don't often get email from
tommy_mur...@hotmail.com<mailto:tommy_mur...@hotmail.com>
Did you try patching it locally like that and testing it?
Did it work as expected for setting and unsetting the watchpoint?
If so, it might be worth submitting that as a patch/PR via the normal OpenOCD
process?
mips32->num_data_bpoints_avail++;
return ERROR_OK;
}
Best/Nima.
From: Tommy Murphy
Sent: Thursday, December 1, 2022 8:56 AM
To: Nima Palizban - C68739 ;
openocd-devel@lists.sourceforge.net
Subject: Re: mips_m4k watchpoint issue.
You don't often get email from
tommy_mur...@hotm
This PR seems to have changed how watchpoints are set and may be relevant here?
https://github.com/openocd-org/openocd/commit/fb43f1ff4e2f0638110ffcc4e63bee8b5361db64#diff-18b6c875f0bfee773f2a5e6e0a100e4d9c641fec9c870d4da22ca0aa957259c8L914
- watchpoint->set = wp_num + 1;
+ watchpoint->number = w