Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stanshebs@earthlink.net>
To: gdb@sourceware.org
Subject: Re: How to use gdbserver for X86 host with arm-linux target ?
Date: Wed, 14 Sep 2011 19:36:00 -0000	[thread overview]
Message-ID: <4E710209.4030600@earthlink.net> (raw)
In-Reply-To: <CADPb22T2-mJ5T7H6JNU7JE9J0KpzZAgCuun73zi_WXqrwMg33w@mail.gmail.com>

On 9/13/11 10:28 AM, Doug Evans wrote:
> [...]
> Seems like this another example where gdb suffers from having two code
> bases (gdb, gdbserver) to implement the same functionality.
>

Ironically, any discussion of sharing vs duplication would have been 
happening a few dozen steps away from where you and I were sitting at 
Cygnus back in 1993. :-)

I don't remember if there was much talk about it back then, but if there 
was, it probably seemed like an impossibility, especially considering 
the shoestring that Cygnus operated on at the time.  The whole idea of a 
target vector interface was still pretty new, and control flow was in 
reality much more intertwined and config-macro-dependent than the target 
vector pretended.

I think all new debugger designs are separating the low-level inferior 
control sufficiently to build debugger and server using the same code if 
desired.

Stan
stan@codesourcery.com


      parent reply	other threads:[~2011-09-14 19:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12 11:25 karl leplat
2011-09-12 13:48 ` Pedro Alves
2011-09-12 17:24   ` Ulrich Weigand
2011-09-13 17:28   ` Doug Evans
2011-09-14 12:27     ` Ulrich Weigand
2011-09-14 19:36     ` Stan Shebs [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=4E710209.4030600@earthlink.net \
    --to=stanshebs@earthlink.net \
    --cc=gdb@sourceware.org \
    /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