Hello,
The GDB 4.18 has some problems in serial implementation in ANGEL.
Expecially, it doesn't support high baudrate( like 57600, 119200)
I recommend to use GDB 4.95.x instead of fixing it.
The download site is ftp://sourceware.cygnus.com/pub/gdb/snaphots .
To compile GDB 4.95.1 with angel support, you have to change your gdb/Makefile
and execute "configure --target=arm-linux --prefix=/somewhere" in the
gdb/rdi-share directory.
Add two files ( remote-rdi.o , rdi-share/libangelsd.a ) in Makefile. I don't
know why these two files are not included.
609: DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
610: $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o
783: gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
rdi-share/libangsd.a
The serial device file GDB uses is /dev/ttySx,
But I like to use serial port via /dev/cua0, so I modified source code for that
to use /dev/cua0 .
Try to use /dev/ttyS1 instead of /dev/cau1.
Related source files are as follows.
gdb/rdi-share/unixcomm.c
gdb/rdi-share/serdrv.c
Regards,
> >From [EMAIL PROTECTED] Wed May 17 10:33:09 2000
>
> Dear Mr.Jungjun Kim
>
> I found your message on the mail-list,I use Intel Assabate develop board too, when
>it communicates with the host through COM1,the protocol is Angle, use the command
>"target rdi /DEV/cau1",but when it connected, the display connected speed only at
>9600. I use the command "target rdi /dev/cua1 57600", it said "can not found the
>device /DEV/cau1 57600",Is the some error on my operations?
>
> BTW:where can I download the GDB 4.95.1? I can not find it at
>"sourceware.cysgnu.com".
>
> My host OS :Redhat Linux 6.0
> Host : Pentium II 400, 64MB memory
> The GDB version:4.18 compile "configure -target=arm-linux-elf"
>
> Thanks
> Best regards
>
> Sui Litao
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++