From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116456 invoked by alias); 29 Sep 2019 05:17:54 -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 116438 invoked by uid 89); 29 Sep 2019 05:17:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:CAPTJ0X, H*i:sk:CAPTJ0X, HX-Languages-Length:756 X-HELO: mail-io1-f41.google.com Received: from mail-io1-f41.google.com (HELO mail-io1-f41.google.com) (209.85.166.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 29 Sep 2019 05:17:52 +0000 Received: by mail-io1-f41.google.com with SMTP id c6so28614315ioo.13 for ; Sat, 28 Sep 2019 22:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=Pkp1JM+AbzyT/WSfkAoqhfWZg6c9xK9T9hsVOJR9/B8=; b=NVeR9527blR/bF3TXBExkCIPOEyQCF61GYOhTbOyL8JLg/SBrEZ65bV9zYMr1N6MbB c1fAULdvaksay+ou7Vdia8jqKHLnftdRIgSKtoXIdBilBY9uZ3zxByXXfPKnepJ9zkvA n73PHjKKSKGtXXTkgpPP7jCiSu8ObR0iCMdd/jl97DE+XDC8eLlTQVybpBRKKS3BtlEz bMwG5IM76gN99rNor2k/DOsG+4FM1jG6BsyYQKRZm6zvOfVgMy8vhWMFmCSl/p5X8k7V HOujUxp5UoIQa95NV2nBchpxJn74O5WvkrAy7b+qyfnvFa22JyofGxlMoEvF7EtKLw4X Xp3Q== MIME-Version: 1.0 References: In-Reply-To: Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Sun, 29 Sep 2019 05:17:00 -0000 Message-ID: Subject: Re: GDB does not recognize cxx extension? To: Christian Biesinger Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00030.txt.bz2 On Sun, Sep 29, 2019 at 1:09 AM Christian Biesinger wrote: > > On Sun, Sep 29, 2019 at 12:01 AM Jeffrey Walton wrote: > > I've got a C++ program built from a source called pem_test.cxx. I'm > > having trouble getting GDB to accept it. Autocomplete does not work: > > > > (gdb) b pem_ > > pem_common.cpp pem_common.h pem_read.cpp pem_write.cpp > > GDB gets the list of files from the debug data in the binary, not from > the current directory. Are you sure you compiled pem_test.cxx into the > binary? Yes. A 'b main' stops in pem_test.cxx. The recipe to build pem_test.cxx is at https://github.com/noloader/cryptopp-pem/blob/master/pem_create_keys.sh#L42 Jeff