This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [wip] "info auxv"
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 10 Nov 2003 18:21:39 -0500
- Subject: Re: [wip] "info auxv"
- References: <3FB01C47.1020502@redhat.com>
On Mon, Nov 10, 2003 at 06:16:23PM -0500, Andrew Cagney wrote:
> This work-in-progress is more questions than answers.
>
> - Common code in "procfs.c" (tested) and "inftarg.c"
> It makes me wonder if the native inferior code should be re-arranged
> (has this come up before?).
>
> - The new files "auxv.[hc]" for parsing the file.
> Perhaphs it belongs in "procfs.c" but that gets me back to the first
> question - could the native inferior code be better structured?
> + switch (auxv.type)
> + {
> + case AT_NULL:
> + name = "End of vector";
> + break;
Just a comment - as Roland said, the values in "elf/common.h" are not
authoritive, and I don't even think they match Solaris? Should this be
in common code?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer