This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: cannot find bounds of function error
- From: vijay nag <vijunag at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 24 Jul 2013 18:58:18 +0530
- Subject: Re: cannot find bounds of function error
- References: <CAKhyrx8aDzz78UgWjUN78q7pWZ0=-Y3KH8oOkFb3P2RCK+F52Q at mail dot gmail dot com> <20130724123924 dot GB4376 at host2 dot jankratochvil dot net> <CAKhyrx_LP-rqJMN_CoJ_Hy9X8+1or9CTQab=ioHBfnFBVjQ-nQ at mail dot gmail dot com>
On Wed, Jul 24, 2013 at 6:19 PM, vijay nag <vijunag@gmail.com> wrote:
>
>
> On Wednesday, July 24, 2013, Jan Kratochvil <jan.kratochvil@redhat.com>
> wrote:
>> On Wed, 24 Jul 2013 11:44:15 +0200, vijay nag wrote:
>>> My latest gdb-7.5 barfs out "cannot find bounds of current function"
>>> error when it encounters GNU_IFUNC while executing one line of code at
>>> a time using "next" command
>>
>> Sorry I did not analyze exactly your case but ensure your glibc contains
>> this
>> patch fixing how GDB deals with gnu-ifuncs:
>>
>> commit f85fa27058eb7d4b56b8deaf885064cf8d730f68
>> Author: H.J. Lu <hjl.tools@gmail.com>
>> Date: Thu Aug 9 16:04:37 2012 -0700
>> Avoid DWARF definition DIE on ifunc symbols
>>
>> Besides that there is already stable gdb-7.6 but I do not know about any
>> specific change there for gnu-ifunc.
>>
>>
>> Jan
>>
> Nice to hear from you again and I appreciate your quick turn-around. I shall
> patch the changes to my glibc and check if that is just enough for the
> gdb-7.5 to get going.
>
> Thanks
I do see the patch in my glibc-2.17. What could be the issue here ?