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: Add  systemc simulator with gdb
Date: Fri, 20 Feb 2004 16:52:00 -0000	[thread overview]
Message-ID: <40363B35.5080902@gnu.org> (raw)
In-Reply-To: <1B3885BC15C7024C845AAC78314766C5036B65F3@exch-01.noida.hcltech.com>

> Hi All,
>  
> 	Is there any examples who have sucessfully integrated there
> simulators in c++ or systemc with gdb?
> 	What are the issues faced in that approach?
> 
> 	I found the problem of conflicting types of bfd in bfd.h and
> remote-sim.h(:67). Any idea how to overcome it?
> 
> ../../include/gdb/remote-sim.h:67: conflicting types for `struct bfd'
> /usr/include/bfd.h:78: previous declaration as `typedef struct _bfd bfd'

FYI, it should not be including that version of bfd.h (but I don't know 
if fixing that will help much).

Andrew

> ../../include/gdb/remote-sim.h:108: using typedef-name `bfd' after `struct'
> ../../include/gdb/remote-sim.h:145: using typedef-name `bfd' after `struct'
> ../../include/gdb/remote-sim.h:165: using typedef-name `bfd' after `struct'
> 	I think its bcoz of the difference in c++/g++  and gcc handling of
> forward declaration?
> 
> Your comments and inputs would be very helpfull
> 
> 
> 


  parent reply	other threads:[~2004-02-20 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18 14:19 Vineet Sharma, Noida
2004-02-18 14:52 ` Richard Earnshaw
2004-02-20 16:52 ` Andrew Cagney [this message]
2004-02-20  2:18 Yorkwar
2004-02-20 10:41 ` Richard Earnshaw

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=40363B35.5080902@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