Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Internals of -readnow implementation
@ 2025-11-11 16:18 Jan Vrany via Gdb
  2025-11-11 21:18 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Vrany via Gdb @ 2025-11-11 16:18 UTC (permalink / raw)
  To: GDB mailing list

Hi, 

looking at how -readnow is implemented, I'm puzzled
why implementation of readnow_functions inherits/user
dwarf2_base_index_functions?

My understanding is that if -readnow is specified, then
all compunit symbtabs in that objfile are fully read.
It seems to me that in theory one can implement it "directly" 
by traversing compunit symtabs, its blockvector and symbols 
(rather than using dwarf2_per_objfile and alike). 

Is that because it was just easier to implement it this way
or is there a reason why it has to go through DWARF reader
structures?

Thanks, 
Jan


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-11 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-11 16:18 Internals of -readnow implementation Jan Vrany via Gdb
2025-11-11 21:18 ` Tom Tromey
2025-11-11 21:44   ` Jan Vrany via Gdb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox