From mboxrd@z Thu Jan 1 00:00:00 1970 From: Quality Quorum To: Stan Shebs Cc: gdb@sources.redhat.com Subject: Re: more on gdb server Date: Wed, 18 Jul 2001 06:52:00 -0000 Message-id: References: <200107181323.f6IDNtw14885@scv2.apple.com> X-SW-Source: 2001-07/msg00232.html 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