This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] persistence of schedlock mode
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 17 May 2010 05:56:57 -0700
- Subject: Re: [RFC] persistence of schedlock mode
- References: <4BEAEEB0.5040202@vmware.com>
On Wed, May 12, 2010 at 11:08:48AM -0700, Michael Snyder wrote:
> I don't think this is a problem for mode "step", and it could
> be argued that mode "on" is "use at your own risk". However
> I've been thinking about how to resolve it, and this simple
> but intrusive patch is what I come up with.
You should add a declaration for reset_schedlock someplace; otherwise,
you get:
gdb/target.c: In function 'target_mourn_inferior':
gdb/target.c:2249: error: implicit declaration of function 'reset_schedlock'
-Nathan