Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.49 KB | None | 0 0
  1. $ arm-none-eabi-gdb ./objects/haiku/arm/release/system/boot/u-boot/boot_loader_u-boot
  2. GNU gdb (GDB) 7.6.2
  3. Copyright (C) 2013 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi".
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. GEF for linux ready, type `gef' to start, `gef config' to configure
  12. 65 commands loaded for GDB 7.6.2 using Python engine 2.7
  13. [*] 5 commands could not be loaded, run `gef missing` to know why.
  14. Reading symbols from /home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/boot/u-boot/boot_loader_u-boot...done.
  15. gef> target remote 127.0.0.1:1234
  16. Remote debugging using 127.0.0.1:1234
  17. 0x00000004 in ?? ()
  18. [ Legend: Modified register | Code | Heap | Stack | String ]
  19. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ registers ]----
  20. $r0 : 0x400 -> 0xeafffffe -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  21. $r1 : 0xc43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  22. $r2 : 0x8181000 -> 0xedfe0dd0 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  23. $r3 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  24. $r4 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  25. $r5 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  26. $r6 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  27. $r7 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  28. $r8 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  29. $r9 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  30. $r10 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  31. $r11 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  32. $r12 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  33. $sp : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  34. $lr : 0x428 -> 0xee110f11 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  35. $pc : 0x4 -> 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  36. $cpsr : [thumb FAST INTERRUPT overflow carry ZERO negative]
  37. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ stack ]----
  38. 0x00000000|+0x00: 0xe28fe004 -> 0x00000000 -> [loop detected] <-$r3, $r4, $r5, $r6, $r7, $r8, $r9, $r10, $r11, $r12, $sp
  39. 0x00000004|+0x04: 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected] <-$pc
  40. 0x00000008|+0x08: 0x00000420 -> 0xe3a00e40 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  41. 0x0000000c|+0x0c: 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  42. 0x00000010|+0x10: 0xe59f1004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  43. 0x00000014|+0x14: 0xe59f2004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  44. 0x00000018|+0x18: 0xe59ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  45. 0x0000001c|+0x1c: 0x00000c43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  46. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ code:arm ]----
  47. -> 0x4 ldr pc, [pc, #-4] ; 0x8
  48. \-> 0xe28fe004 andeq r0, r0, r0
  49. 0xe28fe008 andeq r0, r0, r0
  50. 0xe28fe00c andeq r0, r0, r0
  51. 0xe28fe010 andeq r0, r0, r0
  52. 0xe28fe014 andeq r0, r0, r0
  53. 0xe28fe018 andeq r0, r0, r0
  54. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ threads ]----
  55. [New Thread 2]
  56. [New Thread 3]
  57. [New Thread 4]
  58. [#0] Id 1, Name: "", stopped, reason: SIGTRAP
  59. [#1] Id 2, Name: "", stopped, reason: SIGTRAP
  60. [#2] Id 3, Name: "", stopped, reason: SIGTRAP
  61. [#3] Id 4, Name: "", stopped, reason: SIGTRAP
  62. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ trace ]----
  63. #0 0x00000004 in ?? ()
  64. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  65. gef> b start_linux
  66. Breakpoint 1 at 0x1000360: file ../src/system/boot/platform/u-boot/start.cpp, line 158.
  67. gef> b _start_linux
  68. Breakpoint 2 at 0x1000010
  69. gef> c
  70. Continuing.
  71.  
  72. Breakpoint 2, 0x01000010 in _start_linux ()
  73. [ Legend: Modified register | Code | Heap | Stack | String ]
  74. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ registers ]----
  75. $r0 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  76. $r1 : 0xc43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  77. $r2 : 0x8181000 -> 0xedfe0dd0 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  78. $r3 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  79. $r4 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  80. $r5 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  81. $r6 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  82. $r7 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  83. $r8 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  84. $r9 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  85. $r10 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  86. $r11 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  87. $r12 : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  88. $sp : 0x0 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  89. $lr : 0xc -> 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  90. $pc : 0x1000010 -> 0x00280002 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  91. $cpsr : [thumb FAST INTERRUPT overflow carry ZERO negative]
  92. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ stack ]----
  93. 0x00000000|+0x00: 0xe28fe004 -> 0x00000000 -> [loop detected] <-$r0, $r3, $r4, $r5, $r6, $r7, $r8, $r9, $r10, $r11, $r12, $sp
  94. 0x00000004|+0x04: 0xe51ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  95. 0x00000008|+0x08: 0x00000420 -> 0xe3a00e40 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  96. 0x0000000c|+0x0c: 0xe3a00000 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected] <-$lr
  97. 0x00000010|+0x10: 0xe59f1004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  98. 0x00000014|+0x14: 0xe59f2004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  99. 0x00000018|+0x18: 0xe59ff004 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  100. 0x0000001c|+0x1c: 0x00000c43 -> 0x00000000 -> 0xe28fe004 -> 0x00000000 -> [loop detected]
  101. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ code:arm ]----
  102. 0x1000004 <_start_raw+4> andeq r0, r1, r1, lsl #2
  103. 0x1000008 <_start_netbsd+0> andeq r0, r0, r0
  104. 0x100000c <_start_netbsd+4> andeq r0, r0, r0
  105. -> 0x1000010 <_start_linux+0> eoreq r0, r8, r2
  106. 0x1000014 <_start_linux+4> andeq r0, r0, r1
  107. 0x1000018 <_start_common+0> mrseq r0, (UNDEF: 0)
  108. 0x100001c <_start_common+4> andeq r0, r0, r4, lsr r0
  109. 0x1000020 <_start_common+8> ldrdeq r9, [r10], -r0
  110. 0x1000024 <_start_common+12> streq r0, [r0, #-1024] ; 0x400
  111. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ threads ]----
  112. [#0] Id 1, Name: "", stopped, reason: BREAKPOINT
  113. [#1] Id 2, Name: "", stopped, reason: BREAKPOINT
  114. [#2] Id 3, Name: "", stopped, reason: BREAKPOINT
  115. [#3] Id 4, Name: "", stopped, reason: BREAKPOINT
  116. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ trace ]----
  117. #0 0x01000010 in _start_linux ()
  118. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  119. gef> c
  120. Continuing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement