From: Tom Tromey <tom@tromey.com>
To: Jan Dubiec <jdx@o2.pl>
Cc: gdb-patches@sourceware.org, Jeffrey Law <jeffrey.law@oss.qualcomm.com>
Subject: Re: [PATCH] H8/300: sim: Fix simulator hang caused by qsort on Windows/MinGW.
Date: Thu, 27 Aug 2026 09:19:26 -0600 [thread overview]
Message-ID: <878q5rbngh.fsf@tromey.com> (raw)
In-Reply-To: <c4ba70f6-71c8-48ff-8d39-3a4d594555aa@o2.pl> (Jan Dubiec's message of "Sun, 23 Aug 2026 22:50:38 +0200")
>>>>> "Jan" == Jan Dubiec <jdx@o2.pl> writes:
Jan> So I think the best solution is to use a sorting algorithm known to be
Jan> stable on every host, e.g. the insertion sort implementation from my
Jan> previous message.
Would it be possible to change the comparison function to be stable?
I think it would be somewhat nicer not to have a separate sort
implementation.
If that's too hard, though, I think your approach is fine.
Tom
next prev parent reply other threads:[~2026-08-27 15:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-22 11:02 Jan Dubiec
2026-08-23 20:50 ` Jan Dubiec
2026-08-27 15:19 ` Tom Tromey [this message]
2026-08-30 1:40 ` Jan Dubiec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878q5rbngh.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=jdx@o2.pl \
--cc=jeffrey.law@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox