Hi,

I'm using GNU gdb 19991004 on Linux2.2.14-5.0 (RedHat6.2 with
glibc 2.1.3)

I debug a process that mmap's a device PIO space (a graphic card's
registers) at pMapping in process memory space

An appropriate printf(*((char *)pMapping+0x3df)) returns the proper
register value (non zero)

Let's break immediately after and

(gdb) set radix 16
(gdb) x/10bx (char *)pMapping+3df 

should dump at the same address but shows only zero's

Is it a known behaviour or a bug?

It seems I can't

(gdb) set *((char *)pMapping+3d4)=3

neither

-- 
Emmanuel Michon
Ingénieur en développement logiciel
REALmagic France       
Mobile: 0662834836 GPGkeyID: 8782772B  

Reply via email to