public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/18095] New: Break at every line in a specific function
@ 2015-03-09  6:08 rohitgangrade1 at gmail dot com
  2015-03-09  9:02 ` [Bug breakpoints/18095] " rohitgangrade1 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rohitgangrade1 at gmail dot com @ 2015-03-09  6:08 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18095

            Bug ID: 18095
           Summary: Break at every line in a specific function
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: rohitgangrade1 at gmail dot com

Say, I want to keep stepping only in the source code that I build that has
multiple functions, but going from one function to another is through standard
template library.

In that case, I don't want to step inside the STL source code and directly jump
to the call which executes from the middle of another function I created. One
option is to set breakpoints inside every function where I want to go, but that
is very cumbersome. Another option is to use next instead to step, but that
will again jump directly to next line in the same original function.

So, if there was some construct which facilitates breaking in only the source
file I mention, or which possibly adds the breakpoints at every line in the
specified functions, then I would be able to parse from one function to another
through standard template library without going into standard template library.

This is used extensively in SystemC which is a set of C++ libraries for
modelling hardware and execution address goes from one class to another in the
middle of function through Kernel which is implemented in standard template
library.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-09  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09  6:08 [Bug breakpoints/18095] New: Break at every line in a specific function rohitgangrade1 at gmail dot com
2015-03-09  9:02 ` [Bug breakpoints/18095] " rohitgangrade1 at gmail dot com
2015-03-09  9:26 ` palves at redhat dot com
2015-03-10  1:17 ` rohitgangrade1 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).