[U-Boot-Users] U-Boot on MPC8280

Wolfgang Denk wd at denx.de
Wed Jan 7 16:46:06 CET 2004


Dear David,

in message <0E8A20F2EB7BD7119C1F00508BB333780E5D7B at tmservermail02.t-modus.nec.co.uk> you wrote:
> 
> Is it true that the BDI is not suitable for user app debug?  Is this a

Yes, this is true. Well, you _can_ use  it,  but  you  have  manually
navigate  through  the  kernel virtual address space to find what you
are looking for. Sometimes  this  is  necessary  (typically  to  find
kernel  bugs),  but  this is definitely nothing to do for the average
user.

> problem in practice?

No, it is not.

Kernel debugging and application debugging are two separate  weorlds,
like  kernel  address  space  and  user  address  space  are  clearly
separated. There is tools for both of them: for the firmware,  device
drivers  and  kernel  debugging  you  use  the  BDI2000, and for user
applications you use gdbserver or gdb.

Note that this does not mean  any  loss  of  productivity:  both  the
BDI2000  and  gdbserver  "speak" GDB remote protocol, so you will see
absolutely the same user interface.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"If the code and  the  comments  disagree,  then  both  are  probably
wrong."                                                - Norm Schryer




More information about the U-Boot mailing list