Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: msarasa@fh-konstanz.de
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: ser-tcp ser-unix question
Date: Wed, 19 Mar 2003 11:42:00 -0000	[thread overview]
Message-ID: <1048074199.3e7857d755845@webmail.fh-konstanz.de> (raw)
In-Reply-To: <3E774F11.70409@redhat.com>

Quoting Andrew Cagney <ac131313@redhat.com>:

> > 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.



  parent reply	other threads:[~2003-03-19 11:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18 16:18 msarasa
2003-03-18 16:53 ` Andrew Cagney
2003-03-19 11:42   ` msarasa
2003-03-19 11:42   ` msarasa [this message]
2003-03-20  0:14     ` Andrew Cagney
2003-03-20  9:17       ` msarasa
2003-03-20 14:53         ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1048074199.3e7857d755845@webmail.fh-konstanz.de \
    --to=msarasa@fh-konstanz.de \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox