This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] fix session breakpoints


OK, Checked in with a lengthy explanation in the comments and
suggestions about how it could eventually be fixed to deal with
all cases.

Martin

On Wednesday 02 January 2002 06:13 pm, Keith Seitz wrote:
> On Wed, 2 Jan 2002, Martin M. Hunt wrote:
> > This is a second version of the patch that attempts to check if you are
> > debugging gdb with itself before ignoring those breakpoints.  It assumes
> > the name of the executable starts with "gdb" or "insight".  Of course
> > this isn't ideal either, but anything else will require GDB changes and
> > IMO will not be worth the effort.
>
> While I agree with Tom that it would be nice to fix this for real, I also
> acknowledge that there are for more people using sessions to do
> init-script like things than those using gdb's init files.
>
> What we really want is something in breakpoint.c to tell us if the
> breakpoint was set from an init script. Somehow I doubt we'd get it.
>
> Please add a comment about our failure to deal with this generically, but
> for now, we might as well make developers' lives easier. Then commit.
>
> Thanks,
> Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]