This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] Bug 8287: Skip uninteresting functions while debugging
- From: Justin Lebar <justin dot lebar at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 16 May 2011 17:03:55 -0400
- Subject: Re: [Patch] Bug 8287: Skip uninteresting functions while debugging
- References: <AANLkTil4y3Kc2Q-Lq06_1N7VKDImGqolTGECsU2VqdwF@mail.gmail.com> <m3aaqi4vyy.fsf@fleche.redhat.com> <AANLkTin-9AzwBWuk8KwchWebJ8MHfWZe-Z-N2eBQQoHe@mail.gmail.com> <m3eiexams0.fsf@fleche.redhat.com> <AANLkTinejJF+9GVRNzHeVqYwApLLfa+x6qjBP8oRK=To@mail.gmail.com> <BANLkTik0AjciOKD-wePNEpnAo4+TWn1Gpw@mail.gmail.com>
Anything I can do to push this forward? I'd be a bit sad if the patch
sat and rotted again...
-Justin
On Mon, Apr 25, 2011 at 3:34 PM, Justin Lebar <justin.lebar@gmail.com> wrote:
> After many months of inactivity, I finally have time to work on this
> again. ?I'm really sorry for the delay.
>
> I've attached a patch for tip of trunk. ?I renamed the command from
> "blacklist" to "skip".
>
> The one major issue outstanding on the previous patch was that every
> time you stepped, I tried to resolve all skips pending a shared
> library load. ?I did this because registering a solib load listener
> didn't work -- somehow even after I was notified of the load, the
> solib's symbols weren't available.
>
> I hacked around this problem by putting a call to skip_re_set at the
> end of breakpoint_re_set.
>
> -Justin
>
> On Fri, Jul 23, 2010 at 3:50 PM, Justin Lebar <justin.lebar@gmail.com> wrote:
>> Justin> I'm not sure I like "enable blacklist". ?The problem is that
>> Justin> "blacklist" is a noun referring to the list of all functions we
>> Justin> skip and also a verb meaning "add an entry to the blacklist".
>> Justin> "Enable blacklist" sounds to me like we're enabling an entire
>> Justin> list of blacklist entries.
>>
>> Tom> Yeah, that makes sense.
>> Tom> Yes, that would be good. ?Any ideas for names?
>>
>> Maybe we could use "skip":
>>
>> skip function foo
>> skip file bar
>> info skip
>> delete skip 1
>> disable skip 42
>>
>> "Ignore" might also work, but I don't like "delete ignore 1", or
>> "enable ignore 2".
>>
>> -Justin
>>
>