This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/18095] New: Break at every line in a specific function
- From: "rohitgangrade1 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 09 Mar 2015 06:08:34 +0000
- Subject: [Bug breakpoints/18095] New: Break at every line in a specific function
- Auto-submitted: auto-generated
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.