public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/28635] New: regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested
@ 2021-11-29 15:37 vries at gcc dot gnu.org
  2021-11-29 19:10 ` [Bug server/28635] " vries at gcc dot gnu.org
  2021-11-30  9:08 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-29 15:37 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28635
           Summary: regcache.cc:257: A problem internal to GDBserver has
                    been detected. Unknown register zmm16h requested
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I'm running into:
...
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission:
connection to GDBserver succeeded (the program is no longer running)
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target::
action=permission: connection to GDBserver succeeded (the program is no longer
running)
...

The first FAIL in more detail:
...
builtin_spawn
/home/abuild/rpmbuild/BUILD/gdb-11.1/build-x86_64-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/../../gdb/../gdbserver/gdbserver
--once localhost:2346
/home/abuild/rpmbuild/BUILD/gdb-11.1/build-x86_64-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file^M
Process
/home/abuild/rpmbuild/BUILD/gdb-11.1/build-x86_64-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file
created; pid = 4982^M
Listening on port 2346^M
builtin_spawn chmod 000
/home/abuild/rpmbuild/BUILD/gdb-11.1/build-x86_64-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file^M
target remote localhost:2346^M
Remote debugging using localhost:2346^M
Remote connection closed^M
(gdb) detach^M
The program is not being run.^M
(gdb) FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=:
action=permission: connection to GDBserver succeeded (the program is no longer
running)
...

When recreating on the command line, we get a bit more info:
...
$ cp
outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file.bak 
outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file
$ /suse/tdevries/gdb/build/gdb/testsuite/../../gdb/../gdbserver/gdbserver
--once localhost:2346
/suse/tdevries/gdb/build/gdb/testsuite/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file
$ chmod 000
/suse/tdevries/gdb/build/gdb/testsuite/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file
$ gdb -q -ex "target remote localhost:2346"Remote debugging using
localhost:2346
...

The gdbserver output is:
...
Process
/suse/tdevries/gdb/build/gdb/testsuite/outputs/gdb.server/connect-with-no-symbol-file/connect-with-no-symbol-file
created; pid = 191874
Listening on port 2346
Remote debugging from host ::1, port 34940
/suse/tdevries/gdb/src/gdbserver/regcache.cc:257: A problem internal to
GDBserver has been detected.
Unknown register zmm16h requested
...

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

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

* [Bug server/28635] regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested
  2021-11-29 15:37 [Bug server/28635] New: regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested vries at gcc dot gnu.org
@ 2021-11-29 19:10 ` vries at gcc dot gnu.org
  2021-11-30  9:08 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-29 19:10 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Looks a lot like a duplicate of PR27257 , which also reproduces for me on the
same system.

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

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

* [Bug server/28635] regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested
  2021-11-29 15:37 [Bug server/28635] New: regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested vries at gcc dot gnu.org
  2021-11-29 19:10 ` [Bug server/28635] " vries at gcc dot gnu.org
@ 2021-11-30  9:08 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-30  9:08 UTC (permalink / raw)
  To: gdb-prs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
The tentative fix for PR27257 also fixes this PR, so confirmed duplicate.

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

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

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

end of thread, other threads:[~2021-11-30  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 15:37 [Bug server/28635] New: regcache.cc:257: A problem internal to GDBserver has been detected. Unknown register zmm16h requested vries at gcc dot gnu.org
2021-11-29 19:10 ` [Bug server/28635] " vries at gcc dot gnu.org
2021-11-30  9:08 ` vries at gcc dot gnu.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).