From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30049 invoked by alias); 30 Jul 2010 17:59:21 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 30036 invoked by uid 22791); 30 Jul 2010 17:59:20 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Tom Tromey To: Jan Kratochvil Cc: Oleg Nesterov , "Frank Ch. Eigler" , Roland McGrath , utrace-devel@redhat.com, archer@sourceware.org Subject: Re: gdbstub initial code, another approach References: <20100716205147.GA26313@redhat.com> <20100721170400.GA30978@redhat.com> <20100721204203.D040C400B6@magilla.sf.frob.com> <20100723173134.GA29717@redhat.com> <20100726142759.GA17171@redhat.com> <20100728181702.GA26678@redhat.com> <20100730125755.GA6438@redhat.com> <20100730132537.GA15448@host1.dyn.jankratochvil.net> Date: Fri, 30 Jul 2010 17:59:00 -0000 In-Reply-To: <20100730132537.GA15448@host1.dyn.jankratochvil.net> (Jan Kratochvil's message of "Fri, 30 Jul 2010 15:25:37 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q3/txt/msg00070.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> gdb linux-nat.c (=local gdb) should be deprecated. There is Jan> definitely a need for remote target and actively maintaining two Jan> modes is not effective, we can run gdbserver even during Jan> single-host debugging. I think we should differentiate a bit between Oleg's project and projects internal to gdb. I agree that the current approach of writing all linux-nat code twice -- once for gdb and once for gdbserver -- is no good. Also, I think Oleg's recent questions and investigations have shown that perhaps gdbserver is currently a bit lacking for local debugging. But, a lot of this is a problem specific to gdb. We could, for example, remove linux-nat.c and move to only allowing gdbserver. Or, we could have gdb and gdbserver share code. But either of these would be independent of whatever interface the kernel provides. Tom