Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [mingw] #44470: Please provide a newer GCC version
      (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 May 2022 23:02:26 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #44470: Please provide a newer GCC
        version
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

#44470: Please provide a newer GCC version

  Open Date: 2022-04-26 13:29
Last Update: 2022-05-24 23:02

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/44470
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=44470

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-05-24 23:02 Updated by: keith

Comment:

Reply To eliz
Reply To keith
there is no improvement; GDB continues to be unable to insert break-points.

On reflection, could it be due to a mismatch between the binutils version 
against which GDB was linked — IIRC, I built mingw32-gdb-9.2 using 
mingw32-gcc-9.2.0, with mingw32-binutils-2.32 — and the version used to build 
the target program — now mingw32-gcc-10.2.0, with mingw32-binutils-2.38?  Some 
further investigation is required, I think.

If you can make that problematic executable available for download somewhere, I 
could try debugging it with the latest GDB 12.1 on MS-Windows, and see how far 
I get.
Sure.  I've attached a tarball, containing the (trivial) source, together with 
two variants of the executable, both compiled with:
$ mingw32-gcc -g -O0 foo.c -o foo-gcc-10.2.0-binutils-2.3x.exe
(with the respectively named binutils version installed in the 
mingw32-gcc-10.2.0 path).  The binutils-2.32 variant (which uses the same 
binutils version as my GDB build) can be successfully debugged; the 
binutils-2.38 variant cannot.
Also, maybe try using -gdwarf-2 when compiling the program, perhaps the problem 
is due to the debug info, not the executable code.
-gdwarf-2 or -g makes no difference: binutils-2.32 is okay; binutils-2.38 is 
not.

---------------------------------------------------------------------
Ticket Status:

      Reporter: eliz
         Owner: (None)
          Type: Feature Request
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: GCC
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The latest version of GCC, 9.2.0, available for MinGW development, was released 
almost 2 years ago and last updated more than a year ago.
Would it be possible to provide a MinGW port of a newer GCC version, like 10 or 
maybe even 11?
Thanks in advance.


-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/44470
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=44470


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 52, Issue 6
*******************************************

Reply via email to