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 gdb/21220] New: "restore" for large data structures extremely slow on GNU/Linux


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

            Bug ID: 21220
           Summary: "restore" for large data structures extremely slow on
                    GNU/Linux
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: arnez at linux dot vnet.ibm.com
  Target Milestone: ---

On GNU/Linux, restoring a large array does not complete in reasonable time:

(gdb) p sizeof bigarray
$1 = 16777216
(gdb) dump bin mem foo.bin &bigarray &bigarray[sizeof bigarray]
(gdb) restore foo.bin binary &bigarray
Restoring binary file foo.bin into memory (0x10002060 to 0x11002060)

This operation appears to hang.

-- 
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]