मैं सोलारिस 10 x86 पर एक बंद स्रोत प्रोग्राम डीबग करने के लिए जीडीबी का उपयोग कर रहा हूं।सोलारिस जीडीबी: कैसे रोकें रोकें?
मैं प्रोग्राम में जीडीबी संलग्न करता हूं और निष्पादन जारी रखता हूं, हालांकि जब मैं बाद में कुछ स्मृति की जांच करने के लिए निष्पादन रोकना चाहता हूं। जब मैं CTRL-C दबाता हूं तो यह प्रोग्राम को रोकने और मुझे (gdb) प्रॉम्प्ट पर छोड़ने के बजाय केवल^सी प्रिंट करता है।
bash-3.00# gdb --pid=1521
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10".
Attaching to process 1521
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0xfe3b5a23 in ??()
(gdb) c
Continuing.
^C^C^C^C^C^C^C^C
कैसे मैं एक (gdb) वापस करने के लिए मिलता है का संकेत? क्या मैं कुछ गलत कर रहा हूं या मैं इसे काम करने के बारे में कैसे जा सकता हूं।
समान http://stackoverflow.com/questions/5857300/gdb-ctrlc-doesnt-interrupt-process-as- का उपयोग कर सकते यह आम तौर पर होती है- –