« Return to Thread: want to help do some debuging

Re: want to help do some debuging

by Jelle de Jong :: Rate this Message:

Reply to Author | View in Thread

Jelle de Jong wrote:

> Nikolaus Rath wrote:
>> Jelle de Jong <jelledejong@...> writes:
>>> I really want to help, can somebody tell me how to make full automatic
>>> bug reports so i can save them when a crash surfaces.
>> You cannot make automatic bug reports. The following might be helpful
>> as a basis for a *manual* bug report though:
>>
>>  - compile sshfs with debugging symbols
>>  - use the -dfs parameters when starting gdb and save the output
>>  - when it crashes, create a backtrace as described on
>>    https://wiki.ubuntu.com/Backtrace
>>
>>
>> Best,
>>
>>    -Nikolaus
>>
>
> Thank you Nikolaus for answering my mail.
>
> I downloaded the sshfs-fuse source package for my distribution Debian
> sid and did a configure --help to see what options i sould use to
> compile sshfs with debugging symbols. However I did not found any info
> in the output regarding debugging?
>
> Can you tell me with what options I should use to compile sshfs with
> debugging support? I want to create a sshfs-fuse-debug package for
> Debian sid.
>
> CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
> --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
> --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
> --disable-sshnodelay
>

Or where you referring to the gcc -g flag for debugging?

In that case the debian sid package is already build with debugging
support? This is a part of the debian/rules file:

CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
else
        CFLAGS += -O2
endif

config.status: configure
        dh_testdir
        CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
--disable-sshnodelay

Kind regards,

Jelle


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

 « Return to Thread: want to help do some debuging

LightInTheBox - Buy quality products at wholesale price!