Hi all!

I've installed e2fslibs-dbg (together with e2fslibs-dev and other
e2fs-related packages) in order to be able to debug a program I'm
writing which uses libext2fs.  Now I'm confused because debugging isn't
possible due to lacking source files.

When I tell my debugger (cgdb) to step into ext2fs_open() I'm greeted
with the following message:

ext2fs_open (name=0x7fffff7b58e8 "/dev/mapper/tatooine-home", flags=0,
superblock=0, blo
ck_size=0, manager=0x7f54f7598380, ret_fs=0x7fffff7b4cf0) at
/build/buildd/e2fsprogs-1.4
1.1/lib/ext2fs/openfs.c:64
64      /build/buildd/e2fsprogs-1.41.1/lib/ext2fs/openfs.c: No such file
or directory.
        in /build/buildd/e2fsprogs-1.41.1/lib/ext2fs/openfs.c

Not quite what I had hoped for.

Is this really what -dbg packages are supposed to do?
Is there anything I can do to get debugging working, bar rebuilding the
package myself?

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
     -- PaulPotts


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to