This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add extern of output_command to utils.h
- From: Tom Tromey <tromey at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 03 Jan 2013 14:41:43 -0700
- Subject: Re: [PATCH] Add extern of output_command to utils.h
- References: <CANFwon27w-6+73nUvm-RYip2Ku8JcGRkVzJVwNrWOzsij6ES8A@mail.gmail.com>
>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:
Hui> * tracepoint.c: Remove extern of function output_command.
Hui> * utils.h (output_command): New extern.
I appreciate you doing this, but utils.h seems like a weird place to put
this.
I don't know of a better place but I suppose if I were doing it, I would
look for a header that, ideally, is both printing-related and already
has some _command declarations in it.
Tom