From owner-freebsd-hackers@freebsd.org Thu Jul 20 16:24:24 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDEC3C7B6F1 for ; Thu, 20 Jul 2017 16:24:24 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7899E6F675 for ; Thu, 20 Jul 2017 16:24:24 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id w45so27037275uac.5 for ; Thu, 20 Jul 2017 09:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Yukd31bhFnjxWm1whv0HwYuZqbO5+gFxGacF8dCLxlk=; b=X6/tbRylNMON8nQjym6npoTvmi7VDhk/dGT7stb/vL8S1WmFCOvZE4dzpSsGAJbxgH G/26X8/9trBATkfmqgHCIGo+yrx27/t5awm2PCt02uU/Uft6RdufEbVFHatZ2p0p2UW/ XI2ym3ia3RiG8x88URKlfHfdD5Eo2Fd25KIwl91jbHspRZLl909/T2zcCsrdNknuMHfE cnpb+wdu4MYx6tyt+pMLnuQL64tmfDrv/lGsWTfW4QmlwqL2hvV5mmNJD456u6U9XdSE IFDFeN5Z/exGEuBYMjhBPgz/zKrHX+G/RW9bTy481ZyENuMkBVk6JQ+LpDRXgQ8lJuP8 pH7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Yukd31bhFnjxWm1whv0HwYuZqbO5+gFxGacF8dCLxlk=; b=Qp47xkbuW1EcAnXYbNSArJeXRw/Btnjn6qjUVSo8VkYITpav3CEn2cxAcmNqRTVSiP cpTJssb91bTAeWKKbcQI6y6XlWWBjBQKveg3vMSaa0nXSagaLOCRNQhDO7IjYoXLxQpp /MxnpTM2IFJcXzx0jn9ViZff44Wn2kcGL/t8OyHnUrszkf44eFIsLJuQMvtB4NjnVDFK A5pbATC/UGW5xd8diXuzHirdRH5tb86YYXW1WFTswTrsZlgmJhsahrribHiOvHIo37pV bxXxXWEJ+wQVkNmCDhnp6lg+9PNNFauyjZV26LCWx581hRQgAZAvroIVVuvKjTtm5wRL doEA== X-Gm-Message-State: AIVw110UQb3coOsE+zJeNRSVXIHSYwS23CRQzBOZ6V7AZmwvxDtF/ajb z0ONN9TGZ25vkjhwWEeEyDB6emreunnb X-Received: by 10.31.140.193 with SMTP id o184mr2239240vkd.92.1500567863054; Thu, 20 Jul 2017 09:24:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.55.198 with HTTP; Thu, 20 Jul 2017 09:24:22 -0700 (PDT) From: Aijaz Baig Date: Thu, 20 Jul 2017 21:54:22 +0530 Message-ID: Subject: replace base KGDB with latest version To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 16:24:24 -0000 As of now I have installed the latest version of gdb via the package manager (7.9.1). The binary gets installed as /usr/local/bin/gdb which is apparently a symlink to /usr/local/bin/gdb791. The version which comes with the system is at /usr/bin/gdb which is an older version (v6.1.1). I have modified my path to have /usr/local/bin precede /usr/bin such that typing GDB on the prompt opens the latest version. However KGDB still refers to the older version of GDB. Is there a way to make KGDB refer to the newer version? Or do I have to remove it altogether and build it myself from the ports? I just want KGDB to refer to the newer version of GDB that I have on my system -- Best Regards, Aijaz Baig