Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* debugging stripped binary/library & coredump without binary
@ 2007-06-12 10:52 Sudhakar G
  2007-06-12 11:11 ` Tavis Ormandy
  2007-06-12 11:23 ` Daniel Jacobowitz
  0 siblings, 2 replies; 6+ messages in thread
From: Sudhakar G @ 2007-06-12 10:52 UTC (permalink / raw)
  To: gdb

Hi,

For certain reasons I want strip the symbols in my modules. But I want
to know how to debug the program in such case. I used to debug running
program at object/assembly level but only with the help of symbols
which help me in setting breakpoints. But with symbols stripped, I am
at loss as to how to debug. I know there is a command called
"symbol-file" in gdb which will help in loading the symbol file. Not
sure if it is of help. But I could not figure out how to generate
symbol file for a program or library though I spent some time with gcc
and ld man pages.

I also want to know if there is anyway in opening the coredump and
debugging it if the actual program is not available.

If anyone knows the answers then please let me know. It will be of
immense help for me.

Thanks a lot in advance.

Regards
Sudhakar


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

end of thread, other threads:[~2007-06-13 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 10:52 debugging stripped binary/library & coredump without binary Sudhakar G
2007-06-12 11:11 ` Tavis Ormandy
2007-06-12 11:23 ` Daniel Jacobowitz
2007-06-13  9:06   ` Sudhakar G
2007-06-13  9:26     ` Andreas Schwab
2007-06-13 11:19     ` Daniel Jacobowitz

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