delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/07/11:30:58

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707071530.AA299169427@typhoon.rose.hp.com>
Subject: Re: gdb over serial port
To: dov AT israel DOT sun DOT com (Dov Zandman)
Date: Mon, 07 Jul 1997 8:30:27 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <33BF4BC2.1245@israel.sun.com>; from "Dov Zandman" at Jul 06, 97 10:39 am

> Does any one know how can one use the GDB input/output through a serial
> port (because screen is used for graphics) ?

Most of what I'll say comes from either running gdb and looking at what
it supports or browsing the info file.  Note that I never have gotten 
remote debugging to work.

Run gdb and look at the targets it support.  2 of them are serial remote
(remote and extended-remote).  So it looks like gdb itself can target over the
serial port.  

Looking at info file it says that they provide gdb stubs that you must 
link in to your program for it to work.  They are provided with the gdb
source (don't know if DJs package has them).


HTH 

Andrew

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019