Andes Workshop

It is currently Wed Nov 21, 2018 9:25 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: print hex value in gdb 7.3
PostPosted: Tue Oct 16, 2012 6:53 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
Hexdump in gdb

list by word
x/10xw 0x0
0x0 <exception_vector>: 0xd7000048 0x09000040 0x09000040 0x09000040
0x10 <exception_vector+16>: 0x00480184 0x0092bf00 0x09000040 0x09000040
0x20 <exception_vector+32>: 0x00480284 0x0092b700

list by byte

x/10xb 0x0
0x0 <exception_vector>: 0x48 0x00 0x00 0xd7 0x40 0x00 0x00 0x09
0x8 <exception_vector+8>: 0x40 0x00

list in decimal
x/10dw 0x0
0x0 <exception_vector>: -687865784 150995008 150995008 150995008
0x10 <exception_vector+16>: 4718980 9617152 150995008 150995008
0x20 <exception_vector+32>: 4719236 9615104

reference link: http://borkware.com/quickies/one?topic=gdb


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 93 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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group