Re: Debugging OpenSSL in DDD

2004-10-28 Thread Jacques Thomas
Hi, I've actually just been running openssl in ddd 2 days ago. Here' the basic configuration I use: ./Configure --openssldir=where I want openssl 386 linux-elf To compile openssl with the support for debugging ./Configure --openssldir=path/to/openssl/with/debugging 386 linux-elf:gcc -g build,

Re: Debugging OpenSSL in DDD

2004-10-19 Thread Doug Royer
Did you compile OpenSSL in debug mode? If not the debugger will not show the source code. Gurpreet Grewal wrote: I need to trace through OpenSSL code to see the flow of things when I use it for some processing. I am trying to use DDD for the same but haven't been able to do so. When I try to do

Re: Debugging OpenSSL in DDD

2004-10-19 Thread Gurpreet Grewal
Yes I did so, compiled with the -g option, but strangely it doesn't show up. On Tue, 19 Oct 2004 14:27:25 -0600, Doug Royer [EMAIL PROTECTED] wrote: Did you compile OpenSSL in debug mode? If not the debugger will not show the source code. Gurpreet Grewal wrote: I need to trace

Re: Debugging OpenSSL in DDD

2004-10-19 Thread Frosty Frosty
Hi If I remember correctly, youo have to compile the OpenSSL source with the debug flag activated (check your compiler's manual; e.g. with gcc you have to add the option -g). Once you have the binaries, you can open them with DDD and follow the execution. Normally you don't have to use the