wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 1 | BEDBUG Support for U-Boot |
| 2 | -------------------------- |
| 3 | |
| 4 | These changes implement the bedbug (emBEDded deBUGger) debugger in U-Boot. |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 5 | |
| 6 | ##################### |
| 7 | ### Modifications ### |
| 8 | ##################### |
| 9 | |
| 10 | ./common/Makefile |
| 11 | Included cmd_bedbug.c and bedbug.c in the Makefile. |
| 12 | |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 13 | ./common/board.c |
| 14 | Added call to initialize debugger on startup. |
| 15 | |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 16 | ./include/ppc_asm.tmpl |
| 17 | Added code to handle critical exceptions |
| 18 | |
| 19 | ################# |
| 20 | ### New Stuff ### |
| 21 | ################# |
| 22 | |
| 23 | ./include/bedbug/ppc.h |
| 24 | ./include/bedbug/regs.h |
| 25 | ./include/bedbug/bedbug.h |
| 26 | ./include/bedbug/elf.h [obsoleted by new include/elf.h] |
| 27 | ./include/bedbug/tables.h |
| 28 | ./include/cmd_bedbug.h |
| 29 | ./common/cmd_bedbug.c |
| 30 | ./common/bedbug.c |
| 31 | Bedbug library includes code for assembling and disassembling |
| 32 | PowerPC instructions to/from memory as well as handling |
| 33 | hardware breakpoints and stepping through code. These |
| 34 | routines are common to all PowerPC processors. |
| 35 | |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 36 | Bedbug support for the MPC860 |
| 37 | ----------------------------- |
| 38 | |
| 39 | Changes: |
| 40 | |
| 41 | common/cmd_bedbug.c |
| 42 | Added call to initialize 860 debugger. |
| 43 | |
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 44 | arch/powerpc/cpu/mpc8xx/Makefile |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 45 | Added new file "bedbug_860.c" to the makefile |
| 46 | |
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 47 | arch/powerpc/cpu/mpc8xx/start.S |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 48 | Added handler for InstructionBreakpoint (0xfd00) |
| 49 | |
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 50 | arch/powerpc/cpu/mpc8xx/traps.c |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 51 | Added new routine DebugException() |
| 52 | |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 53 | New Files: |
| 54 | |
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 55 | arch/powerpc/cpu/mpc8xx/bedbug_860.c |
wdenk | e221174 | 2002-11-02 23:30:20 +0000 | [diff] [blame] | 56 | CPU-specific routines for 860 debug registers. |