This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 13/15] PIE: testsuite: Test attaching to PIEs
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Nov 2009 13:57:20 -0700
- Subject: Re: [patch 13/15] PIE: testsuite: Test attaching to PIEs
- References: <20091109210058.GN19138@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> gdb/testsuite/
Jan> * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
Jan> (libfunc): New parameter action. Implement also selectable "sleep".
Jan> * gdb.base/break-interp-main.c: Include assert.h.
Jan> (libfunc): New parameter action.
Jan> (main): New parameters argc and argv. Assert argc. Pass argv.
Jan> * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
Jan> (test_attach): New proc.
Jan> (test_ld): Pass new "segv" exec parameter. Call also test_attach.
Jan> * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
Ok.
Tom