All times are UTC-06:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ldump usage
PostPosted: Fri Dec 15, 2006 5:34 pm 
Offline

Joined: Mon Jan 30, 2006 1:30 am
Posts: 43
Hello,
I'm little bit confused by the output provided by ldump command. After the board reset I get this output from the following commands:
Code:
ok ldump 0x0 100
error: data stack underflow
ok ldump 0x100 100
0 4 8 C 0123456789ABCDEF
0x00000000 38600000 3C800800 38A00000 38C00000 8`..<...8...8...
0x00000010 480030C8 00000000 00000000 00000000 H.0.............
0x00000020 00000000 00000000 00000000 00000000 ................
0x00000030 00000000 00000000 00000000 00000000 ................
0x00000040 00000000 00000000 00000000 00000000 ................
0x00000050 00000000 00000000 00000000 00000000 ................
0x00000060 00000000 00000000 00000000 00000000 ................
0x00000070 00000000 00000000 00000000 00000000 ................
0x00000080 00000000 00000000 00000000 00000000 ................
0x00000090 00000000 00000000 00000000 00000000 ................
0x000000A0 00000000 00000000 00000000 00000000 ................
0x000000B0 00000000 00000000 00000000 00000000 ................
0x000000C0 00000000 00000000 00000000 00000000 ................
0x000000D0 00000000 00000000 00000000 00000000 ................
0x000000E0 00000000 00000000 00000000 00000000 ................
0x000000F0 00000000 00000000 00000000 00000000 ................
ok ldump 0x0 100
0 4 8 C 0123456789ABCDEF
0x00000100 48002FD8 00000000 00000000 00000000 H./.............
0x00000110 00000000 00000000 00000000 00000000 ................
0x00000120 00000000 00000000 00000000 00000000 ................
0x00000130 00000000 00000000 00000000 00000000 ................
0x00000140 00000000 00000000 00000000 00000000 ................
0x00000150 00000000 00000000 00000000 00000000 ................
0x00000160 00000000 00000000 00000000 00000000 ................
0x00000170 00000000 00000000 00000000 00000000 ................
0x00000180 00000000 00000000 00000000 00000000 ................
0x00000190 00000000 00000000 00000000 00000000 ................
0x000001A0 00000000 00000000 00000000 00000000 ................
0x000001B0 00000000 00000000 00000000 00000000 ................
0x000001C0 00000000 00000000 00000000 00000000 ................
0x000001D0 00000000 00000000 00000000 00000000 ................
0x000001E0 00000000 00000000 00000000 00000000 ................
0x000001F0 00000000 00000000 00000000 00000000 ................
ok
I'm asking since the first invocation and the third provides unexpected -- at least to me output. What's exactly the format of addr and len? Am I right using hexa address for the first and simple int for the later?

Thanks,
Karel


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 5:23 pm 
Offline

Joined: Tue Nov 21, 2006 3:34 am
Posts: 3
ldump takes its parameters from the stack.

So you type

ok 1000 100 ldump

if you want to dump 256 bytes from address 0x1000.

Hence the first "stack underflow" and then the second working invocation in your attempts.

Regards,
Aymeric


Top
   
 Post subject:
PostPosted: Wed Jan 03, 2007 2:30 am 
Offline

Joined: Mon Jan 30, 2006 1:30 am
Posts: 43
Quote:
ldump takes its parameters from the stack.

So you type

ok 1000 100 ldump

if you want to dump 256 bytes from address 0x1000.

Hence the first "stack underflow" and then the second working invocation in your attempts.

Regards,
Aymeric
Thanks for the record, I've already discovered this.

Thanks,
Karel


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group