FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-24-2008, 07:18 PM
Magnus Therning
 
Default Using Debian's debug symbols for debugging

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
 

Thread Tools




All times are GMT. The time now is 09:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org