projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gdb/symtab] Fix missing breakpoint location for inlined function
[deliverable/binutils-gdb.git]
/
gdb
/
completer.c
diff --git
a/gdb/completer.c
b/gdb/completer.c
index d03dc77c65dafc682b7d1aa5c764a3c9d1156217..ad33b98c696812ca553053006603e601bf5d977b 100644
(file)
--- a/
gdb/completer.c
+++ b/
gdb/completer.c
@@
-1090,7
+1090,7
@@
add_struct_fields (struct type *type, completion_list &output,
const char *type_name = NULL;
type = check_typedef (type);
- for (i = 0; i <
TYPE_NFIELDS (type
); ++i)
+ for (i = 0; i <
type->num_fields (
); ++i)
{
if (i < TYPE_N_BASECLASSES (type))
add_struct_fields (TYPE_BASECLASS (type, i),
This page took
0.023563 seconds
and
4
git commands to generate.