X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-gdb.git;a=blobdiff_plain;f=gdb-xds.go;fp=gdb-xds.go;h=9dfb71711199981da0058a4bf53615a91c8fa6ed;hp=f1216ce573376cc2685518ac37b8094f878703d3;hb=0cd3a46a918d38ac671dd55600fc90fef81ba90f;hpb=cd2ac6e38a52aaa1db62597bd95f6f04b7f01409 diff --git a/gdb-xds.go b/gdb-xds.go index f1216ce..9dfb717 100644 --- a/gdb-xds.go +++ b/gdb-xds.go @@ -440,7 +440,9 @@ func (g *GdbXds) printProjectsList() (int, error) { fmt.Fprintln(writer, "\nList of installed cross SDKs (use: export XDS_SDK_ID=<< ID >>):") fmt.Fprintln(writer, "ID \t Name") for _, s := range sdks { - fmt.Fprintf(writer, " %s \t %s\n", s.ID, s.Name) + if s.Status == xaapiv1.SdkStatusInstalled { + fmt.Fprintf(writer, " %s \t %s\n", s.ID, s.Name) + } } if len(g.projects) > 0 && len(sdks) > 0 {