https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116088

--- Comment #8 from Sam James <sjames at gcc dot gnu.org> ---
Try running this directly (no gdb), note the appended '-wrapper gdb,--args'.

/builds/psumbera/userland-gcc-11.5/components/gcc11/build/amd64/gcc/xgcc
-B/builds/psumbera/userland-gcc-11.5/components/gcc11/build/amd64/./gcc/
-B/usr/gcc/11/x86_64-pc-solaris2.11/bin/
-B/usr/gcc/11/x86_64-pc-solaris2.11/lib/ -isystem
/usr/gcc/11/x86_64-pc-solaris2.11/include -isystem
/usr/gcc/11/x86_64-pc-solaris2.11/sys-include   -fchecking=1 
/builds/psumbera/userland-gcc-11.5/components/gcc11/gcc-11.5.0/libgomp/testsuite/libgomp.graphite/bounds.c
 
-B/builds/psumbera/userland-gcc-11.5/components/gcc11/build/amd64/x86_64-pc-solaris2.11/./libgomp/
-B/builds/psumbera/userland-gcc-11.5/components/gcc11/build/amd64/x86_64-pc-solaris2.11/./libgomp/.libs
-I/builds/psumbera/userland-gcc-11.5/components/gcc11/build/amd64/x86_64-pc-solaris2.11/./libgomp
-I/builds/psumbera/userland-gcc-11.5/components/gcc11/gcc-11.5.0/libgomp/testsuite/../../include
-I/builds/psumbera/userland-gcc-11.5/components/gcc11/gcc-11.5.0/libgomp/testsuite/..
-fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never
-fopenmp  -ansi -pedantic-errors -O2  -ftree-parallelize-loops=4
-floop-parallelize-all  -fdump-tree-parloops-details -fdump-tree-optimized 
-fno-loop-strip-mine -fno-loop-block -fdump-tree-graphite-all  -S -o bounds.s
-wrapper gdb,--args

Then 'r', then 'x/i $pc'.

You might have to ask it to follow child on exec/fork.

Reply via email to