CentOS 4.2 x86_64 address errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Compiling the library and program with -m32
makes the problems go away, but gdb will
not work properly against such a program.
It cannot read the registers at a failure or breakpoint.

Is there some way to configure gdb to work
in this environment?  I have tried recompiling
gdb -m32 but I can't get that to compile.

gcc -c -g -O2 -m32    -I. -I.././gdb -I.././gdb/config - 
DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././ 
gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././ 
gdb/../bfd -I.././gdb/../include -I../intl -I.././gdb/../intl  - 
DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs - 
Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused- 
label -Wunused-function -Wuninitialized  amd64-linux-nat.c
In file included from amd64-linux-nat.c:35:
/usr/include/asm/prctl.h:7:4: #error <asm-i386/prctl.h> does not exist

Any idea wehre asm-i386/prctl.h might be?

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux