public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
@ 2020-07-27 19:16 edwinvp at xs4all dot nl
  2020-07-27 19:48 ` [Bug gdb/26304] " edwinvp at xs4all dot nl
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: edwinvp at xs4all dot nl @ 2020-07-27 19:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

            Bug ID: 26304
           Summary: info registers command crashes for x86_64-w64-mingw32
                    target, windows 10 64b OS
           Product: gdb
           Version: 8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: edwinvp at xs4all dot nl
  Target Milestone: ---

Steps to reproduce:

- set up 64-bit MinGW environment
- compile and link a simple hello world c++ console application with gcc (also
versioned 8.1.0)
- start debugging EXE file with gdb
- set breakpoint for instance on the main function (b main)
- run info registers command (i r)
- Debugger now unexpectedly quits and returns you to the command line.

Note: the 32-bit version of gdb doesn't do this, only 64-bit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
@ 2020-07-27 19:48 ` edwinvp at xs4all dot nl
  2020-07-28 14:05 ` edwinvp at xs4all dot nl
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: edwinvp at xs4all dot nl @ 2020-07-27 19:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #1 from E.van Putten <edwinvp at xs4all dot nl> ---
Similar bug seems to be posted here:

https://sourceforge.net/p/mingw-w64/bugs/731/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
  2020-07-27 19:48 ` [Bug gdb/26304] " edwinvp at xs4all dot nl
@ 2020-07-28 14:05 ` edwinvp at xs4all dot nl
  2020-07-28 16:40 ` simark at simark dot ca
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: edwinvp at xs4all dot nl @ 2020-07-28 14:05 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #2 from E.van Putten <edwinvp at xs4all dot nl> ---
The steps to reproduce may have failed to mention that the intention is to
first run the app until it actually hits the breakpoint. Then run the "info
registers" command.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
  2020-07-27 19:48 ` [Bug gdb/26304] " edwinvp at xs4all dot nl
  2020-07-28 14:05 ` edwinvp at xs4all dot nl
@ 2020-07-28 16:40 ` simark at simark dot ca
  2020-07-28 21:06 ` edwinvp at xs4all dot nl
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: simark at simark dot ca @ 2020-07-28 16:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
Thanks for the report.  Would it be possible for you to build GDB from the
master branch and confirm the bug is still there?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
                   ` (2 preceding siblings ...)
  2020-07-28 16:40 ` simark at simark dot ca
@ 2020-07-28 21:06 ` edwinvp at xs4all dot nl
  2020-07-31 18:52 ` simark at simark dot ca
  2020-08-01 11:35 ` ssbssa at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: edwinvp at xs4all dot nl @ 2020-07-28 21:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #4 from E.van Putten <edwinvp at xs4all dot nl> ---
Tried to build gdb from git repo with MinGW but after several attempts with
each time different build errors it was clearly time for another strategy.

Next, tried cygwin, which conveniently offers various packaged versions of gdb
and here's the result:

8.0.1 ok
8.1.1 segfault
8.2.1 ok
8.3.1 ok
9.1 ok
9.2 ok

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
                   ` (3 preceding siblings ...)
  2020-07-28 21:06 ` edwinvp at xs4all dot nl
@ 2020-07-31 18:52 ` simark at simark dot ca
  2020-08-01 11:35 ` ssbssa at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: simark at simark dot ca @ 2020-07-31 18:52 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Simon Marchi <simark at simark dot ca> ---
So it looks like it was a regression in 8.1.1, later fixed.  I've tried on a
somewhat recent build of GDB on mingw-w64 I have lying around
(10.0.50.20200514-git) and I can't reproduce.

I'll close this bug, but if you ever manage to reproduce it on a more recent
version (>= 10), please re-open, or open a new bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS
  2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
                   ` (4 preceding siblings ...)
  2020-07-31 18:52 ` simark at simark dot ca
@ 2020-08-01 11:35 ` ssbssa at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ssbssa at sourceware dot org @ 2020-08-01 11:35 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26304

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE
                 CC|                            |ssbssa at sourceware dot org

--- Comment #6 from Hannes Domani <ssbssa at sourceware dot org> ---


*** This bug has been marked as a duplicate of bug 22854 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-01 11:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 19:16 [Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS edwinvp at xs4all dot nl
2020-07-27 19:48 ` [Bug gdb/26304] " edwinvp at xs4all dot nl
2020-07-28 14:05 ` edwinvp at xs4all dot nl
2020-07-28 16:40 ` simark at simark dot ca
2020-07-28 21:06 ` edwinvp at xs4all dot nl
2020-07-31 18:52 ` simark at simark dot ca
2020-08-01 11:35 ` ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).