This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Aug 24, 2010 at 11:07, Eli Zaretskii <eliz@gnu.org> wrote:What about *(int *)$esp@300 ?From: Hui Zhu <teawater@gmail.com> Date: Tue, 24 Aug 2010 10:10:19 +0800 Cc: Eli Zaretskii <eliz@gnu.org>
But *(unsigned char *)$esp@300 can work:
It will make trace collect 1200. If "unsigned char" is too big, what about *(char *)$esp@300?
+bytes from the stack pointer with something like @code{* (char *)$esp@@300}, or 300 words with @code{*(int *)$esp@@300}.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |