[Bug 22883] New: implement dbghelp.SymMatchStringA/W (needed by "Debugging Tools for Windows")
http://bugs.winehq.org/show_bug.cgi?id=22883 Summary: implement dbghelp.SymMatchStringA/W (needed by "Debugging Tools for Windows") Product: Wine Version: 1.2-rc1 Platform: x86 URL: http://www.microsoft.com/whdc/devtools/debugging/defau lt.mspx OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs(a)winehq.org ReportedBy: focht(a)gmx.net Hello, while writing some scripts for cdb from "Debugging Tools for Windows" toolsuite, the following insufficiency is encountered: --- snip --- ... wine: Call from 0x7b835a02 to unimplemented function dbghelp.dll.SymMatchStringW, aborting wine: Unimplemented function dbghelp.dll.SymMatchStringW called at address 0x7b835a02 (thread 0034), starting debugger... --- snip --- Native dbghelp works around. It seems there is already an ansi version "SymMatchString" present and exported (without "A" suffix). --- snip dlls/dbghelp/symbol.c --- /****************************************************************** * SymMatchString (DBGHELP.@) * */ BOOL WINAPI SymMatchString(PCSTR string, PCSTR re, BOOL _case) { regex_t preg; BOOL ret; TRACE("%s %s %c\n", string, re, _case ? 'Y' : 'N'); compile_regex(re, -1, &preg, _case); ret = match_regexp(&preg, string); regfree(&preg); return ret; } ... --- snip dlls/dbghelp/symbol.c --- --- snip dlls/dbghelp/dbghelp.spec --- ... @ stdcall SymMatchString(str str long) @ stub SymMatchStringA @ stub SymMatchStringW ... --- snip dlls/dbghelp/dbghelp.spec --- SymMatchStringA -> SymMatchString It would be nice if the wide character variant SymMatchStringW() could be also supported. AFAIK standard POSIX.2 regex lib doesn't support wide character interface, you have to convert to multibyte string and use ansi version. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22883 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr --- Comment #1 from Eric Pouech <eric.pouech(a)orange.fr> 2010-05-26 15:40:24 --- an alternative (and likely preferable) solution would be to embed into Wine a unicode RE library: - this would allow finishing moving all string management code to unicode in dbghelp - it would also solve the issue about not being able to compile dbghelp on windows because of the lack of RE lib (esp. with MSVC) for example, TRE seems to be a reasonable choice (and its interface being posix, it should be easy to integrate) A+ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22883 --- Comment #2 from Anastasius Focht <focht(a)gmx.net> 2010-05-26 16:33:01 --- Hello, --- quote --- for example, TRE seems to be a reasonable choice (and its interface being posix, it should be easy to integrate) --- quote --- Yeah, I had TRE in mind too while looking for C regex libs with wide character support and POSIX compatibility but didn't mention it because it would create a new external dependency with dbghelp being the only user. TRE is pretty much the only choice when it comes to regex C lib with wide char and POSIX support - and suitable license. Yes, if AJ allows utilizing TRE this might be the chance to clean up dbghelp ;-) Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22883 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #3 from Anastasius Focht <focht(a)gmx.net> 2011-05-20 01:40:26 CDT --- Hello, confirming, still present. $ wine --version wine-1.3.20-164-g5a7dba5 Direct download of 6.x version (without need of SDK): http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.11.1.404.msi For a super fast unattended installation use the following command line: $ wine msiexec /i dbg_x86_*.msi /qn INSTDIR="C:\\Program Files\\Debugging Tools for Windows" Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22883 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d6fadb882f1d5575e38e33e89ef | |75bf8b533e2f1 Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2011-11-01 13:26:35 CDT --- http://source.winehq.org/git/wine.git/commitdiff/7e3fe1975a906185d6d22806520... http://source.winehq.org/git/wine.git/commitdiff/d6fadb882f1d5575e38e33e89ef... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22883 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2011-11-04 14:15:08 CDT --- Closing bugs fixed in 1.3.32. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22883 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/wh |https://web.archive.org/web |dc/devtools/debugging/defau |/20130118182453/http://msdl |lt.mspx |.microsoft.com/download/sym | |bols/debuggers/dbg_x86_6.11 | |.1.404.msi --- Comment #6 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, adding stable download link via Internet Archive for documentation. https://web.archive.org/web/20130118182453/http://msdl.microsoft.com/downloa... $ sha1sum dbg_x86_6.11.1.404.msi 7a08294eec48ff754146a8db6f5f3ed426a2e988 dbg_x86_6.11.1.404.msi $ du -sh dbg_x86_6.11.1.404.msi 17M dbg_x86_6.11.1.404.msi Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla