Thread (17 messages) flat view 17 messages, 6 authors, 2016-06-15

Re: git binary size...

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:16


On Thu, 12 Jan 2006, Coywolf Qi Hunt wrote:
quoted
With stripped binaries, you can't really do _anything_. You get a
core-file, and you're screwed.
Are you sure?
I'm sure.
In gdb:

No symbol table is loaded.  Use the "file" command.
(gdb) bt
#0  0xb7f16445 in ext2fs_mark_generic_bitmap () from /lib/libext2fs.so.2
Note where the debug info comes from. It comes from the _library_.
So with stripped binary, I still get the backtrace to locate the buggy
function.
No you don't. With the _non-stripped_ library you get the backtrace. 
There's no backtrace at all for the binary itself.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help