X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fgdb%2Fcallback.h;h=d8d14727d31e3c55cc2f5d32537b22638b8c47c5;hb=2ea286498fd2ddceaf074bfbc9a2986777ea0396;hp=bbc5bb3481b521e66a0b0cfd64747c70e11fb5a2;hpb=7171232768ab846e00032b7218b2a4ad275b6ae2;p=deliverable%2Fbinutils-gdb.git diff --git a/include/gdb/callback.h b/include/gdb/callback.h index bbc5bb3481..d8d14727d3 100644 --- a/include/gdb/callback.h +++ b/include/gdb/callback.h @@ -1,5 +1,5 @@ /* Remote target system call callback support. - Copyright 1997, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 1997, 2007-2012 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB. @@ -231,6 +231,11 @@ extern host_callback default_callback; #define CB_SYS_truncate 21 #define CB_SYS_ftruncate 22 #define CB_SYS_pipe 23 + +/* New ARGV support. */ +#define CB_SYS_argc 24 +#define CB_SYS_argnlen 25 +#define CB_SYS_argn 26 /* Struct use to pass and return information necessary to perform a system call. */ @@ -309,7 +314,7 @@ int cb_target_to_host_open (host_callback *, int); int cb_target_to_host_signal (host_callback *, int); /* Translate host signal number to target. */ -int cb_host_to_target_signal (host_callback *, int); +int cb_host_to_gdb_signal (host_callback *, int); /* Translate host stat struct to target. If stat struct ptr is NULL, just compute target stat struct size.