public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Pedro Alves'" <palves@redhat.com>,
	       "'Joel Brobecker'" <brobecker@adacore.com>
Cc: <gdb@sourceware.org>
Subject: RE: run the ARI on gdbserver too?
Date: Tue, 13 Nov 2012 10:01:00 -0000	[thread overview]
Message-ID: <006e01cdc185$b2f4ef20$18decd60$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <50A14202.4060403@redhat.com>



> -----Message d'origine-----
> De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la part
> de Pedro Alves
> Envoyé : lundi 12 novembre 2012 19:38
> À : Joel Brobecker
> Cc : Pierre Muller; gdb@sourceware.org
> Objet : run the ARI on gdbserver too?
> 
> On 11/12/2012 06:07 PM, Joel Brobecker wrote:
> >> >   Also, I would find as a logical consequence that also
> >> > gdbserver subdirectory should follow the ARI rules.
> >> >   This is done quite easily by removing the
> >> >   -name gdbserver -prune -o
> >> > line from gdb_find.sh script in gdb/contrib./ari
> >> > but is a rather important change that should be discussed fully.
> > Right. I think it would be a helpful, but I'll let Pedro comment
> > on that one.
> 
> I agree that it's a logical step.  I think we'll see a lot of
> hits that don't actually point at issues that are problems in
> practice (due to the fact lots of gdbserver code is host/native
> code that makes assumptions on the environment its being built
> for, like bits of native code in gdb does), but it sounds nevertheless
> a good idea, considering we'll want to share more and more between
> gdb and gdbserver.

  This was one of the reasons 
of my old proposition to distinguish between
native and general files.
http://sourceware.org/ml/gdb-patches/2011-03/msg01087.html

  Using things like 'long long' type or '%ll' or '%p'
is not really a problem for native files, but
can become one for general files as the size of the
fields might not match was is expected.


Pierre Muller

  reply	other threads:[~2012-11-13 10:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12  9:37 New ARI web page, generated using script inside CVS tree in gdb/contrib/ari directory Pierre Muller
2012-11-12 18:07 ` Joel Brobecker
2012-11-12 18:28   ` Pedro Alves
2012-11-12 18:38     ` Joel Brobecker
2012-11-12 18:48       ` Pedro Alves
2012-11-12 18:52         ` Joel Brobecker
2012-11-12 18:38   ` run the ARI on gdbserver too? Pedro Alves
2012-11-13 10:01     ` Pierre Muller [this message]
2012-11-16 16:03     ` Pierre Muller
2012-11-16 16:14       ` Pedro Alves
2012-11-14 16:41   ` New ARI web page, generated using script inside CVS tree in gdb/contrib/ari directory Tom Tromey
2012-11-14 16:59     ` Joel Brobecker

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='006e01cdc185$b2f4ef20$18decd60$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=palves@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).