GDB Armulator

Modi Banti b.modi@sssup.it
Thu Jun 17 15:40:00 GMT 2004


Hi,

I need to do following 

1) I have GCc tool chain for arm-elf paltform. I have some 
application compiled using arm-elf-gcc.

2) I want to run tha application using GDB armulator and 
debug it.

3) I was trying to build GDB Armulator but i get varioud 
kinds of errors. I configure the GDB by saying ./configure 
--target==arm-linux and then make all  and I get erros of 
the kind-


gcc -g -O2       \
         -o gdb gdb.o libgdb.a \
            ../bfd/libbfd.a ../readline/libreadline.a 
../opcodes/libopcodes.a  ../libiberty/libiberty.a 
    -lsocket -lnsl -lm -lncurses  ../libiberty/libiberty.a 
 
libgdb.a(tui.o)(.text+0x64c): In function `tui_enable':
/users/students/tesi10/gdb-6.1/gdb/tui/tui.c:377: 
undefined reference to `initscr32'
libgdb.a(tui-io.o)(.text+0x154): In function `tui_puts':
/users/students/tesi10/gdb-6.1/gdb/tui/tui-io.c:176: 
undefined reference to `w32addch'
libgdb.a(tui-io.o)(.text+0x17c):/users/students/tesi10/gdb-6.1/gdb/tui/tui-io.c:181: 
undefined reference to `getcury'


I am not sure what I am doing wrong here. Is it correct to 
configure it as arm-linux?  I  couldnt find any document 
explaing this nicely....can anybody please help me and 
tell how to get this done....also how do i run and debug 
my application using GDB and Armulator.....

Thanks and regards,
Banti



More information about the Gdb mailing list