This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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] |
* Marcin Mielniczuk: > I decided to start printing the rsp to the stdout, in the following way: > register unsigned long rsp asm("rsp"); > printf("rsp is %p\n", (void*) rsp); Doesn't this print the %rsp value in the tracing program, and not the traced program?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |