Re: ddb: remove support for multiple symbol tables

2016-02-26 Thread Martin Pieuchot
On 25/02/16(Thu) 11:39, Mike Larkin wrote: > On Thu, Feb 25, 2016 at 03:05:21PM +0100, Martin Pieuchot wrote: > [...] > > - return 0; > > + return db_elf_sym_lookup(_symtab, symstr); > > } > > From what I can tell, db_lookup is only called one time in the tree. > Rather than replace

Re: ddb: remove support for multiple symbol tables

2016-02-25 Thread Mike Larkin
On Thu, Feb 25, 2016 at 03:05:21PM +0100, Martin Pieuchot wrote: > I'd like to be able to iterate over all the kernel symbols. I could > do like some of the functions below and abuse ``db_last_symtab'' but > we since only have a single symbol table there's no point in keeping > a complex

ddb: remove support for multiple symbol tables

2016-02-25 Thread Martin Pieuchot
I'd like to be able to iterate over all the kernel symbols. I could do like some of the functions below and abuse ``db_last_symtab'' but we since only have a single symbol table there's no point in keeping a complex interface. Ok? Index: ddb/db_hangman.c