This is the mail archive of the gdb@sources.redhat.com 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]

Re: changing stack and instruction pointer


Kip Macy wrote:
Any user-level threads package would do the same. There must be
something more going on.

Yes. Is valgrind doing something else like playing with ptrace?


On Mon, 1 Nov 2004, Bob Rossi wrote:


Hi,

If a program modifies the stack and instruction pointer ( like valgrind
does ), is it possible to debug this program? For some reason, after
valgrind sets these registers, GDB doesn't seem to understand anything about
the program.

Is it possible to debug a program like this?

Thanks,
Bob Rossi





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]