From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30317 invoked by alias); 15 Jun 2016 13:48:32 -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 30284 invoked by uid 89); 15 Jun 2016 13:48:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.1 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-oi0-f67.google.com Received: from mail-oi0-f67.google.com (HELO mail-oi0-f67.google.com) (209.85.218.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 15 Jun 2016 13:48:23 +0000 Received: by mail-oi0-f67.google.com with SMTP id a64so4089389oii.1 for ; Wed, 15 Jun 2016 06:48:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=tfkEovh3paVRmq3Grb3XqNTX8GzeRiFtXHaVf+hUPtE=; b=EastQ+ABWIqLFcFAvxf7SKSDFhtdOUP5c0UL0nmaaIu8ibPnJBVGftj1EXq1Fn49Ib 2280nsFZ1jjMjzl/MD75KFoy3o4q9lCvF79E15LUVgoNrUUfaG5eeK2PAHnbT9aCpj9q 34HavzrUL5Tk+elDhG4NnCCURoVxnfr4uPccogjv8tsVAo+ImhpcZsTefBXHm+82XKfu AI4QWgv7OJxnSplGcE2LHhsFKlzmIlBvo63PStTZ4t+WWrPZ2/wOHNLjIa3jd84grqrw fvEw4ZJp2uC9yJwTkPo8+KSWRbs6sMBy+LEfC0aSXnFWljzamd703bY7OwKOZI3tRTU8 V8FQ== X-Gm-Message-State: ALyK8tLtEW3ExGeE9NAuX3DNRHZtjlPt2yEQLTgl4J1Fm1mlhwpwtdYCFT150j1AQhBZxfdMX9qoFaJuKdZz7g== X-Received: by 10.202.106.78 with SMTP id f75mr12016509oic.80.1465998501221; Wed, 15 Jun 2016 06:48:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.126.226 with HTTP; Wed, 15 Jun 2016 06:48:20 -0700 (PDT) From: zet Date: Wed, 15 Jun 2016 13:48:00 -0000 Message-ID: Subject: get the location of the definition of expression's type? To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00024.txt.bz2 Hello, All When (gdb) ptype global_options I will get definition of the type of global_options whose type is 'struct gcc_options' Is it possible get the definition location(which file it is defined in) info of 'struct gcc_options'? I know the line info of 'struct gcc_options' in ELF may lose, but is gdb has the facility show the line info of the symbol? thx --=20 =E4=B8=9A=E7=B2=BE=E4=BA=8E=E5=8B=A4,=E8=8D=92=E4=BA=8E=E5=AC=89..