URN Logo
UNIX Resources » Linux » Linux Forum » General Linux Discussions » Page.4 » gdb - help needed in tracing a package bug
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
gdb - help needed in tracing a package bug
Subject: gdb - help needed in tracing a package bug
Author: Mark Hobley    Posted: 2005-09-24 15:08:03    Length: 1,086 byte(s)
[Original] [Print] [Top]
I am having a problem with the Debian package "checkpw", which I want to
investigate using a debugger.

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

Testing the checkpw interface, as root:

printf "markmailboxy123456"|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 debugger.
 
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://markhobley.yi.org/

[Original] [Print] [Top]
Subject: gdb - help needed in tracing a package bug
Author: Linønut    Posted: 2005-09-24 19:18:52    Length: 887 byte(s)
[Original] [Print] [Top]
Mark Hobley poked his little head through the XP firewall and said:

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

Testing the checkpw interface, as root:

printf "markmailboxy123456"|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.

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.

[Original] [Print] [Top]
Subject: gdb - help needed in tracing a package bug
Author: Mark Hobley    Posted: 2005-09-25 02:08:04    Length: 1,479 byte(s)
[Original] [Print] [Top]
In alt.comp.linux Linønut [=?iso-8859-1?Q?lin=F8nut?=@bone.com] wrote:
QUOTE

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

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.

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


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://markhobley.yi.org/

[Original] [Print] [Top]
Subject: gdb - help needed in tracing a package bug
Author: Bit Twister    Posted: 2005-09-25 03:31:45    Length: 538 byte(s)
[Original] [Print] [Top]
On Sun, 25 Sep 2005 08:08:04 GMT, Mark Hobley wrote:
QUOTE
In alt.comp.linux Linønut [=?iso-8859-1?Q?lin=F8nut?=@bone.com] wrote:

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

I know this.

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

[Original] [Print] [Top]
« Previous thread
Is there a truly point and click Linux yet?
General Linux Discussions
Page. 4
Next thread »
find command way to slow!
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:16:09, cost 0.024693012237549 ms.