Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: GDB for multiple targets
Date: Fri, 21 Nov 2008 19:07:00 -0000	[thread overview]
Message-ID: <492706B3.9040907@vmware.com> (raw)
In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0685ADD9@ecamlmw720.eamcs.ericsson.se>

Marc Khouzam wrote:
> Hi,
>  
> I would like to have one GDB binary on Linux to debug different targets:
> Linux and Dicos.
> I built GDB with --enable-targets=i686-ericsson-dicos so I get Linux by
> default, and Dicos as a possibility.
>  
> From what I understand, to debug a Dicos target, I need 'set osabi
> DICOS'
>  
> I'm trying to find out how difficult it would be (if at all possible),
> for GDB to, instead, automatically
> detect the target after a 'target remote' command.
>  
> The reason for this is to have the DSF-GDB frontend simply be able to
> connect to a target, without
> requiring the user to specify which type.
>  
> Is it possible?

We could set up a query as part of the initial "target remote" 
handshake.  It would be nice to have a standard agreed-upon before
implementation.


  reply	other threads:[~2008-11-21 19:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 17:09 Marc Khouzam
2008-11-21 19:07 ` Michael Snyder [this message]
2008-11-22 15:26   ` Ulrich Weigand
2008-12-09 14:42     ` Marc Khouzam
2008-12-09 18:12       ` Ulrich Weigand
2008-12-09 18:40         ` Marc Khouzam
2008-12-09 18:44           ` Ulrich Weigand
2008-11-24 16:36 Duane Ellis
2008-11-24 22:03 ` Daniel Jacobowitz
2008-11-25  0:04   ` Duane Ellis
2008-11-25  4:06     ` Daniel Jacobowitz
2008-11-25 17:48       ` Duane Ellis
2008-11-26  2:51         ` Daniel Jacobowitz

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=492706B3.9040907@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.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