mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-04 11:04:52 +01:00
GDBMI Debugger: clean up / merge identical code blocks for thread start/stop detection
git-svn-id: trunk@57191 -
This commit is contained in:
parent
2f11742c8d
commit
8b1b8ff0df
@ -7663,7 +7663,7 @@ var
|
||||
t: TThreadEntry;
|
||||
begin
|
||||
EventText := GetPart(['='], [','], Line, False, False);
|
||||
case StringCase(EventText, [
|
||||
x := StringCase(EventText, [
|
||||
'thread-created', 'thread-exited',
|
||||
'shlibs-added',
|
||||
'library-loaded',
|
||||
@ -7674,7 +7674,8 @@ begin
|
||||
'thread-created',
|
||||
'thread-exited',
|
||||
'breakpoint-modified'
|
||||
], False, False) of
|
||||
], False, False);
|
||||
case x of
|
||||
0,1: begin
|
||||
i := StrToIntDef(GetPart(',id="', '"', Line, False, False), -1);
|
||||
if (i > 0) and (Threads.CurrentThreads <> nil)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user