[Bug tdep/12105] New: AVR: disassemble START,END dumps data memory (SRAM)

news at schildmann dot info sourceware-bugzilla@sourceware.org
Sat Oct 9 21:16:00 GMT 2010


http://sourceware.org/bugzilla/show_bug.cgi?id=12105

           Summary: AVR: disassemble START,END dumps data memory (SRAM)
           Product: gdb
           Version: 7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tdep
        AssignedTo: unassigned@sourceware.org
        ReportedBy: news@schildmann.info


(gdb) disassemble 0x00000718, 0x00000724
Dump of assembler code from 0x800718 to 0x800724:
   0x00800718:    nop
   0x0080071a:    nop
   0x0080071c:    nop
   0x0080071e:    nop
   0x00800720:    nop
   0x00800722:    nop
End of assembler dump.

Without arguments the command works as expected:

(gdb) disassemble 
Dump of assembler code for function tasks__cyclic_led_0B:
   0x00000718 <+0>:    push    r29
   0x0000071a <+2>:    push    r28
   0x0000071c <+4>:    in    r28, 0x3d    ; 61
   0x0000071e <+6>:    in    r29, 0x3e    ; 62
   0x00000720 <+8>:    sbiw    r28, 0x07    ; 7
   0x00000722 <+10>:    in    r0, 0x3f    ; 63
   0x00000724 <+12>:    cli
   0x00000726 <+14>:    out    0x3e, r29    ; 62
   0x00000728 <+16>:    out    0x3f, r0    ; 63
   0x0000072a <+18>:    out    0x3d, r28    ; 61

   ...

End of assembler dump.
(gdb)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list