This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: fix PR gdb/8869


On Saturday 08 August 2009 00:28:00, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> 
> Tom> Sigh.
> Tom> I'll fix soon.
> 
> Ok, here is an update to strip trailing whitespace.  This time with some
> tests.

Thanks!

> This is kind of ugly.

Indeed.  :-)

> I did remember a problem with using a real enum for set language -- the
> languages aren't all registered when _initialize_language is called.

I think it would work to (re-)register the command in add_language
instead, whenever a new language is added.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]