This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

nlist using bfd


I noticed that the startup of my gdb is slow, and found out that it uses
nlist() to find the value of the `u' kernel symbol.  The native `nlist'
is slow, because it does a `read' system call for each `COFF' entry.

I think we should rather use `bfd' for that purpose, but I do not want
to reinvent the wheel, so here is my question : 

	Can somebody point me to an already written a `nlist' replacement
	using bfd, or sketch one off-hand ?

Thanks in advance

Philippe

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]