sane-project-website/old-archive/2000-12/0313.html

112 wiersze
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: trouble using gdb</TITLE>
<META NAME="Author" CONTENT="stef (stef-listes@wanadoo.fr)">
<META NAME="Subject" CONTENT="Re: trouble using gdb">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: trouble using gdb</H1>
<!-- received="Fri Dec 29 21:55:43 2000" -->
<!-- isoreceived="20001230055543" -->
<!-- sent="Sat, 30 Dec 2000 07:12:20 +0100" -->
<!-- isosent="20001230061220" -->
<!-- name="stef" -->
<!-- email="stef-listes@wanadoo.fr" -->
<!-- subject="Re: trouble using gdb" -->
<!-- id="20001230071220.C245@wanadoo.fr" -->
<!-- inreplyto="3A4CD87A.B5D884AF@wolfsburg.de" -->
<STRONG>From:</STRONG> stef (<A HREF="mailto:stef-listes@wanadoo.fr?Subject=Re:%20trouble%20using%20gdb&In-Reply-To=&lt;20001230071220.C245@wanadoo.fr&gt;"><EM>stef-listes@wanadoo.fr</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Dec 29 2000 - 22:12:20 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0314.html">stef: "Re: trouble using gdb"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0312.html">Taylor, ForrestX: "RE: Installation and man page of find-scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0309.html">Oliver Rauch: "Re: trouble using gdb"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: trouble using gdb"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0310.html">Henning Meier-Geinitz: "Re: trouble using gdb"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: trouble using gdb"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#313">[ date ]</A>
<A HREF="index.html#313">[ thread ]</A>
<A HREF="subject.html#313">[ subject ]</A>
<A HREF="author.html#313">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; Hi Stef,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I think you expected that the breakpoint was set in your program and not
</EM><BR>
<EM>&gt; in sane_dll_*
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; All backends use the same function names sane_open, sane_start, ...
</EM><BR>
<EM>&gt; so the function names for backends are renamed and you get the only one
</EM><BR>
<EM>&gt; with the name sane_get_parameters that is visible from the frontend
</EM><BR>
<EM>&gt; and that are the functions from sane_dll.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Ther are two possibilities:
</EM><BR>
<EM>&gt; 1) do not use sane-dll, link the frontend (scanimage) directly against your backend
</EM><BR>
<EM>&gt; 2) define the breakpoint with sourcode:linenumber. May be you can find out the function
</EM><BR>
<EM>&gt; names of your backend but I don`t know how this is generated.
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'm doing 2) . But my problem is to do 1). Shall I build scanimage with
<BR>
a special Makefile, and how to avoid sane-dll ?
<BR>
<P>Happy new year,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stef
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20trouble%20using%20gdb&In-Reply-To=&lt;20001230071220.C245@wanadoo.fr&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0314.html">stef: "Re: trouble using gdb"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0312.html">Taylor, ForrestX: "RE: Installation and man page of find-scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0309.html">Oliver Rauch: "Re: trouble using gdb"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: trouble using gdb"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0310.html">Henning Meier-Geinitz: "Re: trouble using gdb"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: trouble using gdb"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#313">[ date ]</A>
<A HREF="index.html#313">[ thread ]</A>
<A HREF="subject.html#313">[ subject ]</A>
<A HREF="author.html#313">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Fri Dec 29 2000 - 22:00:52 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>