Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [coldfire-gnu-discuss] dbg sprite configuration problems
- To: "'Nathan Sidwell'" <nathan@xxxxxxxxxxxxxxxx>
- Subject: RE: [coldfire-gnu-discuss] dbg sprite configuration problems
- From: "Jaysen Roper" <jaysenroper@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Aug 2008 16:33:09 +0100
> >Is this actually causing the debug session to fail? > No, at gdb command prompt I can continue debugging. But eclipse stops dead in its tracks and wont jump to source when I step or breakpoint and wont display registers or any other target info. >I think what's happening is that gdb is trying to determine the initial program >state (which is somewhat random), and here it's unwinding a stack that looks to >be continuing for ever. When it reaches the end of memory, gdb gives that >message and stops unwinding. I thought that too, until I looked a bit closer... The first location retrieved is x50001e00 and then it continues up towards the x50002000 boundary. However my stack resides at x50000000 to x50001e00 (in a block of memory that goes up to x50001f00) And this snip appears in the log before any errors are encountered... set $sp = &stack_end m68k-elf-sprite: Got packet: 'Pf=50001e00' m68k-elf-sprite: Write register 15 = 0x50001e00 m68k-elf-sprite: Sent response: 'OK' ----------------- Enabling verbose console in eclipse highlights the following. Which I presume are being sent to the target after I step. 21-stack-info-depth Cannot access memory at address 0x50002000 22-data-list-changed-registers Cannot access memory at address 0x50002000 22^done,changed-registers=["0","1","2","3","4","5","6","7","8","9","10","11" ,"12","13","14","15","16","17"] ------------------------- And entering "where" into gdb results in the following. Its worth noting that Game() is my start address and was jumped to at startup. The "run commands" section in eclipse... set $sp = &stack_end set $pc = Game continue ---------------------------------- info mem Using memory regions provided by the target. Num Enb Low Addr High Addr Attrs 0 y 0x00000000 0x00080000 rw nocache 1 y 0x10000400 0x10010400 rw nocache 2 y 0x10010400 0x10040000 rw nocache 3 y 0x50000000 0x50001f00 rw nocache 4 y 0x50001f00 0x50002000 rw nocache 5 y 0x60000000 0x60200000 rw nocache print/x $sp $1 = 0x50001dfc print/x $fp $2 = 0x50001dfc (gdb) where #0 Game () at game.c:69 <<<<<<<<this is my BP that I am sitting on. #1 0xffffffff in ?? () #2 0xffffffff in ?? () #3 0xffffffff in ?? () #4 0xffffffff in ?? () #5 0xffffffff in ?? () #6 0xffffffff in ?? () #7 0xffffffff in ?? () #8 0xffffffff in ?? () #9 0xffffffff in ?? () #10 0xffffffff in ?? () #11 0xffffffff in ?? () #12 0xffffffff in ?? () #13 0xffffffff in ?? () #14 0xffffffff in ?? () #15 0xffffffff in ?? () #16 0xffffffff in ?? () #17 0xffffffff in ?? () #18 0xffffffff in ?? () #19 0xffffffff in ?? () #20 0xffffffff in ?? () #21 0xffffffff in ?? () #22 0xffffffff in ?? () #23 0xffffffff in ?? () #24 0xffffffff in ?? () #25 0xffffffff in ?? () #26 0xffffffff in ?? () #27 0xffffffff in ?? () #28 0xffffffff in ?? () #29 0xffffffff in ?? () #30 0xffffffff in ?? () #31 0xffffffff in ?? () #32 0xffffffff in ?? () #33 0xffffffff in ?? () #34 0xffffffff in ?? () #35 0xffffffff in ?? () #36 0xffffffff in ?? () #37 0xffffffff in ?? () #38 0xffffffff in ?? () #39 0xffffffff in ?? () #40 0xffffffff in ?? () #41 0xffffffff in ?? () #42 0xffffffff in ?? () #43 0xffffffff in ?? () #44 0xffffffff in ?? () #45 0xffffffff in ?? () #46 0xffffffff in ?? () #47 0xffffffff in ?? () #48 0xffffffff in ?? () #49 0xffffffff in ?? () #50 0xffffffff in ?? () #51 0xffffffff in ?? () #52 0xffffffff in ?? () #53 0xffffffff in ?? () #54 0xffffffff in ?? () #55 0xffffffff in ?? () #56 0xffffffff in ?? () #57 0xffffffff in ?? () #58 0xffffffff in ?? () #59 0xffffffff in ?? () #60 0xffffffff in ?? () #61 0xffffffff in ?? () #62 0xffffffff in ?? () #63 0xffffffff in ?? () #64 0xffffffff in ?? () #65 0xffffffff in ?? () #66 0xffffffff in ?? () #67 0xffffffff in ?? () #68 0xffffffff in ?? () #69 0xffffffff in ?? () #70 0xffffffff in ?? () #71 0xffffffff in ?? () #72 0xffffffff in ?? () #73 0xffffffff in ?? () #74 0xffffffff in ?? () #75 0xffffffff in ?? () #76 0xffffffff in ?? () #77 0xffffffff in ?? () #78 0xffffffff in ?? () #79 0xffffffff in ?? () #80 0xffffffff in ?? () #81 0xffffffff in ?? () #82 0xffffffff in ?? () #83 0xffffffff in ?? () #84 0xffffffff in ?? () #85 0xffffffff in ?? () #86 0xffffffff in ?? () #87 0xffffffff in ?? () #88 0xffffffff in ?? () #89 0xffffffff in ?? () #90 0xffffffff in ?? () Cannot access memory at address 0x50002000 #91 0xffffffff in ?? () #92 0xffffffff in ?? () #93 0xffffffff in ?? () #94 0xffffffff in ?? () #95 0xffffffff in ?? () #96 0xffffffff in ?? () #97 0xffffffff in ?? () #98 0xffffffff in ?? () #99 0xffffffff in ?? () #100 0xffffffff in ?? () #101 0xffffffff in ?? () #102 0xffffffff in ?? () #103 0xffffffff in ?? () #104 0xffffffff in ?? () #105 0xffffffff in ?? () #106 0xffffffff in ?? () #107 0xffffffff in ?? () #108 0xffffffff in ?? () #109 0xffffffff in ?? () #110 0xffffffff in ?? () #111 0xffffffff in ?? () #112 0xffffffff in ?? () #113 0xffffffff in ?? () #114 0xffffffff in ?? () #115 0xffffffff in ?? () #116 0xffffffff in ?? () #117 0xffffffff in ?? () #118 0xffffffff in ?? () #119 0xffffffff in ?? () #120 0xffffffff in ?? () #121 0xffffffff in ?? () #122 0xffffffff in ?? () #123 0xffffffff in ?? () #124 0xffffffff in ?? () #125 0xffffffff in ?? () #126 0xffffffff in ?? () #127 0xffffffff in ?? () #128 0xffffffff in ?? ()
- Follow-Ups:
- Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- From: Nathan Sidwell
- Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- References:
- [coldfire-gnu-discuss] dbg sprite configuration problems
- From: Jaysen Roper
- Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- From: Carlos O'Donell
- RE: [coldfire-gnu-discuss] dbg sprite configuration problems
- From: Jaysen Roper
- Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- From: Nathan Sidwell
- [coldfire-gnu-discuss] dbg sprite configuration problems
- Prev by Date: Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- Next by Date: Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- Previous by thread: Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- Next by thread: Re: [coldfire-gnu-discuss] dbg sprite configuration problems
- Index(es):