Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: single step on sibyte board
       [not found] <20060418200034.GA8200@linux-mips.org>
@ 2006-04-19  5:25 ` ashley jones
  2006-04-19 15:22   ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: ashley jones @ 2006-04-19  5:25 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]


hi ralf, 
          thanks for your reply,
  
Ralf Baechle <ralf@linux-mips.org> wrote:
    On Tue, Apr 18, 2006 at 09:14:04AM -0700, ashley jones wrote:

> 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.

[-- Attachment #2: Type: text/html, Size: 1649 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: single step on sibyte board
  2006-04-19  5:25 ` single step on sibyte board ashley jones
@ 2006-04-19 15:22   ` Daniel Jacobowitz
  2006-04-20  5:24     ` ashley jones
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2006-04-19 15:22 UTC (permalink / raw)
  To: ashley jones; +Cc: Ralf Baechle, linux-mips

On Tue, Apr 18, 2006 at 10:25:06PM -0700, ashley jones wrote:
>   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.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: single step on sibyte board
  2006-04-19 15:22   ` Daniel Jacobowitz
@ 2006-04-20  5:24     ` ashley jones
  0 siblings, 0 replies; 3+ messages in thread
From: ashley jones @ 2006-04-20  5:24 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Ralf Baechle, linux-mips

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

hi daniel,
            it works now, host gdb was not properly configured. thanks for your help.
   
  Thanks n Regards,
  A'Jones.
  

Daniel Jacobowitz <dan@debian.org> wrote:
  On Tue, Apr 18, 2006 at 10:25:06PM -0700, ashley jones wrote:
> 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.

-- 
Daniel Jacobowitz
CodeSourcery



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

[-- Attachment #2: Type: text/html, Size: 1263 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-20  5:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060418200034.GA8200@linux-mips.org>
2006-04-19  5:25 ` single step on sibyte board ashley jones
2006-04-19 15:22   ` Daniel Jacobowitz
2006-04-20  5:24     ` ashley jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox