This is the mail archive of the gdb@sourceware.org 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: AT_SUN_AUXFLAGS undeclared - curent CVS


> Date: Wed, 16 Jan 2008 21:49:25 +0000
> From: "Rob Quill" <rob.quill@gmail.com>
> 
> Hi all,
> 
> When building from the current CVS i get the following error:
> 
> gcc -c -g -O2   -I. -I../../src/gdb -I../../src/gdb/config
> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
> -I../../src/gdb/../include/opcode -I../../src/gdb/../readline/..
> -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include
> -I../libdecnumber -I../../src/gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1
>  -Wall -Wdeclaration-after-statement -Wpointer-arith
> -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch
> -Wno-char-subscripts -Werror ../../src/gdb/bfd-target.c
> ../../src/gdb/auxv.c: In function 'fprint_target_auxv':
> ../../src/gdb/auxv.c:211: error: 'AT_SUN_AUXFLAGS' undeclared (first
> use in this function)
> ../../src/gdb/auxv.c:211: error: (Each undeclared identifier is
> reported only once
> ../../src/gdb/auxv.c:211: error: for each function it appears in.)
> 
> My system is Linux 2.6.22, amd64. Has anyone else had this problem? I
> searched the archives and Google and couldn't find anything about
> this.

Oops, I forgot to commit a bit.  Just committed the attached bit,
which should fix things.


2008-01-16  Mark Kettenis  <kettenis@gnu.org>

	* common.h (AT_SUN_AUXFLAGS): Define.

Index: common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.90
diff -u -p -u -p -r1.90 common.h
--- common.h	18 Oct 2007 09:57:04 -0000	1.90
+++ common.h	16 Jan 2008 22:00:36 -0000
@@ -782,6 +782,7 @@
 #define AT_SUN_EXECNAME 2014    /* Canonicalized file name given to execve.  */
 #define AT_SUN_MMU      2015    /* String for name of MMU module.   */
 #define AT_SUN_LDDATA   2016    /* Dynamic linker's data segment address.  */
+#define AT_SUN_AUXFLAGS	2017	/* AF_SUN_ flags passed from the kernel.  */
 
 
 #endif /* _ELF_COMMON_H */


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