This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/22904] New: Assertion `proc->tdesc != NULL' failed


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

            Bug ID: 22904
           Summary: Assertion `proc->tdesc != NULL' failed
           Product: gdb
           Version: 8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: a.pribil@beck-ipc.com
  Target Milestone: ---

I'm trying to remote debug a "hello world" program on an arm-linux-gnueabihf
system.

After the gdb "run" command, I get this assertion on the gdbserver side:
 regcache.c:44: A problem internal to GDBserver has been detected.
 regcache* get_thread_regcache(thread_info*, int): Assertion `proc->tdesc !=
NULL' failed.

The command-line for the gdbserver looks like this:
 /usr/bin/gdbserver --wrapper env FOO=1 -- --multi :3000

With the gdb/gdbserver version 8.1 I always get the assertion message.

I also tried gdb/gdbserver 8.01. In this case I only get the assertion when the
--wrapper option is included. IOW, with version 8.01 this gdbserver
command-line did not show the assertion message:
 /usr/bin/gdbserver --multi :3000

What could be the reason for this?

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]