cobalt: Add _CC_COBALT_DEBUG_SYNC_BP feature
PATCH 1/2 cobalt: Add _CC_COBALT_DEBUG_SYNC_BP feature
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)
include/cobalt/uapi/corectl.h +1 -0
@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1
kernel/cobalt/posix/corectl.c +3 -0
@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET + val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG
Signature · 6 lines
2.16.4 -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 30 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +0
-0
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 9 lines
kernel/cobalt/posix/corectl.c +3
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET + val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG
Ack.
Signature · 1 line
Philippe.
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET
Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
I will revert this futile attempt again, saving us this feature bit for real features.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 45 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Quoted 8 lines
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
I will revert this futile attempt again, saving us this feature bit for real features.
Adding a per-arch selector (HAVE_WHATEVER) defined at build time in the I-pipe would solve the point, which is orthogonal to the way to export it via the corectl interface. I'm not sure to understand what you mean by runtime detection of such a feature.
Signature · 1 line
Philippe.
Quoted 51 lines · Philippe Gerum
Quoted 50 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
Quoted 8 lines
Quoted 3 lines
I will revert this futile attempt again, saving us this feature bit for real features.
Adding a per-arch selector (
HAVE_WHATEVER) defined at build time in the I-pipe would solve the point, which is orthogonal to the way to export it via the corectl interface. I'm not sure to understand what you mean by runtime detection of such a feature.
s,detection,provision,
Signature · 1 line
Philippe.
Quoted 51 lines · Philippe Gerum
Quoted 50 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
Quoted 9 lines
Quoted 3 lines
I will revert this futile attempt again, saving us this feature bit for real features.
Adding a per-arch selector (
HAVE_WHATEVER) defined at build time in the I-pipe would solve the point, which is orthogonal to the way to export it via the corectl interface. I'm not sure to understand what you mean by runtime detection of such a feature.
It remains just a debug feature, an ARM64 patch is already under test, PowerPC is not in regular testing (yet) - so let's just close the only more annoying issue (ARM64) and be done (for now). Anything else would mean rolling out tones for new releases for something that was already solved (for those).
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 5 lines · EDT Jan Kiszka
It remains just a debug feature, an ARM64 patch is already under test, PowerPC is not in regular testing (yet) - so let's just close the only more annoying issue (ARM64) and be done (for now). Anything else would mean rolling out tones for new releases for something that was already solved (for those).
Does this feature make debugging xenomai userspace apps more reliable with gdb? I thought we already had in place a system that suspended all threads in the process when a breakpoint is hit, and with set scheduler-locking on you coudl step through a particular thread without interruption. What does this new feature add?
If I wasn't super swamped I'd jump on this to try and make life easier for everyone. It really doesn't seem like it would be that hard if it's just a couple modifications to the return from interrupt path. On PPC there are several of these paths.
I've been thinking that it may make some sense to drop older powerpc support since almost everything is e500 or later these days. (Though the project we flew that's on the ISS right now was a 440.)
Steven
Quoted 7 lines · steven.seeger flightsystems.net
Quoted 5 lines · EDT Jan Kiszka
It remains just a debug feature, an ARM64 patch is already under test, PowerPC is not in regular testing (yet) - so let's just close the only more annoying issue (ARM64) and be done (for now). Anything else would mean rolling out tones for new releases for something that was already solved (for those).
Quoted 5 lines
Does this feature make debugging xenomai userspace apps more reliable with gdb? I thought we already had in place a system that suspended all threads in the process when a breakpoint is hit, and with set scheduler-locking on you coudl step through a particular thread without interruption. What does this new feature add?
This is what we do now, not before. If one thread hit the BP, it got migrated to non-RT first. Until there was finally the chance to issue the stop to all other threads, the RT world could continue. And similar things could happen reversely on resume. Look at the gdb test case for what is now addressed.
Again, this is only visible to users behind a gdb session. The application ABI will not change. And debugging RT application will remain an invasive step, leaving plenty of chances to break irreversibly what you've just stopped. I'm still hearing such complaints, we will need to dig deeper to improve that as well.
Quoted 5 lines
If I wasn't super swamped I'd jump on this to try and make life easier for everyone. It really doesn't seem like it would be that hard if it's just a couple modifications to the return from interrupt path. On PPC there are several of these paths.
We "just" need a hook on return to user space in non-RT. But I'm not familiar with PPC to tell if that is already complex enough.
Quoted 4 lines
I've been thinking that it may make some sense to drop older powerpc support since almost everything is e500 or later these days. (Though the project we flew that's on the ISS right now was a 440.)
Can't help much with that decision. But it basically boils down to announcing such considerations, asking for feedback and then decide and communicate. But as some parts of our community are even then silent, you might need telepathy. ;)
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 2 lines · EDT Jan Kiszka
We "just" need a hook on return to user space in non-RT. But I'm not familiar with PPC to tell if that is already complex enough.
It should be pretty straight-forward. The issue is there are several sub-archs of PPC32 that each have their own head file and I was thinking the ret_from* files are in those, but in reality they're all in one file entry_32.S so it may not be as complicated as I thought.
Quoted 5 lines
Can't help much with that decision. But it basically boils down to announcing such considerations, asking for feedback and then decide and communicate. But as some parts of our community are even then silent, you might need telepathy. ;)
I've seen one person other than me mention PPC on the list in the last few months, but I'd need telepathy to find him at this point. I can't pay attention to anything anymore because I'm trying to do 20 things at once. ;)
Steven
Quoted 45 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Quoted 8 lines
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
I will revert this futile attempt again, saving us this feature bit for real features.
The other way you can export this is via Cobalt's per-arch feature bits. A new feature bit advertising SYNC_BP support could be conveyed to userland through cobalt_bind_req.feat_ret, as received during the process binding operation.
Signature · 1 line
Philippe.
Quoted 51 lines · Philippe Gerum via Xenomai
Quoted 50 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
Quoted 9 lines
Quoted 3 lines
I will revert this futile attempt again, saving us this feature bit for real features.
The other way you can export this is via Cobalt's per-arch feature bits. A new feature bit advertising
SYNC_BPsupport could be conveyed to userland through cobalt_bind_req.feat_ret, as received during the process binding operation.
The point is that the kernels are out, both those supporting it and those that don't. So, as we have to touch the kernels anyway, I'm more in favor of fixing the real issue (the broken interface, i.e. importing the upstream feature without implementing it).
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 62 lines · Jan Kiszka
Quoted 51 lines · Philippe Gerum via Xenomai
Quoted 50 lines · Jan Kiszka
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
This signals if the core supports synchronous stop and resume on breakpoints. It depends on I-pipe support that is not available for all architectures and I-pipe kernel version.
Signed-off-by Jan Kiszka <[email protected]>--- include/cobalt/uapi/corectl.h | 1 + kernel/cobalt/posix/corectl.c | 3 +++ 2 files changed, 4 insertions(+)include/cobalt/uapi/corectl.h +1
-0@@ -33,6 +33,7 @@# define _CC_COBALT_DEBUG_LEGACY 128# define _CC_COBALT_DEBUG_TRACE_RELAX 256# define _CC_COBALT_DEBUG_NET 512 +# define _CC_COBALT_DEBUG_SYNC_BP 1024#define _CC_COBALT_GET_POLICIES 4# define _CC_COBALT_SCHED_FIFO 1kernel/cobalt/posix/corectl.c +1
-0@@ -79,6 +79,9 @@ static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) val |= _CC_COBALT_DEBUG_TRACE_RELAX;if (IS_ENABLED (CONFIG_XENO_DRIVERS_RTNET_CHECKED )) val |= _CC_COBALT_DEBUG_NET; +#ifdef IPIPE_KEVT_USERINTRET Quoted 9 lines
kernel/cobalt/posix/corectl.c static int do_conf_option(int option, void __user *u_buf, size_t u_bufsz) · line 87
Quoted 6 lines
kernel/cobalt/posix/corectl.c +2
-0+ val |= _CC_COBALT_DEBUG_SYNC_BP; +#endif break ;case _CC_COBALT_GET_WATCHDOG:#ifdef CONFIG_XENO_OPT_WATCHDOG Ack.
Just realized that this is pointless: Both arm64 and ppc32 have the generic infrastructure with that define in place but do not implement it. So we cannot detect if an I-pipe tree provides the feature during build or runtime. We have to implement it. I will look into arm64 ASAP.
Quoted 9 lines
Quoted 3 lines
I will revert this futile attempt again, saving us this feature bit for real features.
The other way you can export this is via Cobalt's per-arch feature bits. A new feature bit advertising
SYNC_BPsupport could be conveyed to userland through cobalt_bind_req.feat_ret, as received during the process binding operation.
Quoted 5 lines
The point is that the kernels are out, both those supporting it and those that don't. So, as we have to touch the kernels anyway, I'm more in favor of fixing the real issue (the broken interface, i.e. importing the upstream feature without implementing it).
I would simply ignore the SYNC_BP feature advertised by current kernels by changing the way it is probed for by the "fixed" ones (i.e. using a different symbol). Having smokey's gdb test returning with N/A status only for the former would be acceptable.
Signature · 1 line
Philippe.