Skip to contentSkip to conversation

single step on sibyte board

DISCUSSION ashley jones 2 participants 3 messages Apr 19, 2006 – Apr 20, 2006 1 message not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

hi ralf,
thanks for your reply,

Ralf Baechle <[email protected]> wrote:

    On Tue, Apr 18, 2006 at 09:14:04AM -0700, ashley jones wrote:
Quoted 3 lines

I am trying to debug an application running on sibyte (linux 2.6.14) using gdbserver from AMD board. I am able to setup breakpoints and initial break point also gets hit, but when i do single step using "step" it prompts foll. error
ptrace: Input/Output Error
and board gets hang. is this supported or am doing some thing wrong ? can you please give some pointers from here ? I am using gdb-6.4 version on host (AMD) and target ( sibyte )

That looks like you may have a problem with the connection to your target, so gdb can't really talk to the gdb server.

Ralf
But i am able to setup initial connection, and also first breakpoint gets hit. Is it like gdbserver (for mips) doesnt support single step command? or is it like i have not configured gdb properly ? I have downloaded fresh gdb-6.4 src, and ran "configure" scripts on my target (sibyte). Am i missing anything ?

Regards,
A'Jones.

---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.

#2 lore raw
Quoted 5 lines · ashley jones

But i am able to setup initial connection, and also first breakpoint gets hit. Is it like gdbserver (for mips) doesnt support single step command? or is it like i have not configured gdb properly ? I have downloaded fresh gdb-6.4 src, and ran "configure" scripts on my target (sibyte). Am i missing anything ?

How did you configure your host gdb?

Use mips-linux or mips64-linux and it will not attempt to single step.

Signature · 2 lines
Daniel Jacobowitz
CodeSourcery
#3 lore raw

hi daniel,
it works now, host gdb was not properly configured. thanks for your help.

Thanks n Regards,
A'Jones.

Daniel Jacobowitz <[email protected]> wrote:

Quoted 5 lines · ashley jones

But i am able to setup initial connection, and also first breakpoint gets hit. Is it like gdbserver (for mips) doesnt support single step command? or is it like i have not configured gdb properly ? I have downloaded fresh gdb-6.4 src, and ran "configure" scripts on my target (sibyte). Am i missing anything ?

How did you configure your host gdb?

Use mips-linux or mips64-linux and it will not attempt to single step.

Signature · 8 lines
Daniel Jacobowitz
CodeSourcery



		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.