From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6826 invoked by alias); 8 Sep 2008 19:24:15 -0000 Received: (qmail 6818 invoked by uid 22791); 8 Sep 2008 19:24:14 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-1314.google.com (HELO qb-out-1314.google.com) (72.14.204.173) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Sep 2008 19:23:40 +0000 Received: by qb-out-1314.google.com with SMTP id e19so2952091qbe.0 for ; Mon, 08 Sep 2008 12:23:38 -0700 (PDT) Received: by 10.103.250.11 with SMTP id c11mr10507519mus.23.1220901816347; Mon, 08 Sep 2008 12:23:36 -0700 (PDT) Received: by 10.103.249.2 with HTTP; Mon, 8 Sep 2008 12:23:36 -0700 (PDT) Message-ID: <6a0f357f0809081223j2749b3ffg2230a6a64058965@mail.gmail.com> Date: Mon, 08 Sep 2008 19:24:00 -0000 From: "Seb Astien" To: gdb@sourceware.org Subject: GDB, microcontroller ISS and HDL simulator MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00048.txt.bz2 Hi all, I am not sure that this mailing list is the correct one, so sorry if I bother you. I have a newbie question, but I didn't find the answer on Internet. Here is my problem. I am working with a small custom microcontroller (8-bits), which is not supported by gdb, and I would like to know if it is possible to use gdb as a debbugger (and how). In the details I would like to connect a ISS to gdb (or gdb shall be changed to understand the instruction set of the microcontroller?). On the other end the ISS is connected with the HDL simulator for the interaction with the peripherals. I have seen that gdb can be "contacted" through TCP/IP, but I didn't know how, neither how I can explain to gdb what are the registers, how (and who throught the ISS and GDB) to give the instruction on both side. I would be very happy with some how-to/examples/documentation Regards, seb.