This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
DONT_USE_STDIO
- From: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 18 Feb 2004 19:34:37 +0530
- Subject: DONT_USE_STDIO
Hi All,
I am using gdb-6.0 when i try to compile my simulator with gdb i
get the following errors
../common/sim-config.c: In function `config_byte_order_to_a':
../common/sim-config.c:49: `LITTLE_ENDIAN' undeclared (first use in this
function)
../common/sim-config.c:49: (Each undeclared identifier is reported only once
../common/sim-config.c:49: for each function it appears in.)
../common/sim-config.c:51: `BIG_ENDIAN' undeclared (first use in this
function)
../common/sim-config.c: In function `config_stdio_to_a':
../common/sim-config.c:65: `DONT_USE_STDIO' undeclared (first use in this
function)
../common/sim-config.c:67: `DO_USE_STDIO' undeclared (first use in this
function)
../common/sim-config.c: At top level:
../common/sim-config.c:77: warning: `enum sim_environment' declared inside
parameter list
../common/sim-config.c:77: warning: its scope is only this definition or
declaration, which is probably not what you want
../common/sim-config.c:78: parameter `environment' has incomplete type
../common/sim-config.c: In function `config_environment_to_a':
../common/sim-config.c:81: `ALL_ENVIRONMENT' undeclared (first use in this
function)
../common/sim-config.c:83: `USER_ENVIRONMENT' undeclared (first use in this
function)
../common/sim-config.c:85: `VIRTUAL_ENVIRONMENT' undeclared (first use in
this function)
../common/sim-config.c:87: `OPERATING_ENVIRONMENT' undeclared (first use in
this function)
What is wrong? I am not using cgen. Mine is stand alone simulator(in c++)
with inteface for gdb in C(a kind of built-in).
I havnt found where i need to define these varables(if i need to?) Any hint?
Regards
Vineet