This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Completion on static functions
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 12 Apr 2013 11:12:54 +0300
- Subject: Re: Completion on static functions
- References: <83d2u6cnkv dot fsf at gnu dot org> <83li8o9sph dot fsf at gnu dot org> <20130412064749 dot GA14827 at host2 dot jankratochvil dot net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 12 Apr 2013 08:47:49 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb@sourceware.org
>
> On Fri, 12 Apr 2013 08:19:22 +0200, Eli Zaretskii wrote:
> > So does this silence mean that no one else bumped into this yet?
>
> there is no reproducer above.
Sorry about that. I didn't imagine the problem was so rare. My bad.
Try this: build the latest sharutils 4.13.4 with CFLAGS='-g3 -O2',
then do this:
$ cd src && gdb ./shar
(gdb) break generate_full_ TAB
(There is a static function named generate_full_header in shar.c.)
As mentioned before, the problem happened to me with GCC 4.7.2 on
MinGW. As expected, GDB reports (in "info source") that the debug
info is DWARF 2 with preprocessor macro info.
Let me know if you need more info from GDB, I have the build directory
handy with the object and executable files that trigger this problem.