[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] gdb-5.0 on SPARC/solaris 7
From: |
Martin Bell |
Subject: |
[Gdb] gdb-5.0 on SPARC/solaris 7 |
Date: |
Tue, 29 Jan 2002 11:57:35 +0000 |
Hi,
I've been having problems getting gdb-5.0 on SPARC/solaris 7 to work
with GDBServer on an ARM target.
To recap - I was having the following fatal error...
----------------------------------------------------------------
s unchanged
touch stamp-tvals
gcc -c -o armemu26.o -DHAVE_CONFIG_H
-DDEFAULT_INLINE=0 -DMODET -DNEED_UI_LOOP_HOOK
-I. -I. -I../common -I./../common -I../../include -I./../../include
-I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes
-I../../intl -I./../../intl -g -O2
gcc: No input files
*** Error code 1
make: Fatal error: Command failed for target `armemu26.o'
Current working directory /........./gdb-5.0/sim/arm
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /........./gdb-5.0/sim
*** Error code 1
make: Fatal error: Command failed for target `all-sim'
----------------------------------------------------------------
In order to have gdb-5.0 configured as follows....
./configure --host=sparc-sun-solaris2.7 --target=arm-linux
...here is what I had to do (this is possibly perculiar to my
system)....
In the directory /..../gdb-5.0/sim/arm/ there is a sub Makefile. To
over-come the above fatal error I replaced the "$<" of the following
snip with "armemu.c" and found the gdb make (for connecting to an ARM
target) finished sucessfully!
This snip is around line 656-ish...
armemu26.o: armemu.c armdefs.h armemu.h
$(CC) -c $< -o armemu26.o $(ALL_CFLAGS)
armemu32.o: armemu.c armdefs.h armemu.h
$(CC) -c $< -o armemu32.o -DMODE32 $(ALL_CFLAGS)
Remote debugging from SPARC to ARM works fine.
Regards,
Martin.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] gdb-5.0 on SPARC/solaris 7,
Martin Bell <=