* changing stack and instruction pointer
@ 2004-11-01 15:18 Bob Rossi
2004-11-01 16:03 ` Kip Macy
0 siblings, 1 reply; 3+ messages in thread
From: Bob Rossi @ 2004-11-01 15:18 UTC (permalink / raw)
To: GDB
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: changing stack and instruction pointer
2004-11-01 15:18 changing stack and instruction pointer Bob Rossi
@ 2004-11-01 16:03 ` Kip Macy
2004-11-01 18:22 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Kip Macy @ 2004-11-01 16:03 UTC (permalink / raw)
To: Bob Rossi; +Cc: GDB
Any user-level threads package would do the same. There must be
something more going on.
-Kip
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: changing stack and instruction pointer
2004-11-01 16:03 ` Kip Macy
@ 2004-11-01 18:22 ` Andrew Cagney
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2004-11-01 18:22 UTC (permalink / raw)
To: Kip Macy; +Cc: Bob Rossi, GDB
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
>>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-01 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-01 15:18 changing stack and instruction pointer Bob Rossi
2004-11-01 16:03 ` Kip Macy
2004-11-01 18:22 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox