This is the mail archive of the gdb@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: more on gdb server




On Tue, 17 Jul 2001, Stan Shebs wrote:

> On Tuesday, July 17, 2001, at 11:57 AM, Quality Quorum wrote:
> 
> > Hi,
> >
> > I am not sure I am right about it, but it seems quite a neat idea to use
> > gdbserver as a primary interface even for a local debugging. It is cheap
> > resource wise and will provide for a neat separation of debugger per se
> > and (target dependable) target control code.
> 
> I'm not convinced that the overhead is negligible.  You're
> inserting an additional program and network stack trip in one
> of the two known time-critical parts of GDB. 

We can run it over UNIX sockets if performance is going to be an issue,
however, I strongly doubt it - we are running our GUI this way and
performance is not so bad.


> I think it should
> be *possible* to use gdbserver all the time, but I'd want to see
> encouraging performance numbers before advocating that we commit
> to using it.  (Having gdbserver functional on all native configs
> is kind of a prerequisite too. :-) )

As I told I am not sure about it and there is work involved, however,
it would make for a much cleaner design.
 
> 
> Stan
> 

Thanks,

Aleksey



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