Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the problem that the module list cannot be obtained #111

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

sonyps5201314
Copy link
Contributor

@sonyps5201314 sonyps5201314 commented Jul 23, 2023

before this patch:
before
after this patch:

(gdb)
-target-attach 43992
^done
=thread-group-started,id="i1",pid="43992"
(gdb)
=thread-created,id="1",group-id="i1"
=thread-created,id="2",group-id="i1"
=thread-created,id="3",group-id="i1"
=thread-selected,id="1"
(gdb)
=library-loaded,id="/usr/lib/dyld",target-name="/usr/lib/dyld",host-name="/usr/lib/dyld",symbols-loaded="0",loaded_addr="0x000000011156a000",size="602112"
=library-loaded,id="/System/Applications/TextEdit.app/Contents/MacOS/TextEdit",target-name="/System/Applications/TextEdit.app/Contents/MacOS/TextEdit",host-name="/System/Applications/TextEdit.app/Contents/MacOS/TextEdit",symbols-loaded="0",loaded_addr="0x0000000101f28000",size="110592"
=library-loaded,id="/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa",target-name="/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa",host-name="/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa",symbols-loaded="0",loaded_addr="0x00007fff33813000",size="4096"
=library-loaded,id="/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",target-name="/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",host-name="/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",symbols-loaded="0",loaded_addr="0x00007fff36d77000",size="3956736"
...
=library-loaded,id="/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData",target-name="/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData",host-name="/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData",symbols-loaded="0",loaded_addr="0x00007fff57ada000",size="196608"
-interpreter-exec console "image list"
~"[  0] EA62F7D4-2AAC-3F7E-AC73-426EFA801BC9 0x0000000101f28000 /System/Applications/TextEdit.app/Contents/MacOS/TextEdit \n[  1] 9F48F7F8-94D0-3793-99B7-DDEF657EF956 0x000000011156a000 /usr/lib/dyld \n[  2] 9C7AC07A-7C05-37D4-910C-E9CDB239AFA8 0x00007fff33813000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa \n[  3] 69B915AD-CE6F-3958-8E3A-9D6050989AC2 0x00007fff36d77000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation \n[  4] 6DF81160-5E7F-3E31-AA1E-C875E3B98AF6 0x00007fff6d249000 /usr/lib/libobjc.A.dylib \n[  5] 5A20AE6C-BF4D-3689-B7D2-19F0721F6375 0x00007fff6b3e7000 /usr/lib/libSystem.B.dylib \n[  6] 058D0F31-D353-36D9-83CD-1709EBB1390E 0x00007fff3196b000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit \n[  7] DFD82191-CCB6-3664-B803-5717036927AC 0x00007fff346b5000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \n ... \n[364] 9F669D19-13AD-3961-B247-ED728B7BFA19 0x00007fff62476000 /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut \n[365] D1922D1C-8EEA-36F8-B7BE-76361A82D15B 0x00007fff57ada000 /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData \n"
^done
(gdb)

@sunshaoce
Copy link
Collaborator

Thanks for contributing!

@sunshaoce sunshaoce merged commit f846a13 into lldb-tools:main Sep 10, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants