diff options
author | Markus Metzger <mmetzger@sourceware.org> | 2012-11-28 16:21:58 +0000 |
---|---|---|
committer | Markus Metzger <mmetzger@sourceware.org> | 2012-11-28 16:21:58 +0000 |
commit | 945bf7131824a5af68e72be4f29b04d20010b83b (patch) | |
tree | 65b0427a51658bc7f7eecb45373870d6a80bdaca /gdb | |
parent | fb98f7b7824bd394d64f56e6aa05436f8c1a7c6c (diff) | |
download | gdb-945bf7131824a5af68e72be4f29b04d20010b83b.zip gdb-945bf7131824a5af68e72be4f29b04d20010b83b.tar.gz gdb-945bf7131824a5af68e72be4f29b04d20010b83b.tar.bz2 |
2012-11-28 Markus Metzger <markus.t.metzger@intel.com>
gdb/
* configure.ac: Check for linux/perf_event.h.
* config.in: Regenerated.
* configure: Regenerated.
gdb/gdbserver/
* configure.ac: Check for linux/perf_event.h.
* config.in: Regenerated.
* configure: Regenerated.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config.in | 3 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbserver/config.in | 3 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 2 | ||||
-rw-r--r-- | gdb/gdbserver/configure.ac | 3 |
8 files changed, 23 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 757e64a..41b687a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-11-28 Markus Metzger <markus.t.metzger@intel.com> + + * configure.ac: Check for linux/perf_event.h. + * config.in: Regenerated. + * configure: Regenerated. + 2012-11-28 Yao Qi <yao@codesourcery.com> * breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to diff --git a/gdb/config.in b/gdb/config.in index a3b8f42..b54d245 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -222,6 +222,9 @@ /* Define to 1 if you have the <link.h> header file. */ #undef HAVE_LINK_H +/* Define to 1 if you have the <linux/perf_event.h> header file. */ +#undef HAVE_LINUX_PERF_EVENT_H + /* Define to 1 if you have the <locale.h> header file. */ #undef HAVE_LOCALE_H diff --git a/gdb/configure b/gdb/configure index 1ee8c78..e34229b 100755 --- a/gdb/configure +++ b/gdb/configure @@ -8893,7 +8893,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \ sgtty.h unistd.h elf_hp.h locale.h \ - dlfcn.h sys/socket.h sys/un.h + dlfcn.h sys/socket.h sys/un.h linux/perf_event.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/gdb/configure.ac b/gdb/configure.ac index 9791143..2bfbe73 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1082,7 +1082,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \ sgtty.h unistd.h elf_hp.h locale.h \ - dlfcn.h sys/socket.h sys/un.h]) + dlfcn.h sys/socket.h sys/un.h linux/perf_event.h]) AC_CHECK_HEADERS(link.h, [], [], [#if HAVE_SYS_TYPES_H # include <sys/types.h> diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0b1fb81..59b8466 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2012-11-28 Markus Metzger <markus.t.metzger@intel.com> + + * configure.ac: Check for linux/perf_event.h. + * config.in: Regenerated. + * configure: Regenerated. + 2012-11-26 Maxime Villard <rustyBSD@gmx.fr> * hostio.c (handle_readlink): Decrease buffer size diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index 63ff9b2..b791b89 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -76,6 +76,9 @@ /* Define to 1 if you have the <linux/elf.h> header file. */ #undef HAVE_LINUX_ELF_H +/* Define to 1 if you have the <linux/perf_event.h> header file. */ +#undef HAVE_LINUX_PERF_EVENT_H + /* Define if the target supports register sets. */ #undef HAVE_LINUX_REGSETS diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 02d45da..ab22b5e 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -4419,7 +4419,7 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach cd "$ac_popdir" -for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h thread_db.h linux/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h +for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h thread_db.h linux/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h linux/perf_event.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index 36ed82f..35da28bb 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -55,7 +55,8 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl stdlib.h unistd.h dnl errno.h fcntl.h signal.h sys/file.h malloc.h dnl sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl - netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h) + netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h dnl + linux/perf_event.h) AC_CHECK_FUNCS(pread pwrite pread64 readlink) AC_REPLACE_FUNCS(vasprintf vsnprintf) |