Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ arm-none-eabi-gdb ./objects/haiku/arm/release/system/boot/u-boot/boot_loader_u-boot
- GNU gdb (GDB) 7.6.2
- Copyright (C) 2013 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- GEF for linux ready, type `gef' to start, `gef config' to configure
- 65 commands loaded for GDB 7.6.2 using Python engine 2.7
- [*] 5 commands could not be loaded, run `gef missing` to know why.
- Reading symbols from /home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/boot/u-boot/boot_loader_u-boot...done.
- gef> target remote 127.0.0.1:1234
- Remote debugging using 127.0.0.1:1234
- 0x00000004 in ?? ()
- [ Legend: Modified register | Code | Heap | Stack | String ]
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ registers ]----
- $r0 : 0x400 -> 0xeafffffe -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r1 : 0xc43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r2 : 0x8181000 -> 0xedfe0dd0 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r3 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r4 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r5 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r6 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r7 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r8 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r9 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r10 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r11 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r12 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $sp : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $lr : 0x428 -> 0xee110f11 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $pc : 0x4 -> 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $cpsr : [thumb FAST INTERRUPT overflow carry ZERO negative]
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ stack ]----
- 0x00000000|+0x00: 0xe28fe004 -> 0x00000000 -> [loop detected] <-$r3, $r4, $r5, $r6, $r7, $r8, $r9, $r10, $r11, $r12, $sp
- 0x00000004|+0x04: 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected] <-$pc
- 0x00000008|+0x08: 0x00000420 -> 0xe3a00e40 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x0000000c|+0x0c: 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000010|+0x10: 0xe59f1004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000014|+0x14: 0xe59f2004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000018|+0x18: 0xe59ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x0000001c|+0x1c: 0x00000c43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ code:arm ]----
- -> 0x4 ldr pc, [pc, #-4] ; 0x8
- \-> 0xe28fe004 andeq r0, r0, r0
- 0xe28fe008 andeq r0, r0, r0
- 0xe28fe00c andeq r0, r0, r0
- 0xe28fe010 andeq r0, r0, r0
- 0xe28fe014 andeq r0, r0, r0
- 0xe28fe018 andeq r0, r0, r0
- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ threads ]----
- [New Thread 2]
- [New Thread 3]
- [New Thread 4]
- [#0] Id 1, Name: "", stopped, reason: SIGTRAP
- [#1] Id 2, Name: "", stopped, reason: SIGTRAP
- [#2] Id 3, Name: "", stopped, reason: SIGTRAP
- [#3] Id 4, Name: "", stopped, reason: SIGTRAP
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ trace ]----
- #0 0x00000004 in ?? ()
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- gef> b start_linux
- Breakpoint 1 at 0x1000360: file ../src/system/boot/platform/u-boot/start.cpp, line 158.
- gef> b _start_linux
- Breakpoint 2 at 0x1000010
- gef> c
- Continuing.
- Breakpoint 2, 0x01000010 in _start_linux ()
- [ Legend: Modified register | Code | Heap | Stack | String ]
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ registers ]----
- $r0 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r1 : 0xc43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r2 : 0x8181000 -> 0xedfe0dd0 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r3 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r4 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r5 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r6 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r7 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r8 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r9 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r10 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r11 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $r12 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $sp : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $lr : 0xc -> 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $pc : 0x1000010 -> 0x00280002 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- $cpsr : [thumb FAST INTERRUPT overflow carry ZERO negative]
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ stack ]----
- 0x00000000|+0x00: 0xe28fe004 -> 0x00000000 -> [loop detected] <-$r0, $r3, $r4, $r5, $r6, $r7, $r8, $r9, $r10, $r11, $r12, $sp
- 0x00000004|+0x04: 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000008|+0x08: 0x00000420 -> 0xe3a00e40 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x0000000c|+0x0c: 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected] <-$lr
- 0x00000010|+0x10: 0xe59f1004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000014|+0x14: 0xe59f2004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x00000018|+0x18: 0xe59ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- 0x0000001c|+0x1c: 0x00000c43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ code:arm ]----
- 0x1000004 <_start_raw+4> andeq r0, r1, r1, lsl #2
- 0x1000008 <_start_netbsd+0> andeq r0, r0, r0
- 0x100000c <_start_netbsd+4> andeq r0, r0, r0
- -> 0x1000010 <_start_linux+0> eoreq r0, r8, r2
- 0x1000014 <_start_linux+4> andeq r0, r0, r1
- 0x1000018 <_start_common+0> mrseq r0, (UNDEF: 0)
- 0x100001c <_start_common+4> andeq r0, r0, r4, lsr r0
- 0x1000020 <_start_common+8> ldrdeq r9, [r10], -r0
- 0x1000024 <_start_common+12> streq r0, [r0, #-1024] ; 0x400
- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ threads ]----
- [#0] Id 1, Name: "", stopped, reason: BREAKPOINT
- [#1] Id 2, Name: "", stopped, reason: BREAKPOINT
- [#2] Id 3, Name: "", stopped, reason: BREAKPOINT
- [#3] Id 4, Name: "", stopped, reason: BREAKPOINT
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ trace ]----
- #0 0x01000010 in _start_linux ()
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- gef> c
- Continuing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement