Re: [OMPD] Questions on per-process functions and related data types.

2020-07-03 Thread y2s1982 . via Gcc
Hello Jakub, On Fri, Jul 3, 2020 at 10:40 AM Jakub Jelinek wrote: > On Fri, Jul 03, 2020 at 10:26:27AM -0400, y2s1982 . wrote: > > Still, following the documentation 5.5.2.1, how should I extract version > > information from ompd_address_space_context_t that is owned by the > > debugger instead

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-03 Thread Jakub Jelinek via Gcc
On Fri, Jul 03, 2020 at 10:26:27AM -0400, y2s1982 . wrote: > Still, following the documentation 5.5.2.1, how should I extract version > information from ompd_address_space_context_t that is owned by the > debugger instead of the OMPD to check for compatibility , especially > when it is not currentl

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-03 Thread y2s1982 . via Gcc
Hello, On Fri, Jul 3, 2020 at 10:06 AM Jakub Jelinek wrote: > On Thu, Jul 02, 2020 at 06:58:49PM -0400, y2s1982 . via Gcc wrote: > > This is giving me more clarity on what I have to do. At the moment, I am > > storing the > > information in the handle. > > > > I do have one problem: in 5.5.2.1 (

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-03 Thread Jakub Jelinek via Gcc
On Thu, Jul 02, 2020 at 06:58:49PM -0400, y2s1982 . via Gcc wrote: > This is giving me more clarity on what I have to do. At the moment, I am > storing the > information in the handle. > > I do have one problem: in 5.5.2.1 ( > https://www.openmp.org/spec-html/5.0/openmpsu214.html#x270-18090005.5.2

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-02 Thread y2s1982 . via Gcc
On Thu, Jul 2, 2020 at 11:12 AM Jakub Jelinek wrote: > On Thu, Jul 02, 2020 at 10:57:11AM -0400, y2s1982 . wrote: > > > On Wed, Jul 01, 2020 at 10:50:44PM -0400, y2s1982 . via Gcc wrote: > > > > per-process functions defined in 5.5.2. > > > > I have some questions on defining or at least using so

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-02 Thread Jakub Jelinek via Gcc
On Thu, Jul 02, 2020 at 10:57:11AM -0400, y2s1982 . wrote: > > On Wed, Jul 01, 2020 at 10:50:44PM -0400, y2s1982 . via Gcc wrote: > > > per-process functions defined in 5.5.2. > > > I have some questions on defining or at least using some of the data > > types. > > > > The standard makes those inte

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-02 Thread y2s1982 . via Gcc
Hello, Thank you for the detailed reply. I have some questions. On Thu, Jul 2, 2020 at 8:47 AM Jakub Jelinek wrote: > On Wed, Jul 01, 2020 at 10:50:44PM -0400, y2s1982 . via Gcc wrote: > > per-process functions defined in 5.5.2. > > I have some questions on defining or at least using some of th

Re: [OMPD] Questions on per-process functions and related data types.

2020-07-02 Thread Jakub Jelinek via Gcc
On Wed, Jul 01, 2020 at 10:50:44PM -0400, y2s1982 . via Gcc wrote: > per-process functions defined in 5.5.2. > I have some questions on defining or at least using some of the data types. The standard makes those intentionally not defined, it is up to the implementation to put in there whatever is

[OMPD] Questions on per-process functions and related data types.

2020-07-01 Thread y2s1982 . via Gcc
Hello, In addition to the per-library process, I am trying to implement OMPD's per-process functions defined in 5.5.2. I have some questions on defining or at least using some of the data types. In the attached patch, I took a liberty of tentatively defining the _ompd_aspace_handle, which is the