From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22694 invoked by alias); 24 Mar 2018 13:14:39 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 22592 invoked by uid 89); 24 Mar 2018 13:14:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=confused, H*c:alternative X-HELO: mail-ot0-f195.google.com Received: from mail-ot0-f195.google.com (HELO mail-ot0-f195.google.com) (74.125.82.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 24 Mar 2018 13:14:33 +0000 Received: by mail-ot0-f195.google.com with SMTP id 95-v6so16146701ote.5 for ; Sat, 24 Mar 2018 06:14:33 -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:in-reply-to:references:from:date :message-id:subject:to; bh=TJyHEwpjmPy5xHKwFw2tlYcha6wZJWTsv8Wa3VUN+Ew=; b=OH2hDOPo+bh2fse4j+Rwh+UCyN22J7nRzM6T7xtr/hMwVP+t96Um08uhy0vwsE0GQd li4t0a/KBHtbO6PiN75m3QIIu+GPiHmaYKWs4wSI0YMVQYuFU3hKuR//bWwSZvxkgEUL dnLVcRWZ+wPWtoEhCy+eiAvTojgGGoWwg5/PSHmKCv+tPEbjCD4HsARDs+NGJROUSabV myHpPJkmXVxOr6mq/JfBw5G9GHAQLsm4Lo+DgvW8cNukj4Q74Ti5IjeLTH3Ze2X7Mz5P if+SN+AwMxwF+NU8vih6tpoDWUboNKfrBmbYi5GMAeVDRnYGrSkVzEb0eoaR1GoF5gEt uxdQ== X-Gm-Message-State: AElRT7FOQR0oKtUlfqATEGCB4vCQQlmuzw2BsGEU3tpMU8cAX/TX5sox unTeCTAbHF9AlkYV0y1elsEdDM6DecrWTdy1DzM= X-Google-Smtp-Source: AG47ELsIH5B8P19AfrfcnK+o/HK/VDG3RP/jSKM4AvM+547YIoZ15sk3/gbkBoyKYHfZ6rd/70Adl0TX16JxRryboj4= X-Received: by 2002:a9d:40d:: with SMTP id 13-v6mr7985816otc.42.1521897271928; Sat, 24 Mar 2018 06:14:31 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5412:0:0:0:0:0 with HTTP; Sat, 24 Mar 2018 06:14:30 -0700 (PDT) Received: by 2002:a9d:5412:0:0:0:0:0 with HTTP; Sat, 24 Mar 2018 06:14:30 -0700 (PDT) In-Reply-To: References: From: vijay nag Date: Sat, 24 Mar 2018 13:14:00 -0000 Message-ID: Subject: RE: amd64 executable debugging To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00040.txt.bz2 Hello GDB, Most often while debugging amd64 executable, GDB throws '' error and also sometimes when function parameters are passed on register GDB reports incorrect information in few frames. I'm sure in 64 bit with more registers available, there is more revenue for optimization, it is entirely possible that GDB gets confused due to that and information provided by GDB isn't reliable sometimes. I'm wondering if the latest GDB has somehow solved this problem Or disassembling and studying instructions is the only way to go about it ? Also, is there a way to increase this debug-ability by adding any additional compiler flags ? --Vijay--