public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/15377] New: completer ignores inlined functions
@ 2013-04-18 14:05 jan.kratochvil at redhat dot com
0 siblings, 0 replies; only message in thread
From: jan.kratochvil at redhat dot com @ 2013-04-18 14:05 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15377
Bug #: 15377
Summary: completer ignores inlined functions
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
CC: gbenson@redhat.com
Classification: Unclassified
Completion on static functions
http://sourceware.org/ml/gdb/2013-04/msg00013.html
volatile int e;
static __attribute__ ((__always_inline__)) void
func_inlined (int a) {
e = a;
}
static __attribute__ ((__noinline__)) void
func_notinlined (int a) {
e = a;
}
int main (void) {
func_inlined (1);
func_notinlined (2);
return 0;
}
gcc -o inlined4 inlined4.c -Wall -g -O2
# -O0 does not work, not sure why.
(gdb) break func_inlined
Breakpoint 1 at 0x400400: file inlined4.c, line 10.
(gdb) complete break func
Actual:
break func_notinlined
break func_notinlined.constprop.0
Expected:
break func_inlined
break func_notinlined
break func_notinlined.constprop.0
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-18 14:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18 14:05 [Bug cli/15377] New: completer ignores inlined functions jan.kratochvil at redhat 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).