[PATCH 2/2] Move code to disable ASR to nat/

Pedro Alves palves@redhat.com
Wed Jan 14 11:32:00 GMT 2015


On 01/13/2015 08:55 PM, Sergio Durigan Junior wrote:
> gdb/ChangeLog
> 2015-01-13  Sergio Durigan Junior  <sergiodj@redhat.com>

> 	* nat/linux-osdata.h (maybe_disable_address_space_randomization):
> 	New prototype.

This bit is stale.

> 	* nat/linux-personality.c: New file.
> 	* nat/linux-personality.h: Likewise.


> diff --git a/gdb/nat/linux-personality.h b/gdb/nat/linux-personality.h
> new file mode 100644
> index 0000000..817e4e8e
> --- /dev/null
> +++ b/gdb/nat/linux-personality.h
> @@ -0,0 +1,31 @@

> +#ifndef COMMON_LINUX_PERSONALITY_H
> +#define COMMON_LINUX_PERSONALITY_H

> +#endif /* ! COMMON_LINUX_PERSONALITY_H */

Should be NAT_LINUX_PERSONALITY_H.

Otherwise looks good.  Thanks.

-- 
Pedro Alves



More information about the Gdb-patches mailing list