This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 project.


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

Re: Modifies vs. Replaces



That example for approach #3 was a little mangled.  Here's a better one:

   [0xffffffff 0x0,                              (set base address to 0)
    0x0     .. symbol2     DW_OP_addr ...,
    symbol1 .. symbol3,    DW_OP_reg...,
    symbol3 .. 0xffffffff, DW_OP_addr ...]

Where it describes:

   0       .. symbol1      (in global in-memory location only)
   symbol1 .. symbol2      (in global in-memory location & in register)
   symbol2 .. symbol3      (in register only)
   symbol3 .. 0xffffffff   (back in global in-memory location only)

-- 
Todd Allen
Concurrent Computer Corporation


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