]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add OMPD support, initialization and global ICVs function.
authorMohame Atef <mohamedatef1698@gmail.com>
Mon, 23 May 2022 19:37:25 +0000 (21:37 +0200)
committerMohame Atef <mohamedatef1698@gmail.com>
Mon, 23 May 2022 19:46:38 +0000 (21:46 +0200)
commit7d2bea06364d260ed5308403577ac0e18e5a6ea4
tree160f061616b494321198a8d9d945bb3e6e47f7c8
parent58c9c7407a1a992ac253826790cd2b8920e3fe8f
Add OMPD support, initialization and global ICVs function.

This commit adds OMPD support so that the debugger
can successfully load libgompd (libgomp OMPD implementaion).
It also initializes OMPD, the debugger can now load an OpenMP
program or a core file. finally, adds global ICVs functions
the debugger now can query and get information about
global ICVs (number of threads, stacksize, ...etc).

libgomp/ChangeLog

2022-05-23  Mohamed Atef  <mohamedatef1698@gmail.com>

* config/darwin/plugin-suffix.h (SONAME_SUFFIX): Remove ()s.
* config/hpux/plugin-suffix.h (SONAME_SUFFIX): Remove ()s.
* config/posix/plugin-suffix.h (SONAME_SUFFIX): Remove ()s.
* configure: Regenerate.
* Makefile.am (toolexeclib_LTLIBRARIES): Add libgompd.la.
(libgompd_la_LDFLAGS, libgompd_la_DEPENDENCIES,
libgompd_la_LINK,libgompd_la_SOURCES, libgompd_version_dep,
libgompd_version_script, libgompd.ver-sun, libgompd.ver,
libgompd_version_info): New.
* Makefile.in: Regenerate.
* env.c: Include ompd-support.h.
(parse_debug): New function.
(gompd_enabled): New Variable.
(initialize_env): Call gompd_load.
(initialize_env): Call parse_debug.
* team.c: Include ompd-support.h.
(gomp_team_start): Call ompd_bp_parallel_begin.
(gomp_team_end): Call ompd_bp_parallel_end.
(gomp_thread_start): Call ompd_bp_thread_start.
* libgomp.map: Add OMP_5.0.3 symbol versions.
* libgompd.map: New.
* omp-tools.h.in: New.
* ompd-types.h.in: New.
* ompd-support.h: New.
* ompd-support.c: New.
* ompd-helper.h: New.
* ompd-helper.c: New.
* ompd-init.c: New.
* ompd-icv.c: New.
* configure.ac (AC_CONFIG_FILES): Add omp-tools.h and ompd-types.h.

Signed-off-by: Mohamed Atef <mohamedatef1698@gmail.com>
19 files changed:
libgomp/Makefile.am
libgomp/Makefile.in
libgomp/config/darwin/plugin-suffix.h
libgomp/config/hpux/plugin-suffix.h
libgomp/config/posix/plugin-suffix.h
libgomp/configure
libgomp/configure.ac
libgomp/env.c
libgomp/libgomp.map
libgomp/libgompd.map [new file with mode: 0644]
libgomp/omp-tools.h.in [new file with mode: 0644]
libgomp/ompd-helper.c [new file with mode: 0644]
libgomp/ompd-helper.h [new file with mode: 0644]
libgomp/ompd-icv.c [new file with mode: 0644]
libgomp/ompd-init.c [new file with mode: 0644]
libgomp/ompd-support.c [new file with mode: 0644]
libgomp/ompd-support.h [new file with mode: 0644]
libgomp/ompd-types.h.in [new file with mode: 0644]
libgomp/team.c