kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* objdump -S for a different dir.
@ 2011-12-10  6:59 Jim Cromie
  2011-12-10  7:46 ` Dave Hylands
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Cromie @ 2011-12-10  6:59 UTC (permalink / raw)
  To: kernelnewbies

hi folks,

out of habit, I build my kernels to a build tree
ie use make O=../build-foo just once,
then cd ../build-foo, and thereafter run make there

this doesnt play nice with objdump -S
--source
           Display source code intermixed with disassembly, if
possible.  Implies -d.

it seems its not possible unless the source and obj are in the same file.
GDB manages to find the source, whats missing in objdump ?

FWIW, Id love a micro-tutorial on this,
anyone know how to display, dissect the obj file, debuginfo etc ?
or can recommend some on-line tome that gets into it at some breadth and depth ?
many many search hits are for quick Q&A that doesnt get deeper than a puddle.

thanks

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

end of thread, other threads:[~2011-12-13  4:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10  6:59 objdump -S for a different dir Jim Cromie
2011-12-10  7:46 ` Dave Hylands
2011-12-13  4:28   ` Jim Cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).