Merging Focuses
When you specify more than one focus for a command, the CLI merges them. The following example combines dfocus and dstatus commands. The focus indicated by the prompt—called the outer focus—determines the output of dstatus.
Note that f is a CLI alias for dfocus.
t1.<> f d
d1.<
d1.<> f tL dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p f D dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.2: 37258.2 Stopped PC=0xffffffffffffffff
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p f D f L dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
Stringing multiple focuses together might not produce the most readable result. In this case, it shows how one dfocus command can modify the arena on which another command operates.