This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: adding comments/labels?
On Thu, Aug 30, 2007 at 04:38:47AM +0000, jf wrote:
> 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?
No.
> 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?
Not really. I think you should do it with objcopy, instead. Haven't
I suggested this to someone else recently on this list... ?
--
Daniel Jacobowitz
CodeSourcery