Skip to content

Commit 7037ee9

Browse files
sync with cpython cbfeb6a7
1 parent f1e195a commit 7037ee9

File tree

1 file changed

+82
-1
lines changed

1 file changed

+82
-1
lines changed

howto/gdb_helpers.po

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-02-24 00:03+0000\n"
10+
"POT-Creation-Date: 2024-09-12 00:04+0000\n"
1111
"PO-Revision-Date: 2024-05-11 14:42+0800\n"
1212
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -962,3 +962,84 @@ msgstr ""
962962
"你可以使用 ``thread apply all COMMAND``\\ (或簡短地用 ``t a a COMMAND``)在"
963963
"所有執行緒上執行命令。使用 ``py-bt`` 你可以看到每個執行緒在 Python 層級正在做"
964964
"什麼: ::"
965+
966+
#: ../../howto/gdb_helpers.rst:423
967+
msgid ""
968+
"(gdb) t a a py-bt\n"
969+
"\n"
970+
"Thread 105 (Thread 0x7fffefa18710 (LWP 10260)):\n"
971+
"#5 Frame 0x7fffd00019d0, for file /home/david/coding/python-svn/Lib/"
972+
"threading.py, line 155, in _acquire_restore "
973+
"(self=<_RLock(_Verbose__verbose=False, _RLock__owner=140737354016512, "
974+
"_RLock__block=<thread.lock at remote 0x858770>, _RLock__count=1) at remote "
975+
"0xd7ff40>, count_owner=(1, 140737213728528), count=1, "
976+
"owner=140737213728528)\n"
977+
" self.__block.acquire()\n"
978+
"#8 Frame 0x7fffac001640, for file /home/david/coding/python-svn/Lib/"
979+
"threading.py, line 269, in wait "
980+
"(self=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False, "
981+
"_RLock__owner=140737354016512, _RLock__block=<thread.lock at remote "
982+
"0x858770>, _RLock__count=1) at remote 0xd7ff40>, acquire=<instancemethod at "
983+
"remote 0xd80260>, _is_owned=<instancemethod at remote 0xd80160>, "
984+
"_release_save=<instancemethod at remote 0xd803e0>, release=<instancemethod "
985+
"at remote 0xd802e0>, _acquire_restore=<instancemethod at remote 0xd7ee60>, "
986+
"_Verbose__verbose=False, _Condition__waiters=[]) at remote 0xd7fd10>, "
987+
"timeout=None, waiter=<thread.lock at remote 0x858a90>, saved_state=(1, "
988+
"140737213728528))\n"
989+
" self._acquire_restore(saved_state)\n"
990+
"#12 Frame 0x7fffb8001a10, for file /home/david/coding/python-svn/Lib/test/"
991+
"lock_tests.py, line 348, in f ()\n"
992+
" cond.wait()\n"
993+
"#16 Frame 0x7fffb8001c40, for file /home/david/coding/python-svn/Lib/test/"
994+
"lock_tests.py, line 37, in task (tid=140737213728528)\n"
995+
" f()\n"
996+
"\n"
997+
"Thread 104 (Thread 0x7fffdf5fe710 (LWP 10259)):\n"
998+
"#5 Frame 0x7fffe4001580, for file /home/david/coding/python-svn/Lib/"
999+
"threading.py, line 155, in _acquire_restore "
1000+
"(self=<_RLock(_Verbose__verbose=False, _RLock__owner=140737354016512, "
1001+
"_RLock__block=<thread.lock at remote 0x858770>, _RLock__count=1) at remote "
1002+
"0xd7ff40>, count_owner=(1, 140736940992272), count=1, "
1003+
"owner=140736940992272)\n"
1004+
" self.__block.acquire()\n"
1005+
"#8 Frame 0x7fffc8002090, for file /home/david/coding/python-svn/Lib/"
1006+
"threading.py, line 269, in wait "
1007+
"(self=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False, "
1008+
"_RLock__owner=140737354016512, _RLock__block=<thread.lock at remote "
1009+
"0x858770>, _RLock__count=1) at remote 0xd7ff40>, acquire=<instancemethod at "
1010+
"remote 0xd80260>, _is_owned=<instancemethod at remote 0xd80160>, "
1011+
"_release_save=<instancemethod at remote 0xd803e0>, release=<instancemethod "
1012+
"at remote 0xd802e0>, _acquire_restore=<instancemethod at remote 0xd7ee60>, "
1013+
"_Verbose__verbose=False, _Condition__waiters=[]) at remote 0xd7fd10>, "
1014+
"timeout=None, waiter=<thread.lock at remote 0x858860>, saved_state=(1, "
1015+
"140736940992272))\n"
1016+
" self._acquire_restore(saved_state)\n"
1017+
"#12 Frame 0x7fffac001c90, for file /home/david/coding/python-svn/Lib/test/"
1018+
"lock_tests.py, line 348, in f ()\n"
1019+
" cond.wait()\n"
1020+
"#16 Frame 0x7fffac0011c0, for file /home/david/coding/python-svn/Lib/test/"
1021+
"lock_tests.py, line 37, in task (tid=140736940992272)\n"
1022+
" f()\n"
1023+
"\n"
1024+
"Thread 1 (Thread 0x7ffff7fe2700 (LWP 10145)):\n"
1025+
"#5 Frame 0xcb5380, for file /home/david/coding/python-svn/Lib/test/"
1026+
"lock_tests.py, line 16, in _wait ()\n"
1027+
" time.sleep(0.01)\n"
1028+
"#8 Frame 0x7fffd00024a0, for file /home/david/coding/python-svn/Lib/test/"
1029+
"lock_tests.py, line 378, in _check_notify "
1030+
"(self=<ConditionTests(_testMethodName='test_notify', "
1031+
"_resultForDoCleanups=<TestResult(_original_stdout=<cStringIO.StringO at "
1032+
"remote 0xc191e0>, skipped=[], _mirrorOutput=False, testsRun=39, "
1033+
"buffer=False, _original_stderr=<file at remote 0x7ffff7fc6340>, "
1034+
"_stdout_buffer=<cStringIO.StringO at remote 0xc9c7f8>, "
1035+
"_stderr_buffer=<cStringIO.StringO at remote 0xc9c790>, "
1036+
"_moduleSetUpFailed=False, expectedFailures=[], errors=[], "
1037+
"_previousTestClass=<type at remote 0x928310>, unexpectedSuccesses=[], "
1038+
"failures=[], shouldStop=False, failfast=False) at remote 0xc185a0>, "
1039+
"_threads=(0,), _cleanups=[], _type_equality_funcs={<type at remote "
1040+
"0x7eba00>: <instancemethod at remote 0xd750e0>, <type at remote 0x7e7820>: "
1041+
"<instancemethod at remote 0xd75160>, <type at remote 0x7e30e0>: "
1042+
"<instancemethod at remote 0xd75060>, <type at remote 0x7e7d20>: "
1043+
"<instancemethod at remote 0xd751e0>, <type at remote 0x7f19e0...(truncated)\n"
1044+
" _wait()"
1045+
msgstr ""

0 commit comments

Comments
 (0)