You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Danie Qian <da...@bestningning.com> on 2007/08/15 17:08:24 UTC
"gdb httpd" cant step into apr(-util)
I am getting this error when trying to single step into one of the apr
functions:
(gdb) s
apr_dbd_pvselect (driver=0xb7352208, pool=0x93aca30, handle=0x91c1618,
res=0xb7352208, statement=0x91c4140, random=0)
at dbd/apr_dbd.c:299
299 dbd/apr_dbd.c: No such file or directory.
in dbd/apr_dbd.c
Do I have to statically compile apr into httpd? how to do that?
I wish someone here can give me a quick answer. Thanks.
Re: "gdb httpd" cant step into apr(-util)
Posted by Danie Qian <da...@bestningning.com>.
----- Original Message -----
From: "Eric Covener" <co...@gmail.com>
To: <mo...@httpd.apache.org>
Sent: Wednesday, August 15, 2007 2:49 PM
Subject: Re: "gdb httpd" cant step into apr(-util)
> On 8/15/07, Danie Qian <da...@bestningning.com> wrote:
>> I am getting this error when trying to single step into one of the apr
>> functions:
>>
>> (gdb) s
>> apr_dbd_pvselect (driver=0xb7352208, pool=0x93aca30, handle=0x91c1618,
>> res=0xb7352208, statement=0x91c4140, random=0)
>> at dbd/apr_dbd.c:299
>> 299 dbd/apr_dbd.c: No such file or directory.
>> in dbd/apr_dbd.c
>>
>> Do I have to statically compile apr into httpd? how to do that?
>>
>
> Can you tell gdb where your apr/apr-util source trees are with
> 'directory'?
> --
> Eric Covener
> covener@gmail.com
>
Hi Eric,
It turned out that the source tree was moved away from the original place
and the 'directory' works for me. Thank you very much for the answer.
Daniel
Re: "gdb httpd" cant step into apr(-util)
Posted by Eric Covener <co...@gmail.com>.
On 8/15/07, Danie Qian <da...@bestningning.com> wrote:
> I am getting this error when trying to single step into one of the apr
> functions:
>
> (gdb) s
> apr_dbd_pvselect (driver=0xb7352208, pool=0x93aca30, handle=0x91c1618,
> res=0xb7352208, statement=0x91c4140, random=0)
> at dbd/apr_dbd.c:299
> 299 dbd/apr_dbd.c: No such file or directory.
> in dbd/apr_dbd.c
>
> Do I have to statically compile apr into httpd? how to do that?
>
Can you tell gdb where your apr/apr-util source trees are with 'directory'?
--
Eric Covener
covener@gmail.com