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?

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;
>       
--
Crash-utility mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to