This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix "PC register is not available" issue
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 18 Mar 2014 19:12:50 +0200
- Subject: Re: [PATCH] Fix "PC register is not available" issue
- Authentication-results: sourceware.org; auth=none
- References: <83txawa9wk dot fsf at gnu dot org> <20140318161608 dot GD4282 at adacore dot com> <83pplja2h9 dot fsf at gnu dot org> <20140318165413 dot GE4282 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 18 Mar 2014 09:54:13 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> > > Another thought I had on your patch is that we might want to limit
> > > the warning to situation where the return code is not a permission
> > > denied.
> >
> > I'm not sure we should bother. After all, if the problem is real, we
> > will get an error further down the line, when we use the handle to
> > that thread to do something with it.
> >
> > IOW, I see no need to thrash the entire session because of something
> > that isn't fatal.
>
> I didn't mean to change the behavior - only hide the warning.
Ah, OK. I think I'll do that in the next version of the patch.
> I think the only part we need to look at before putting your patch
> in is analyzing its side-effects.
I'll look into that and post the results.
Thanks.