This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug cli/8287] skipping boring functions when stepping


------- Additional Comments From justin dot lebar+gdb at gmail dot com  2010-05-06 17:45 -------
I have a patch which lets you blacklist files and functions.  GDB won't step
into a blacklisted file or function.

I'd like some advice on the UI for this, though, so I don't have to write it twice.

In particular, the blacklist is a lot like the list of breakpoints.  You want to
do to blacklist entries basically everything you can do to breakpoints: list,
enable, disable, delete.  This suggests that blacklist entries should perhaps be
a type of breakpoint.

On the other hand, a blacklist entry is exactly the opposite of a breakpoint.  A
breakpoint/watchpoint/tracepoint says "I'm interested in this", but a blacklist
entry means "I want to ignore this".  This suggests that we should keep the
blacklist separate from the list of breakpoints.

I'm leaning towards making the blacklist separate from the breakpoint list, but
I'm happy to do it either way.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=8287

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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