From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28510 invoked by alias); 29 Aug 2007 21:06:26 -0000 Received: (qmail 28501 invoked by uid 22791); 29 Aug 2007 21:06:25 -0000 X-Spam-Check-By: sourceware.org Received: from theory.danglingpointers.net (HELO mail.danglingpointers.net) (69.77.167.9) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Aug 2007 21:06:21 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.danglingpointers.net (Postfix) with ESMTP id 29E6530012F for ; Thu, 30 Aug 2007 04:38:47 +0000 (UTC) Date: Wed, 29 Aug 2007 21:06:00 -0000 From: jf To: gdb@sourceware.org Subject: adding comments/labels? Message-ID: X-GPG-FINGERPRINT: 6EB9 1EDB 07ED 2CBE AFCA BC3F E0EC C555 22C2 48B2 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 2007-08/txt/msg00250.txt.bz2 After digging through the documentation some and realizing how futile google is when you search for things like 'gdb comments' or 'gdb labels'/et cetera, I turn to you all ;] Is there any way to add a label/comment/rename a symbol in gdb? specifically what I'd like to do is add symbol resolution to addresses, i.e. call 0x12345678 I disassemble the code at 0x12345678 and see that it just does: mov $0x04, %al sysenter cmp [...] and I can say, oh thats a sys_write wrapper, so I'd like to relabel it as 'sys_write', so now when I run across a call to it i see: call I'm assuming no such functionality exists, as I can find nothing about it, so that said, can anyone direct me to where I should touch gdb to add such functionality? thanks.