* Different memory address
@ 2006-05-31 12:49 Neo Jia
2006-05-31 20:55 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Neo Jia @ 2006-05-31 12:49 UTC (permalink / raw)
To: gdb
hi,
I have used gdb to debug my program before, because each run of my
program use the same memory address, which is good for debugging. But
this time, the address is changing each time. I cannot use the memory
address obtained from the log file to "watch" during debugging mode. My
current system is FC4 and gdb 6.3. GCC is 3.4.4.
Is there anything wrong with my compilation?
Thanks,
Neo
--
I would remember that if researchers were not ambitions
probably today we haven't the technology we are using!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Different memory address
2006-05-31 12:49 Different memory address Neo Jia
@ 2006-05-31 20:55 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-05-31 20:55 UTC (permalink / raw)
To: Neo Jia; +Cc: gdb
On Wed, May 31, 2006 at 05:37:42PM +0800, Neo Jia wrote:
> hi,
>
> I have used gdb to debug my program before, because each run of my
> program use the same memory address, which is good for debugging. But
> this time, the address is changing each time. I cannot use the memory
> address obtained from the log file to "watch" during debugging mode. My
> current system is FC4 and gdb 6.3. GCC is 3.4.4.
Search for information on exec-shield and address space randomization;
it has nothing to do with GDB.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-31 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 12:49 Different memory address Neo Jia
2006-05-31 20:55 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox