This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Dear all, the program load two SO, but i can print the variable value in a SO
- From: "yrj1982hp at 163 dot com" <yrj1982hp at 163 dot com>
- To: gdb at sourceware dot org
- Date: Wed, 10 Jan 2018 16:21:01 +0800
- Subject: Dear all, the program load two SO, but i can print the variable value in a SO
- Authentication-results: sourceware.org; auth=none
Dear all,
my gbd version number is 7.11.1
the program running under gdb load two sharelibrary SO1and SO2, SO1 is the same as SO2. I print the variable K in SO by GDB, the variable K 's value of SO1 is different with the K's value in SO2, but i can't print the K's value in SO2, even stop at the breakpoint in SO2
Would you tell me how to print the variable value in SO?
Good luck
发自我的华为手机