public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "sekiriki at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/17518] flash block_boundaries should round the offset, not the absolute address Date: Mon, 23 Feb 2015 21:17:00 -0000 [thread overview] Message-ID: <bug-17518-4717-VzwCWuHZaw@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-17518-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=17518 Seki, Tsutomu <sekiriki at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sekiriki at gmail dot com --- Comment #1 from Seki, Tsutomu <sekiriki at gmail dot com> --- Created attachment 8142 --> https://sourceware.org/bugzilla/attachment.cgi?id=8142&action=edit Fixes #17518, that happens when the start address of the mem region is not on the boundary of its blocksize I'm facing on the same kind of the bug, for some processor which have memory region whose start address is not on the boundary of its block size. For instance, MB9AF156NA MCU has SA3 whose block size is 48k and its start address is 16k, that is not on the boundary of 48k. (see http://www.spansion.com/downloads/MB9AB40N_MN706-00019-E.pdf) In this case, GDB issues vFrashErace packet with start = 0 and length = 48k. To correct this, address should be offset to its start address before rounding to block size, and restore original offset after that. -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2015-02-23 13:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-28 21:45 [Bug gdb/17518] New: " jim at jtan dot com 2015-02-23 21:17 ` sekiriki at gmail dot com [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-17518-4717-VzwCWuHZaw@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).