This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Value being assigned to is no longer active.


I guess I lied a bit, I thought for sure I could set registers before
the load, but it seems I can not.


(gdb) target remote :1234
Remote debugging using :1234
0xffa00006 in ?? ()
(gdb) p/x $PC
$1 = 0xffa00006
(gdb) set $PC=0xFFA00000
Value being assigned to is no longer active.
(gdb) p/x $FP
$2 = 0x48bcb1dc
(gdb) p/x $R0
$3 = 0x0
(gdb) set $R0=3
Value being assigned to is no longer active.
(gdb) p/x $SP
$4 = 0xffb00ff8
(gdb) set $SP = 0
Value being assigned to is no longer active.
(gdb) set $FP=0
Value being assigned to is no longer active.
(gdb)

Also, I've made my debug server print out the packets it sends and
receives, this is what is sent from the target to gdb.

Selection>Connected on port: 56465
Remote debugging from host 127.0.0.1

Hc-1
Putpkt(OK)

qC
Putpkt()

qOffsets
Putpkt()

?
In the ???
Putpkt(T00)

Hg0
Putpkt(OK)

p0
Putpkt()

g
Putpkt(0600a0ff000000004400000104c8cbcfde367ffc01000000000000000dc8dd885
5017bb00
000440004c8de36010000000dc8550100000001cbcf7ffc00000000dd887bb0004404de0
1000d550
810e0ff10e3fc8819f35d4ad837fc0a0400000022d02e983ab058a83ca8f090000000000
00000000
0000000000000000000000008b1eecfb4d23c56b1b6f89af80fb0ff9836bd48dcb1bc480
00000000
000000000000000000000000000000000000020000000000100000000008003430001000
00000000
00044440bc001000000180100ef5a0000effeff7eff0600a0ff4463827e0000304408200
00000ef0
8ef000030442000000000002000304400000013e0ff0404e0ff0003e0ff0100000000000
0000000a
0ff0000000000000000)

mffa00002,c
Putpkt(000000000000000000000000)





 

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
Sent: Tuesday, May 03, 2005 9:21 AM
To: Decker, Paul
Cc: gdb@sources.redhat.com
Subject: Re: Value being assigned to is no longer active.

On Tue, May 03, 2005 at 09:00:51AM -0400, Decker, Paul wrote:
> 
> Hi Daniel,
> 
> I'll give u whatever I can, what is a transcript, and how do I produce

> it?

A log of the session showing the problem, from beginning to end.  You
can use the 'script' program, or copy/paste.


--
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]