aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorZENG Hao <c@cyano.cn>2025-04-19 06:41:28 +0800
committerTom Tromey <tromey@adacore.com>2025-04-22 08:46:00 -0600
commitdadaf42c653f4eba6ada9d09d087253e8c97ecd7 (patch)
treef674910d0c39182089e2d3c8b428afaa591ce028 /gdb/python/python.c
parent236fb2b56e6367159aa5457d99428a751ff37cdd (diff)
downloadbinutils-dadaf42c653f4eba6ada9d09d087253e8c97ecd7.zip
binutils-dadaf42c653f4eba6ada9d09d087253e8c97ecd7.tar.gz
binutils-dadaf42c653f4eba6ada9d09d087253e8c97ecd7.tar.bz2
gdb: fix ui-style regex initializing order
This fixes a crash on Windows NT 4.0, where windows-nat failed dynamic loading some Win32 functions and print a warning message with styled string, which depends on ui-style regex. By using `compiled_regex` constructor, the regex is guaranteed to be initialized before `_initialize_xxx` functions. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions