From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: David Smith Cc: Jonathan Larmour , gdb@sources.redhat.com Subject: Re: Thread switching and stepping bug Date: Thu, 03 May 2001 17:32:00 -0000 Message-id: <3AF1F8AB.5040504@cygnus.com> References: <3AE541F1.C8D1976F@redhat.com> <3AE57FA9.5090009@redhat.com> <3AEF64C7.790438AB@redhat.com> <3AF00AA7.6020002@redhat.com> X-SW-Source: 2001-05/msg00059.html > Jonathan, > > Note that my patch provides the generic PREPARE_TO_PROCEED functionality. You'll have to change your tdep file to use generic_prepare_to_proceed(). If your target is already multi-arched, it is a one line change in your {target}_gdbarch_init() function. It would look like this: > > set_gdbarch_prepare_to_proceed (gdbarch, generic_prepare_to_proceed); > > Give that a shot. Perhaphs the generic version should be enabled by default? While this is definitly a departure from the norm - retain default behavour even when broken - I suspect it may still be better since enabling this fixes a bug. Andrew