This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/18227] New: can't modify memory in core file, even with --write
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 09 Apr 2015 20:04:15 +0000
- Subject: [Bug corefiles/18227] New: can't modify memory in core file, even with --write
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18227
Bug ID: 18227
Summary: can't modify memory in core file, even with --write
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: corefiles
Assignee: unassigned at sourceware dot org
Reporter: xdje42 at gmail dot com
bash$ gdb segv.x64 core.12925
(gdb) set {int} $rsp = 1
Cannot access memory at address 0x7fffd66f9cd0
So far so good.
bash$ gdb --write segv.x64 core.12925
(gdb) p {int} $rsp
$1 = 0
(gdb) set {int} $rsp = 1
(gdb) p {int} $rsp
$2 = 0
(gdb)
Oops.
[If there's still a reason to reject the write
gdb should at least not be silent about it.]
--
You are receiving this mail because:
You are on the CC list for the bug.