diff options
author | Yao Qi <yao@codesourcery.com> | 2012-03-03 03:08:36 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-03-03 03:08:36 +0000 |
commit | 2fa291aca43cb851ba4e108cb64c7844a257df4f (patch) | |
tree | 98c7337c1c8c94b12c56066dab3ffcb5e500faef /gdb/config.in | |
parent | 9fc056857823ff58f0f41eb857f65f53ce43e5b5 (diff) | |
download | gdb-2fa291aca43cb851ba4e108cb64c7844a257df4f.zip gdb-2fa291aca43cb851ba4e108cb64c7844a257df4f.tar.gz gdb-2fa291aca43cb851ba4e108cb64c7844a257df4f.tar.bz2 |
gdb:
* common/agent.c: New.
* common/agent.h: New.
* configure.ac: Add `sys/socket.h' and `sys/un.h' to
AC_CHECK_HEADERS.
* configure, configh.in: Regenerated.
gdb/gdbserver:
* Makefile.in (OBS): Add agent.o.
Add new rule for agent.o.
Track dependence of tracepoint.c on agent.h.
* tracepoint.c (run_inferior_command_1):
(run_inferior_command): Call agent_run_command.
(gdb_ust_connect_sync_socket): Deleted. Move it to
common/agent.c.
(resume_thread, stop_thread): Likewise.
(gdb_ust_socket_init): Renamed to ...
(gdb_agent_socket_init): ... New.
(gdb_ust_thread): Renamed to ...
(gdb_agent_helper_thread): ... New.
(gdb_ust_init): Move some code to ...
(gdb_agent_init): ... here. New.
[HAVE_UST]: Call gdb_ust_init.
(initialize_tracepoint_ftlib): Call gdb_agent_init.
* configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS.
* config.in, configure: Regenerated.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index 194cc7d..2df15bb 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -641,6 +641,9 @@ /* Define to 1 if you have the <sys/select.h> header file. */ #undef HAVE_SYS_SELECT_H +/* Define to 1 if you have the <sys/socket.h> header file. */ +#undef HAVE_SYS_SOCKET_H + /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H @@ -650,6 +653,9 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the <sys/un.h> header file. */ +#undef HAVE_SYS_UN_H + /* Define to 1 if you have the <sys/user.h> header file. */ #undef HAVE_SYS_USER_H |