yaxunl added a comment. In D79866#2034748 <https://reviews.llvm.org/D79866#2034748>, @tra wrote:
> In D79866#2034683 <https://reviews.llvm.org/D79866#2034683>, @yaxunl wrote: > > > can you try set bp by using file name and line number on the kernel? > > > In regular gdb it is set on the stub. > In cuda-gdb the behavior is interesting -- it initially gets set and breaks > on the stub, but it also breaks on the entry into kernel. Once the kernel > address is known, cuda-gdb no longer breaks on the stub. If I set breakpoint > after the kernel is known, it's set on the kernel only and never stops on > stub. > > Overall the behavior is reasonable, IMO. According to our debugger developers, cuda-gdb's behavior is not upstreamable. I can limit this patch to HIP if it is not needed for CUDA. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79866/new/ https://reviews.llvm.org/D79866 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits