Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: "Vineet Sharma, Noida" <vineets@noida.hcltech.com>
Cc: gdb@sources.redhat.com
Subject: Re: build gdb with simulator
Date: Fri, 13 Feb 2004 14:51:00 -0000	[thread overview]
Message-ID: <402CE47E.70403@gnu.org> (raw)
In-Reply-To: <1B3885BC15C7024C845AAC78314766C503484EA8@exch-01.noida.hcltech.com>

> Hi 
>     I am building a simulator for new 16-bit processor, now i want to
> integrate it with gdb, so how do tell gdb about my simulator. I tried
> building by 
> 
> 	../configure  -target=XXX-coff --enable-sim-XXX=yes   -v
> --prefix=/home/vineet/gdb-6.0/
> 
> and the simulator code is in sim/XXX directory.
> 
> 
> So what Makefile and config file i need to midify for integrating my
> simulator with gdb?

At present gdb/config/*/*.mt, for instance:

./src/gdb/config/mips/embed.mt:
> TDEPFILES= mips-tdep.o remote-mips.o
> TM_FILE= tm-mips.h
> SIM_OBS = remote-sim.o
> SIM = ../sim/mips/libsim.a

there are some change-requests suggesting ways to simplify it:

Flattern sim/ makefile structure
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1315

sim/null/ as the default simulator
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=429

sim/libsim.a
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=428

Andrew



      reply	other threads:[~2004-02-13 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 12:04 Vineet Sharma, Noida
2004-02-13 14:51 ` Andrew Cagney [this message]

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=402CE47E.70403@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=vineets@noida.hcltech.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