This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
breakpoints/2067: gdb could disable address randomization for inferior
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-gnats at sources dot redhat dot com
- Date: 9 Jan 2006 06:35:01 -0000
- Subject: breakpoints/2067: gdb could disable address randomization for inferior
- Reply-to: Tom Tromey <tromey at redhat dot com>
>Number: 2067
>Category: breakpoints
>Synopsis: gdb could disable address randomization for inferior
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jan 09 06:38:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey <tromey@redhat.com>
>Release: 6.3
>Organization:
>Environment:
>Description:
I'm using x86 FC4 Linux. On this machine I often
get bit by address space randomization, which means that
addresses for watchpoints aren't consistent across runs
of the inferior.
According to the setarch man page, 'setarch -R' will
disable randomization. It would be helpful if gdb
implicitly did this same thing at startup.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: