This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20884] New: stack content suddenly changed
- From: "nabil.rahiman at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 29 Nov 2016 16:47:09 +0000
- Subject: [Bug gdb/20884] New: stack content suddenly changed
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20884
Bug ID: 20884
Summary: stack content suddenly changed
Product: gdb
Version: 7.11.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: nabil.rahiman at gmail dot com
Target Milestone: ---
0x0804ad31 <+0>: push %ebp
0x0804ad32 <+1>: mov %esp,%ebp
0x0804ad34 <+3>: push %ebx
=> 0x0804ad35 <+4>: sub $0x24,%esp
0x0804ad38 <+7>: mov 0x8(%ebp),%eax
(gdb) x $ebp + 8
0xbfffed40: 0xb6a0d018
(gdb) si
0x0804ad31 <+0>: push %ebp
0x0804ad32 <+1>: mov %esp,%ebp
0x0804ad34 <+3>: push %ebx
0x0804ad35 <+4>: sub $0x24,%esp
=> 0x0804ad38 <+7>: mov 0x8(%ebp),%eax
0x0804ad3b <+10>: sub $0x8,%eax
0x0804ad3e <+13>: mov (%eax),%eax
(gdb) x $ebp + 8
0xbfffed40: 0xb6b67048
I’m not sure why when the value of $ebp + 8 changes ..
--
You are receiving this mail because:
You are on the CC list for the bug.