public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/12105] New: AVR: disassemble START,END dumps data memory (SRAM)
@ 2010-10-09 21:16 news at schildmann dot info
  2010-10-09 21:32 ` [Bug tdep/12105] [AVR] " news at schildmann dot info
  2021-09-28 19:18 ` nav at bloom dot oscillate.io
  0 siblings, 2 replies; 3+ messages in thread
From: news at schildmann dot info @ 2010-10-09 21:16 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug tdep/12105] [AVR] disassemble START,END dumps data memory (SRAM)
  2010-10-09 21:16 [Bug tdep/12105] New: AVR: disassemble START,END dumps data memory (SRAM) news at schildmann dot info
@ 2010-10-09 21:32 ` news at schildmann dot info
  2021-09-28 19:18 ` nav at bloom dot oscillate.io
  1 sibling, 0 replies; 3+ messages in thread
From: news at schildmann dot info @ 2010-10-09 21:32 UTC (permalink / raw)
  To: gdb-prs

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

Peter Schildmann <news at schildmann dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|AVR: disassemble START,END  |[AVR] disassemble START,END
                   |dumps data memory (SRAM)    |dumps data memory (SRAM)

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug tdep/12105] [AVR] disassemble START,END dumps data memory (SRAM)
  2010-10-09 21:16 [Bug tdep/12105] New: AVR: disassemble START,END dumps data memory (SRAM) news at schildmann dot info
  2010-10-09 21:32 ` [Bug tdep/12105] [AVR] " news at schildmann dot info
@ 2021-09-28 19:18 ` nav at bloom dot oscillate.io
  1 sibling, 0 replies; 3+ messages in thread
From: nav at bloom dot oscillate.io @ 2021-09-28 19:18 UTC (permalink / raw)
  To: gdb-prs

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

Nav <nav at bloom dot oscillate.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nav at bloom dot oscillate.io

--- Comment #1 from Nav <nav at bloom dot oscillate.io> ---
Created attachment 13683
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13683&action=edit
screenshot of failed attempt to reproduce bug

This is a result of 13519
(https://sourceware.org/bugzilla/show_bug.cgi?id=13519), which has since been
resolved. I cannot replicate this issue on GDB 11.0.50 (see attached
screenshot). GDB no longer applies the SRAM offset when reading program memory
for disassemble operations.

I believe this has been fixed since version 10.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-28 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09 21:16 [Bug tdep/12105] New: AVR: disassemble START,END dumps data memory (SRAM) news at schildmann dot info
2010-10-09 21:32 ` [Bug tdep/12105] [AVR] " news at schildmann dot info
2021-09-28 19:18 ` nav at bloom dot oscillate.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).