From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21582 invoked by alias); 19 Mar 2003 11:42:47 -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 21492 invoked from network); 19 Mar 2003 11:42:46 -0000 Received: from unknown (HELO suntana.fh-konstanz.de) (141.37.9.230) by sources.redhat.com with SMTP; 19 Mar 2003 11:42:46 -0000 Received: from localhost (s4502.fh-konstanz.de [141.37.9.242]) by suntana.fh-konstanz.de (8.9.3+Sun/8.9.3) with ESMTP id MAA05821; Wed, 19 Mar 2003 12:36:59 +0100 (MET) Received: from 212.62.199.50 ( [212.62.199.50]) as user msarasa@mail.fh-konstanz.de by webmail.fh-konstanz.de with HTTP; Wed, 19 Mar 2003 12:43:19 +0100 Message-ID: <1048074199.3e7857d755845@webmail.fh-konstanz.de> Date: Wed, 19 Mar 2003 11:42:00 -0000 From: msarasa@fh-konstanz.de To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: ser-tcp ser-unix question References: <1048004350.3e7746ff02818@webmail.fh-konstanz.de> <3E774F11.70409@redhat.com> In-Reply-To: <3E774F11.70409@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15;q=1.0 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 212.62.199.50 X-SW-Source: 2003-03/txt/msg00285.txt.bz2 Quoting Andrew Cagney : > > We're trying to make a new file to define how should gdb connect to a > > simulated UART, as I said before. Forget the other question. > > I see that there are three files called ser-tcp.c , ser-unix.c , ser-pipe.c > , > > and also a pair called ser-something.c. > > In configure.in from gdb there's a point in which SER_HARDWIRE = > "ser-unix.c > > ser-tcp.c ser-pipe.c" is shown. But, I'm trying to configure this (just for > a > > probe) with SER_HARDWIRE = "ser-unix.o ser-tcp.o ser-pipe.o ser-simuart.o" > > > with no results. > > > > I would like to do a new ser-simuart.c file , with all the methods to > > send-receive data to a simulated uart. So I could connect easily gdb to a > > software board simulator that reads/writes to a simulated UART. Before I > make > > this ser-simuart.c file, how should I integrate this with the rest of the > gdb > > code? Should I do something more or just a new file? > > Add the new file. Modify the serial.c code so that it recognizes and > selects the new device (you mentioned this in your previous e-mail). > > Get an FSF assignment. > > Andrew thanks! When i've made this , what should I do to build the gnu tools with the new file? I've tried to add ser-sim.c to configure.in (which is my file) in the line : SER_HARDWIRE = " ser-tcp.o ser-unix.o ser-pipe.o" , but eventhough I wrote SER_HARDWIRE = " ser-tcp.o ser-unix.o ser-pipe.o ser-sim.o",and then runned configure the makefile remains unaltered at this point(ser-sim.o , nowhere, the other yes). What I'm doing wrong? These ser-* files seems a little bit strange to me, because they're not included in any other file, so I thought that the only relation with the rest of gnu comes by the configure file. Where could I get an FSF assignment? Thanks again! Miguel.