public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26355] New: get list of candidate functions to step into
@ 2020-08-08 12:43 trass3r at gmail dot com
  2020-08-09 19:33 ` [Bug gdb/26355] " tromey at sourceware dot org
  2020-08-24 17:50 ` trass3r at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: trass3r at gmail dot com @ 2020-08-08 12:43 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26355
           Summary: get list of candidate functions to step into
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: trass3r at gmail dot com
  Target Milestone: ---

Is there a way in gdb to get a list of functions you could step into when the
current line of code is composed of several function calls like
`foo(computeParam1(), computeParam2(), computeParam3())`?

This is necessary to implement
https://github.com/Microsoft/vscode-cpptools/issues/2488.

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

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

* [Bug gdb/26355] get list of candidate functions to step into
  2020-08-08 12:43 [Bug gdb/26355] New: get list of candidate functions to step into trass3r at gmail dot com
@ 2020-08-09 19:33 ` tromey at sourceware dot org
  2020-08-24 17:50 ` trass3r at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2020-08-09 19:33 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I don't think this information is available to gdb,
because as far as I know, it isn't represented in DWARF at all.
This has come up before, there is another bug somewhere
about wanting to only "step in" to the outermost call on a given
line.
I suppose to make progress on this, a DWARF proposal would be
needed (vendor extension would be ok); then a compiler would have
to emit it; then gdb could be updated.

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

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

* [Bug gdb/26355] get list of candidate functions to step into
  2020-08-08 12:43 [Bug gdb/26355] New: get list of candidate functions to step into trass3r at gmail dot com
  2020-08-09 19:33 ` [Bug gdb/26355] " tromey at sourceware dot org
@ 2020-08-24 17:50 ` trass3r at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: trass3r at gmail dot com @ 2020-08-24 17:50 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from trass3r <trass3r at gmail dot com> ---
I see, thanks for the explanation. I wonder how this is solved in msvc/VS.

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

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

end of thread, other threads:[~2020-08-24 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08 12:43 [Bug gdb/26355] New: get list of candidate functions to step into trass3r at gmail dot com
2020-08-09 19:33 ` [Bug gdb/26355] " tromey at sourceware dot org
2020-08-24 17:50 ` trass3r 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).