This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] implement putchar_filtered()


Nick Duffek wrote:
> 
> On 3-Jan-2001, Fernando Nasser wrote:
> 
> >We should not be using the functions that default to gdb_stdout anymore.
> >This makes it impossible to have gdb as a library, to have script
> >languages front ends etc.
> 
> I see your point.
> 
> But what about in CLI-specific code, i.e. gdb/cli/cli-*.c?
> 
> (I implemented putchar_filtered() for use in cli/cli-regs.c, which is part
> of the register definition patch I just posted.)
> 

I see your point too.

I have an idea: let's add it to the cli.  If it is on a cli header only cli
code will be able to use it.

Feel free to start a cli/cli-utils.[ch] and add the include on your file.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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