aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-17 20:26:14 +0000
committerTom Tromey <tromey@redhat.com>2013-01-17 20:26:14 +0000
commit6108433d1a0ba373259af9aa1ebfdfc1bcec2eeb (patch)
tree4c5058ec5574f6d9b69dc0152038af87b0bf1a82 /gdb/cp-abi.c
parent2782d5126a6f5323abc1cfbf20a2b1aeb44636eb (diff)
downloadgdb-6108433d1a0ba373259af9aa1ebfdfc1bcec2eeb.zip
gdb-6108433d1a0ba373259af9aa1ebfdfc1bcec2eeb.tar.gz
gdb-6108433d1a0ba373259af9aa1ebfdfc1bcec2eeb.tar.bz2
* cp-abi.c (cp_abi_completer): Fix typo in assignment.
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r--gdb/cp-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index f1fa901..366ba30 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -329,7 +329,7 @@ cp_abi_completer (struct cmd_list_element *ignore,
cp_abi_names = XNEWVEC (const char *, num_cp_abis + 1);
for (i = 0; i < num_cp_abis; ++i)
cp_abi_names[i] = cp_abis[i]->shortname;
- cp_abis[i] = NULL;
+ cp_abi_names[i] = NULL;
}
return complete_on_enum (cp_abi_names, text, word);