wallClockProfiler icon indicating copy to clipboard operation
wallClockProfiler copied to clipboard

has to send SIGINT on Centos 7

Open huiwang-esgyn opened this issue 6 years ago • 0 comments

Hi Jason

Thanks a lot for the tool, it works as I expected.

But I had to make some change in my environment.

I am using Centos 7, with gdb: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7

My OS is: [centos@centos7hw2 wallClockProfiler]$ uname -r 3.10.0-327.el7.x86_64 [centos@centos7hw2 wallClockProfiler]$ lsb_release -d Description: CentOS Linux release 7.2.1511 (Core)

It seems when gdb is started from wallClockProfiler "-exec-interrupt" does not work, I changed it to SIGINT, it seems to be working as long as I change the output reading code to wait for "(gdb)" as well as "SIGINT".

I tried to manually start gdb -nx --interpretor=mi, -exec-interrupt command works in the manually started gdb. Have you see this issue before?

Thanks a lot. Hui

huiwang-esgyn avatar Jun 14 '19 18:06 huiwang-esgyn