This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: scanf with gdb stubs on ARM AEB


   From: Jesper Skov <jskov@redhat.com>
   Date: 25 Jan 2000 10:02:50 +0100

   Combining GDB and user interaction on a target that only has one
   serial port is going to be a big problem.

It's not conceptually difficult.  Extend the gdb remote protocol to
support a command providing input on the serial port.  Add a command
to gdb to send a line of input to the stub.  Add a command to gdb to
switch the stub over to receiving input on the serial port until some
special character sequence is typed; implement this using the new
remote protocol command.  Implement the new remote protocol command in
whatever stubs you care about.

It's true that some things will be hard to do, like timing dependent
serial input.  Those are the breaks.

Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]