List Info

Thread: Error running remote gdb




Error running remote gdb
user name
2006-08-30 22:37:09
 

>>  
>> Hi
>> On our custome based powerpc we are running Linux
2.6.11.
>> I am trying to run a sample debug session with
gdbserver.
>>  
>> On target board I typed:
>> gdbserver <host ip address>:portno <test
program>
>>  
>> Then on host system I  typed:
>> gdb <test program>
>> gdb> target extended-remote <target IP
addr>:portno b main cont
>>  
>> Then I got the following error on my host; Ignoring
packet erro, 
>> continuing...
>> Ignoring packet erro, continuing...
>> Reply contains invalid hex digit 116

>Something timed out.  Try "set debug remote
1" to see what's happening.
I did that Now I see some ACK messages on my system.
At this point I continue with the following commands:
>gdb b main
>gdb cont
>gdb n  
The above line no matter how many times I type does not
work. And
anytime
I type "where" still shows the
"main" statement. It seems the program
never
Starts...
Please help.

--
Daniel Jacobowitz
CodeSourcery
Error running remote gdb
user name
2006-08-30 23:11:23
On Wed, 2006-08-30 at 15:37 -0700, Bizhan Gholikhamseh
(bgholikh) wrote:
>  
> >>  
> >> Hi
> >> On our custome based powerpc we are running
Linux 2.6.11.
> >> I am trying to run a sample debug session with
gdbserver.
> >>  
> >> On target board I typed:
> >> gdbserver <host ip address>:portno
<test program>
> >>  
> >> Then on host system I  typed:
> >> gdb <test program>
> >> gdb> target extended-remote <target IP
addr>:portno b main cont
> >>  
> >> Then I got the following error on my host;
Ignoring packet erro, 
> >> continuing...
> >> Ignoring packet erro, continuing...
> >> Reply contains invalid hex digit 116
> 
> >Something timed out.  Try "set debug remote
1" to see what's happening.
> I did that Now I see some ACK messages on my system.

Please try the above command *before* connecting to the
target, 
then connect, and send us the result (cut and paste).

> At this point I continue with the following commands:
> >gdb b main
> >gdb cont
> >gdb n  
> The above line no matter how many times I type does not
work. And
> anytime
> I type "where" still shows the
"main" statement. It seems the program
> never
> Starts...
> Please help.
> 
> --
> Daniel Jacobowitz
> CodeSourcery
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )