Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: Daniel Jacobowitz <drow@mvista.com>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] auxv support
Date: Fri, 30 Jan 2004 23:51:00 -0000	[thread overview]
Message-ID: <200401302351.i0UNp4hk018577@magilla.sf.frob.com> (raw)
In-Reply-To: Andrew Cagney's message of  Friday, 30 January 2004 18:31:49 -0500 <401AE965.7020302@gnu.org>

> The target vector update is fine.

Sorry, I'm not entirely clear on how to read you.  Should I commit the
whole patch I posted now?  (I'm not sure because you said "target vector
update", and my patch includes to_xfer_partial target updates,
to_make_corefile_notes target updates, and the `info auxv' user command.)

> Would you be able to also knock up an "auxv.exp" test case?  

Sure!  That is, I'd be happy to try.  Is there an especially good existing
test case to take as the canonical template for a test such as this?

To be complete, a test should try a live process, try a real core file, and
also try making a core file with gcore and then seeing that it matches the
real process it was made from.  Can you point me to an example of a test
that elicits core dumps and examines them?

> Something to run the command and, most notably, fail if "???" comes out
> as the auxv entry name?

That's not really a failure if it does.  Some random kernel change that we
have no reason to know or care about could cause that to be the case on
some system.  Do we want to make the gdb test suite complain whenever a new
constant appears in nature that's not in our table?  

If all you intend is a sanity check that we're not reading garbage values,
there are at least one or two AT_FOO tags that I think can be reliably
expected to be seen on every system that has an auxv at all.  So we could
make sure those are there, or just make sure that at least some entries had
names found.

> Also, just file a bug reports that there isn't an equivalent MI auxv 
> command, and that those other commands need need documenting.  I'll (or 
> someone) will need to come back to that.

Will do.  What about the remote protocol issue?  Should I file a bug for
that too?  Conversely, I'd be happy to get that resolved right here and
now, do the implementation work in remote.c and gdbserver.


Thanks,
Roland


  reply	other threads:[~2004-01-30 23:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-29  2:59 Roland McGrath
2004-01-29  6:39 ` Eli Zaretskii
2004-01-29  8:20   ` Roland McGrath
2004-01-29 20:14     ` Eli Zaretskii
2004-01-29 21:31       ` Roland McGrath
2004-01-30 19:03 ` Daniel Jacobowitz
2004-01-30 23:35   ` Andrew Cagney
2004-01-30 23:51     ` Roland McGrath [this message]
2004-01-31  0:11       ` Andrew Cagney
2004-01-31  0:16         ` Roland McGrath
2004-02-02 14:27           ` Andrew Cagney
2004-02-17 16:35         ` Andrew Cagney
2004-02-18  2:08           ` Roland McGrath
2004-02-24  3:50         ` Roland McGrath
2004-02-25  3:59           ` Andrew Cagney
2004-03-19  0:09             ` [COMMITTED PATCH] testsuite for info auxv Roland McGrath
2004-03-17 20:46               ` Roland McGrath
2004-02-25  4:03           ` [PATCH] auxv support Daniel Jacobowitz
2004-02-25 20:38             ` Roland McGrath
     [not found] <200401310013.i0V0DnGE018646@magilla.sf.frob.com>
2004-02-01  6:04 ` Daniel Jacobowitz
2004-02-01 22:36   ` Roland McGrath
2004-02-02  0:11   ` Roland McGrath
2004-02-02  6:24     ` Eli Zaretskii
2004-02-02 14:17   ` Andrew Cagney
2004-02-02 14:25   ` Andrew Cagney

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=200401302351.i0UNp4hk018577@magilla.sf.frob.com \
    --to=roland@redhat.com \
    --cc=cagney@gnu.org \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.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