From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by sourceware.org (Postfix) with ESMTPS id 6913A388E82A for ; Tue, 5 May 2020 11:23:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6913A388E82A Received: by mail-qv1-xf30.google.com with SMTP id w18so786291qvs.3 for ; Tue, 05 May 2020 04:23:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qrlrO1TMuX7uruMwXy42gnEuuIa6khikA6CBya0R8rE=; b=GkK4llWKw53DUrxwaevHk8+TABDlslTPtFah868hlG8mkMB2XwlFx/LyAfHogcgpeJ cWJaa9wDMfDspPuD6bB/YphknAdG+Tn23SHkJDz8fQtHHMY4YQ1HYyZAbkfy0MVXDKU6 xGZSGizJHVmRXP3RMLvqPVmknWmne3oqy+sw0NnmUEFg7WLVj+RtOYbF27tdBIj98yWf gkRbU04iB9GMemA0vDq+2nr1S/eRhwrtAEowMQDBxHw5Rlm5nmHwPWx/5mS534wT12yG sWAPmiO7RgtufdUbnWvgqvzVB0qfOy3GSya9LK7foWBFziyPYcCsjT2qB6WKosz0M33W 7BUw== X-Gm-Message-State: AGi0PuZkNdHojuzgkR+byCHdAOGWErDqMlpi1+KFjUUD03NhjF972FT5 IZ84Wk5vBYBYgMxdSjAuDv2d8H46nMlzIaKXjws= X-Google-Smtp-Source: APiQypIWTMhZwxO4Mw600Q+xkWsWsrnrFZxHgNkVvdg6H+uUir7Vd4JHtZ6z6f1A4apANt80rBnclyc25qNYrYanixo= X-Received: by 2002:a0c:b797:: with SMTP id l23mr2213435qve.204.1588677786765; Tue, 05 May 2020 04:23:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kunal Chauhan Date: Tue, 5 May 2020 16:52:55 +0530 Message-ID: Subject: Re: Help: debug a binary To: Jonathan Wakely Cc: gcc-help X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FREEMAIL_REPLY, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 11:23:11 -0000 Hi Team, Help for finding and understanding the below line coming in gdb : what exactly they are saying ? #0 0xb66e8ee4 in strlen () from /lib/libc.so.6 [Current thread is 1 (LWP 2084)] (gdb) bt full #0 0xb66e8ee4 in strlen () from /lib/libc.so.6 No symbol table info available. #1 0xb6da3854 in ?? () from /opt/qcom/lib/libcurl.so.4 No symbol table info available. #2 0x05b40000 in ?? () No symbol table info available. Backtrace stopped: previous frame identical to this frame (corrupt stack?) On Wed, Apr 29, 2020 at 11:21 PM Jonathan Wakely wrote: > On Wed, 29 Apr 2020 at 18:23, Kunal Chauhan via Gcc-help > wrote: > > > > Hi team, > > > > How can I debug my binary. > > Compile with the -g flag and use a debugger. > > Search the web for "using gdb". > -- *Thanks with Regards!* *Kunal Chauhan* *Mob:09813614826* *Mob:08860397903* *E-mail:atkunalchauhan@gmail.com *