gdb - help needed in tracing a package bug

gdb - help needed in tracing a package bug

Post by markhoble » Mon, 26 Sep 2005 06:08:03


I am having a problem with the Debian package "checkpw", which I want to
investigate using a de *** .

Unfortunately, my background is MSDOS, and I am not very familiar with the
Linux debug tools.

Testing the checkpw interface, as root:

printf "mark\0mailbox\0y123456\0"|checkpw id 3<&0

This should run the id program, but it does not.

I need to replicate the above behaviour in gdb, to find out where checkpw is
exiting.

How do I do this ?

I need to replicate the invocation of checkpw with the printf input above
within the de *** .

Thanks in advance to anyone who can help.

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://www.yqcomputer.com/
 
 
 

gdb - help needed in tracing a package bug

Post by Linu » Mon, 26 Sep 2005 10:18:52

Mark Hobley poked his little head through the XP firewall and said:


You can study gdb by doing the command "info gdb".

If you're going to be using gdb consistently, I recommend GNU Press's
book on GDB (www.gnupress.org).

--
Code is community.

 
 
 

gdb - help needed in tracing a package bug

Post by markhoble » Mon, 26 Sep 2005 17:08:04


I know this. I need some guidance, since the documentation is convoluted.
I have already looked at this, and I have also done a search on "google", and
I have looked at the Linux documentation project.

I need some short practical examples and simplified text suitable for my
scenario.

I don't need a technical reference manual.


Again, this is not very helpful. What title do I require ?

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://www.yqcomputer.com/
 
 
 

gdb - help needed in tracing a package bug

Post by Bit Twiste » Mon, 26 Sep 2005 18:31:45


see if you can install ddd
DDD is a graphical front-end for GDB and other command-line de *** s.