Opened on 07/20/16 at 12:08:06
Last modified on 02/15/17 at 14:20:42
#2763 assigned defect
Incorrect exit if condition for capture_flags_global in cpukit/libmisc/capture/capture.c
Reported by: | Vivek Kukreja | Owned by: | Needs Funding |
---|---|---|---|
Priority: | normal | Milestone: | Indefinite |
Component: | unspecified | Version: | 5 |
Severity: | normal | Keywords: | capture.c |
Cc: | Blocked By: | ||
Blocking: |
Description
In capture engine, capture_flags_global is set to RTEMS_CAPTURE_ON when 'cenable' command is run, but the 'ctrace' command exits incorrectly due to the following if condition:
if ( (capture_flags_global & RTEMS_CAPTURE_ON) != 0 )
This should be replaced by:
if ( (capture_flags_global & RTEMS_CAPTURE_ON) == 0 )
Change History (1)
comment:1 Changed on 02/15/17 at 14:20:42 by Sebastian Huber
Milestone: | 4.12 → Indefinite |
---|---|
Owner: | set to Needs Funding |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.