From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7898 invoked by alias); 17 Feb 2003 17:14:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7891 invoked from network); 17 Feb 2003 17:14:36 -0000 Received: from unknown (HELO nimbus19.internetters.co.uk) (209.61.216.65) by 172.16.49.205 with SMTP; 17 Feb 2003 17:14:36 -0000 Received: (qmail 24336 invoked from network); 17 Feb 2003 17:14:34 -0000 Received: from unknown (HELO ?192.168.0.251?) (81.152.26.239) by nimbus19.internetters.co.uk with SMTP; 17 Feb 2003 17:14:34 -0000 Subject: Re: What has replaced fork to launch external commands? From: Alex Bennee To: Daniel Jacobowitz Cc: gdb@sources.redhat.com In-Reply-To: <20030217170013.GA18947@nevyn.them.org> References: <1045500565.2505.20.camel@cambridge.braddahead> <20030217170013.GA18947@nevyn.them.org> Content-Type: text/plain Organization: Hackers Inc Message-Id: <1045501672.2505.25.camel@cambridge.braddahead> Mime-Version: 1.0 Date: Mon, 17 Feb 2003 17:14:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00273.txt.bz2 On Mon, 2003-02-17 at 17:00, Daniel Jacobowitz wrote: > On Mon, Feb 17, 2003 at 04:49:25PM +0000, Alex Bennee wrote: > Where'd you get this 20020211 GDB? I don't remember GDB ever having a > "fork" command. >From ST's SH linux tools. Based on the original Monta Vista ones IIRC. I guess they must of patched gdb. If I can check-out the 20020211 source code from CVS I'll diff against the supplied sources and see what they changed. It would help if I knew which branch it came from. > Meanwhile you can probably roughly use "shell" if I'm understanding > what you're doing. Mmm, tried that but it ends up echoing gdb server stuff to the gdb command line. -- Alex, homepage: http://www.bennee.com/~alex/ Even the clearest and most perfect circumstantial evidence is likely to be at fault, after all, and therefore ought to be received with great caution. Take the case of any pencil, sharpened by any woman; if you have witnesses, you will find she did it with a knife; but if you take simply the aspect of the pencil, you will say that she did it with her teeth. -- Mark Twain, "Pudd'nhead Wilson's Calendar"