This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) [repost]
- From: Gary Benson <gbenson at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Feb 2012 16:51:00 +0000
- Subject: Re: [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) [repost]
- References: <20120127151034.GA22606@redhat.com> <20120128001638.GA4448@host2.jankratochvil.net> <20120128090724.GA30170@host2.jankratochvil.net>
Jan Kratochvil wrote:
> On Fri, 27 Jan 2012 16:10:34 +0100, Gary Benson wrote:
> > +
> > + return cad->callback (sym, cad->data);
> > + }
> > + return 0;
>
> Could you make a comment why is here 0? I would think here should
> be 1 but I may be wrong.
I've been racking my brains this couple of days to remember why I
set this to 0... I remember being certain it was correct, but not
why, but looking at it now 1 seems right. I'm going to switch it
to 1 unless I have some moment of recall.
Thanks,
Gary
--
http://gbenson.net/