Hi!!!!

Because no one answer for my question and I have some progress in GDB/ANGEL
these days, I answer myself.

> 1. Register display
> There is no command to show registers in the both GDB 4.18 and
> gdb+dejagnu-20000426.
> Even more, I  get general pupose register value only in the current mode.
> For instance, the cpu is in USR32 mode, then I cannot get the register value in
> FIQ mode.
> 
> So I added "show_regs()" function to get GP registers and CP15 registers.
> 
> But I wonder that there is a  patch code for this Register display.
> 
I can get GP register values using "info registers", but it shows only GP
registers in  the current mode.
So to get GP register in other mode and CP15 registers, I defined more registers
in gdb/config/arm/tm-arm.h.


> 
> 2. next command, finish command
> 
> I place linux kernel image in RAM after I compiled linux kernel with -g -O
> options.  There is already Angel Image in ROM started at 0. Most of gdb
> commands are working fine.
> But with next command, the program couldn't stop at the next line and keep
> running. So I added some codes in "gdb/infrun.c:1872" for this problem as
> follows.

I downloaded gdb-4.95.1 from "sourceware.cysgnu.com", and I compiled again.
With that version, it's OK for the "next" and the "finish" command.

>
> 3. Baudrate
> With angel, I want to change baudare in runtime. Actually, there is
> "set remotebaud" command, but it doesn't seems to work with angel.

Now I can change baudrate using "target" command as follows

(gdb) target rdi /dev/cua0 57600
(gdb) load vmlinux
(gdb) target rdi /dev/cua0 19200

----------------------------------------------o00--(_)--00o-------
    Jungjun Kim       System Software Engineer
                      Application Team, Hyundai Electronics
    Office) +82-2-3459-3205
    FAX)    +82-2-3459-5843
                                               .oooO Oooo.
    mailto:[EMAIL PROTECTED]                     (   ) (   )
------------------------------------------------\ (---) /---------
                                                 \_) (_/

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to