# Re: \[RFC PATCH v4 1/2\] powerpc/xmon: Allow listing active breakpoints in read-only mode

- From: Andrew Donnellan \<hidden\>
- Date: 2019-08-15 07:54:52 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2019/08/9511597
- Thread: https://ratatoskr.run/linuxppc-dev/2019/08/9511594/t.md

```text
On 15/8/19 3:06 pm, Christopher M. Riedl wrote:>   	case 'c':
> +		if (xmon_is_ro) {
> +			printf(xmon_ro_msg);
> +			break;
> +		}
>   		if (!scanhex(&a)) {
>   			/* clear all breakpoints */
>   			for (i = 0; i < NBPTS; ++i)

Clearing breakpoints is probably alright too.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited

```
