all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: gdb fails to flush output (msys2)
Date: Tue, 15 Mar 2022 18:38:59 +0100	[thread overview]
Message-ID: <86ee339kuk.fsf@csic.es> (raw)
In-Reply-To: 83ilsfi2nt.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:
>> From: Juan José García-Ripoll
>> I have used both the UCRT and MSVCRT runtimes, provided in
>> c:/msys64/ucrt64/bin/gdb.exe and c:/msys64/mingw64/bin/gdb.exe They are
>> downloaded from the MSYS2 terminal using pacman, so I assume they are
>> from the standard repositories.
>
> And they both exhibit the same problematic behavior?
>
> But actually the problematic behavior is of the program you are
> debugging, right?  Is that one linked against UCRT or MSVCRT?

I have tried both. I actually developed an Emacs module to select
different toolchains, using cmake and g++. My program has been therefore
built and debugged using both UCRT (both gdb and my code) and MSVCRT
(both gdb and my code) on different Emacs sessions and build
directories, and both exhibited this issue.

I am puzzled because this is just a C++ numerics library and I am really
not invoking anything fancy: just standard I/O from the C++ STL library
and Google Test (which also seems to use standard I/O). Nevertheless, I
will try again during the weekend with smaller standalone C and C++
programs, just to compare.

Best,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




  reply	other threads:[~2022-03-15 17:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 11:18 gdb fails to flush output (msys2) Juan José García-Ripoll
2022-03-14 13:33 ` Eli Zaretskii
2022-03-14 17:55   ` Juan José García-Ripoll
2022-03-14 18:23     ` Eli Zaretskii
2022-03-14 18:40       ` Eli Zaretskii
2022-03-15  9:58         ` Juan José García-Ripoll
2022-03-15 11:48           ` Jostein Kjønigsen
2022-03-15 13:24             ` Juan José García-Ripoll
2022-03-15 13:33               ` Juan José García-Ripoll
2022-03-15 14:34                 ` Eli Zaretskii
2022-03-15 14:40                   ` Juan José García-Ripoll
2022-03-15 16:47                     ` Eli Zaretskii
2022-03-15 17:38                       ` Juan José García-Ripoll [this message]
2022-03-15 17:56                         ` Eli Zaretskii
2022-03-15 15:12                   ` Juan José García-Ripoll
2022-03-15 16:53                     ` Eli Zaretskii
2022-03-15 14:25             ` Eli Zaretskii

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=86ee339kuk.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.