From: "Philip Ong Jr." <pongjr@gmail.com>
To: autofs@linux.kernel.org, "Philip Ong Jr." <pongjr@gmail.com>
Subject: debugging the automounter
Date: Thu, 21 Jan 2010 03:39:57 -0800 [thread overview]
Message-ID: <4B583D0D.1050700@gmail.com> (raw)
Are there any good links on how to go about setting up debugging the
automounter using the gdb?
I’m running rhel3 and trying to figure out an automounter problem. I’ve
installed the debuginfo package so the binary won’t be stripped.
Does the debuginfo package install another binary to debug the
automounter using gdb because the binary looks stripped to me…?
# file /usr/sbin/automount
/usr/sbin/automount: ELF 32-bit LSB shared object, Intel 80386, version
1 (SYSV), stripped
This is NOT stripped…but I’m not sure what this is used for or how to
use it…
# file /usr/lib/debug/usr/sbin/automount.debug
/usr/lib/debug/usr/sbin/automount.debug: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), not stripped
Basically, I’d like to get to the point where I can have an non-stripped
automounter and how to verify it is not stripped or how to build and
debug it.
#gdb /usr/sbin/automount
GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) quit
#uname -a
Linux l-sim-33-075 2.4.21-53.ELsmp #1 SMP Thu Feb 21 19:01:38 EST 2008
i686 athlon i386 GNU/Linux
# automount -V
Linux automount version 4.1.3-216
# rpm -qa | grep autofs
autofs-4.1.3-216
autofs-debuginfo-4.1.3-216
I’d appreciate any help.
Thanks
Phil
next reply other threads:[~2010-01-21 11:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 11:39 Philip Ong Jr. [this message]
2010-01-21 12:38 ` debugging the automounter Marc Weber
2010-01-21 15:51 ` Jeff Moyer
2010-01-22 16:54 ` Fabio Olive Leite
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B583D0D.1050700@gmail.com \
--to=pongjr@gmail.com \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.