I'm trying to understand how an application works. Since gdb has this
feature of allowing me to step through each line of code, I decided to use
gdb to understand working of the application.

I compiled it specially for gdb using the following command

DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc


I loaded the file into gdb using

file <filename>

and it's loaded successfully and debugging symbols are found. But, when I
run the program, I get the following error.

Starting program: ~/Documents/sources/sudo
1.7.0_from_ubuntu/sudo-1.7.0/build-simple/sudo su
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error

(As this error message gives away, i'm trying to understand the working of
the sudo command.)

What exactly does this error mean?

-- 
"Fear can hold you prisoner. Hope can set you free" - The Shawshank
Redemption

Regards,
Arvind
B.Tech, Computer Science And Engineering,
Amrita School Of Engineering, Amritapuri.
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to