This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

remote gdb with shared serial port


I am working on project now with an embedded 68332.  For legacy
reasons, they are stuck with the MRI compiler.  I want to use
cross/remote gdb as a debug tool.  This is mostly old code that
sufferes from being hacked a lot -- it is a test fixture, not a
shipped product -- so I want a good debugger to help me navigate thru
the spaghetti.  :-)

First question:  What format are the object files produced by the MRI
68K compiler for this target?

Second question:  There is only one serial port on this box, and it is 
used to communicate between the workstation and the box during normal
operation.  I will need to share this serial port for gdb to work.
The box is plugged into the serial port of an NCD X-terminal, so the
host computer must communicate with the serial port via a socket, such 
as a telnet connection.  Can I use an escape character, such as ^C to
get the xgdb driver's attention in the target box, and likewise to
switch the socket between the host copy of gdb and the host software
that normally talks to the box?

Third question:  Where is the latest version of gdb located?  I tried
to ftp from prep.ai.mit.edu, but it kept timing out.  :-(

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
R. J. Brown III  rj@elilabs.com http://www.elilabs.com/~rj  voice 847 543-4060
Elijah Laboratories Inc. 457 Signal Lane, Grayslake IL 60030  fax 847 543-4061
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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