From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by sourceware.org (Postfix) with ESMTPS id 9A9DA3870886 for ; Tue, 12 May 2020 19:35:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9A9DA3870886 Received: by mail-qt1-x835.google.com with SMTP id b1so11387737qtt.1 for ; Tue, 12 May 2020 12:35:46 -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; bh=gVUdtt8wrMU5jf2c6rvzrqA3aaGn3Qbb9snL5XJo+0k=; b=h9Q8WrtUr4i9S8EeJEAwJRwBjuog3evPaq6VphlcAnJW2AuoCdcmVZ0F0Yx2IGvjLl gK7bZQAcEfF0EhKnqFgIkbBS5vTX5auTR4l+BK9RXRfrSKoRMG/TTLEErpy0J5+QpIYn ir1ZushLQshVdljA6PCDbJbFtajctLSEN4Y9BSbl29POmI5uqRpC1EF6FKaJnPt1zpkq E+ZUqvV+FYueNLEbTWS1+1OXY/iPlJleR7p9qQZ+ba+cXIUC9nJsjZROyeG59FA4Fwss UlG3ORFcqHfuNI027m+fxYM22Yw6KN4IuOHEOxo+qp+9GNge2kZUKDgjO3nEWCHsvYG2 znEg== X-Gm-Message-State: AGi0PuZ1vkf0CuX14WCK7JGNolnD4r6VvDs3TSr2vgJTb3rFp8CcgrnS VwivqPCjIb6utsZTfBZvPCQ8+GAJ2zs1nhgI0qv+HiOd X-Google-Smtp-Source: APiQypLey6gZSO9/WVTATZ34jK0nY6fTK+y9fBSbuBhFGC/QD9zLW6zq1963AeRMLIL2KUbmT0xooWsR9fvZqU2bOvY= X-Received: by 2002:ac8:3713:: with SMTP id o19mr22719745qtb.371.1589312145925; Tue, 12 May 2020 12:35:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kunal Chauhan Date: Wed, 13 May 2020 01:05:32 +0530 Message-ID: Subject: Re: Help: debug binary To: gdb@sourceware.org X-Spam-Status: No, score=-3.1 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: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 19:35:47 -0000 Hi Team As I am new to core files and gdb >> How core file looks like in unix ? >>Can we use gdb to findout crash from core files? at development system. On Tue, May 12, 2020 at 8:54 AM Kunal Chauhan wrote: > Hi Team > > I am new to the stuff of debugging and do not know any memory tools. > > 1. I have logs of binary and have only development machine. I searched my > logs and prints shows something like. > > Void f1() > { > F1() > > } > > 1.F1: returns the int val and after that binary crash . > 2. In f1 some memory allocation and deallocation done for char* > > > How can i check that particular function and file for memory crash . As i > have develoment system where i can only compile my binary.? > > Please suggest some useful steps > > > Thanks > Kunal > > > -- *Thanks with Regards!* *Kunal Chauhan* *Mob:09813614826* *Mob:08860397903* *E-mail:atkunalchauhan@gmail.com *