projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opcodes/i386: remove trailing whitespace from insns with zero operands
[binutils-gdb.git]
/
gdb
/
completer.c
diff --git
a/gdb/completer.c
b/gdb/completer.c
index f4b5917095d7c993af6bf246dcd02b33192b3513..fea3eb9329d8464c8d74fb219d53182f568b36f7 100644
(file)
--- a/
gdb/completer.c
+++ b/
gdb/completer.c
@@
-1821,7
+1821,7
@@
reg_or_group_completer_1 (completion_tracker &tracker,
{
for (const struct reggroup *group : gdbarch_reggroups (gdbarch))
{
{
for (const struct reggroup *group : gdbarch_reggroups (gdbarch))
{
- name =
reggroup_name (group
);
+ name =
group->name (
);
if (strncmp (word, name, len) == 0)
tracker.add_completion (make_unique_xstrdup (name));
}
if (strncmp (word, name, len) == 0)
tracker.add_completion (make_unique_xstrdup (name));
}