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]

[PATCH 0/3] Tweak server-kill.exp for remote target


Pedro Alves <palves@redhat.com> writes:

> gdbserver will be the parent of the tested process.  So how about
> tweaking the test program to do:
>
> int server_pid;
>
> int main ()
> {
>    server_pid = getppid ();
> }
>
> and then simply read "server_pid" out of the inferior ?

That is a good idea!  Patch 2/3 is about this.  Patch 1/3 is a clean
up.  Patch 3/3 is to fix a fail we've seen on target doesn't support
tracepoint.

*** BLURB HERE ***

Yao Qi (3):
  Clean up server-kill.exp
  Get GDBserver pid on remote target
  Use command "monitor set debug 0" to check the connection

 gdb/testsuite/gdb.server/server-kill.c   | 10 +++++++++-
 gdb/testsuite/gdb.server/server-kill.exp | 23 +++++++++++++++++------
 2 files changed, 26 insertions(+), 7 deletions(-)

-- 
1.9.3


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