Hi Kazu,
On Thu, Feb 08, 2024 at 08:41:12AM +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
 On 2024/02/05 15:36, Aditya Gupta wrote:
 
 > @@ -1880,7 +1880,7 @@ cmd_set(void)
 >                   		error(INFO, "no panic task found!\n");
 >   				return;
 >   			}
 > -        		set_context(tt->panic_task, NO_PID);
 > +        		set_context(tt->panic_task, NO_PID, FALSE);
 
 How about TRUE for "set -p" too? 
Yes, it makes sense. I will change it to TRUE.
Thanks,
Aditya Gupta
> 
> Thanks,
> Kazu
> 
> >   			show_context(CURRENT_CONTEXT());
> >   			return;
> >   
> > @@ -2559,14 +2559,14 @@ cmd_set(void)
> >   	                case STR_PID:
> >                                   pid = value;
> >                                   task = NO_TASK;
> > -                        	if (set_context(task, pid))
> > +                        	if (set_context(task, pid, FALSE))
> >                                   	show_context(CURRENT_CONTEXT());
> >   	                        break;
> >   	
> >   	                case STR_TASK:
> >                                   task = value;
> >                                   pid = NO_PID;
> > -                                if (set_context(task, pid))
> > +                                if (set_context(task, pid, FALSE))
> >                                           show_context(CURRENT_CONTEXT());
> >   	                        break;
> >