From: Sergio Durigan Junior <sergiodj@redhat.com>
To: Andreas Arnez <arnez@linux.vnet.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Provide useful completer for "info registers"
Date: Wed, 26 Nov 2014 21:52:00 -0000 [thread overview]
Message-ID: <87wq6haatn.fsf@redhat.com> (raw)
In-Reply-To: <87ioi1bs3x.fsf@redhat.com> (Sergio Durigan Junior's message of "Wed, 26 Nov 2014 15:54:10 -0500")
On Wednesday, November 26 2014, I wrote:
[...]
> + for (group = reggroup_next (gdbarch, NULL);
> + group != NULL;
> + group = reggroup_next (gdbarch, group))
> + regnames[count++] = reggroup_name (group);
>
> + regnames[count] = NULL;
> +
> + result = complete_on_enum (regnames, text, word);
Ops, sorry, this should be:
result = complete_on_enum (regnames, word, word);
complete_on_enum has such a weird interface that it makes me want to
cry...
Cheers,
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
next prev parent reply other threads:[~2014-11-26 21:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-25 17:28 Andreas Arnez
2014-11-26 20:54 ` Sergio Durigan Junior
2014-11-26 21:52 ` Sergio Durigan Junior [this message]
2014-11-28 18:14 ` Andreas Arnez
2014-11-28 20:39 ` Sergio Durigan Junior
2014-12-04 17:34 ` Pedro Alves
2014-12-10 17:36 ` Andreas Arnez
2014-12-10 18:21 ` Pedro Alves
2014-12-04 17:38 ` Pedro Alves
2014-12-10 17:48 ` Andreas Arnez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wq6haatn.fsf@redhat.com \
--to=sergiodj@redhat.com \
--cc=arnez@linux.vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox