From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12176 invoked by alias); 11 Jun 2012 09:37:03 -0000 Received: (qmail 12118 invoked by uid 22791); 11 Jun 2012 09:37:02 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-we0-f169.google.com (HELO mail-we0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jun 2012 09:36:44 +0000 Received: by wefh52 with SMTP id h52so2833122wef.0 for ; Mon, 11 Jun 2012 02:36:43 -0700 (PDT) Received: by 10.180.98.231 with SMTP id el7mr19245298wib.21.1339407402912; Mon, 11 Jun 2012 02:36:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.122.193 with HTTP; Mon, 11 Jun 2012 02:36:02 -0700 (PDT) From: Hui Zhu Date: Mon, 11 Jun 2012 09:37:00 -0000 Message-ID: Subject: [Question] does GDB have a commands to get the end address of a function? To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2012-06/txt/msg00049.txt.bz2 Now, I get the end address of a function with command "disassemble function_name". Does GDB have an command to output the end address of a function? Thanks, Hui