From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19572 invoked by alias); 16 Jun 2005 03:36:06 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19542 invoked by uid 22791); 16 Jun 2005 03:36:03 -0000 Received: from 60.92.96-84.rev.gaoland.net (HELO Smtp.neuf.fr) (84.96.92.60) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 16 Jun 2005 03:36:03 +0000 Received: from haypopc ([80.119.118.168]) by sp604001mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0II500MSURC055R0@sp604001mt.gpm.neuf.ld> for gdb@sources.redhat.com; Thu, 16 Jun 2005 05:36:01 +0200 (CEST) Date: Thu, 16 Jun 2005 03:36:00 -0000 From: Victor STINNER Subject: Display libc function names instead of address ? To: gdb@sources.redhat.com Reply-to: victor.stinner@haypocalc.com Message-id: <1118892960.12713.5.camel@haypopc> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-SW-Source: 2005-06/txt/msg00166.txt.bz2 Hi, I woud like to know if it is possible to display libc functions name instead of their address. Example : (1) (...) // prepare parameters call 0x8048728 (2) jmp *0x804a6b0 // in relocation table, at 0x08048728 And if I do a "objdump -R file | grep 0x804a6b0", it answers printf. So is it possible to display "call printf" instead of "call 0x8048728" ? Or at least display "jmp *" instead of "jmp *0x804a6b0" ? I think that gdb can already read relocation table because "print printf" command give me the function address. I hope that it's just an option :-) Bye, Haypo