This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wip] "info auxv"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]