This is the mail archive of the gdb-patches@sourceware.org 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]

[commit] [patchv2] ON_STACK: Warn on buggy Linux i386 kernels


On Tue, 03 Jul 2012 17:01:54 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-07-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* common/linux-ptrace.c: Include gdb_assert.h.
> 	<__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration.
> 	<__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and
> 	stdint.h.
> 	(linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New
> 	functions.
> 	* common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations.
> 	* linux-nat.c (linux_child_post_attach)
> 	(linux_child_post_startup_inferior): Call linux_ptrace_init_warnings.
> 
> gdb/gdbserver/
> 2012-07-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdbserver/linux-low.c (initialize_low): Call
> 	linux_ptrace_init_warnings.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2012-07/msg00058.html


Jan


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