[Bug gdb/30525] gdb cannot read shared libraries on SPARC64

pedro at palves dot net sourceware-bugzilla@sourceware.org
Wed Jun 7 10:44:58 GMT 2023


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

Pedro Alves <pedro at palves dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14921|0                           |1
        is obsolete|                            |

--- Comment #5 from Pedro Alves <pedro at palves dot net> ---
Created attachment 14922
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14922&action=edit
Avoid pread64/pwrite64 for high memory addresses (v2)

The numeric limits thing was there because I initially thought about
incrementally lseeking in a loop with positive offsets until the high address
was reached.  If we can do it in one lseek call only, then it isn't needed. 
This slightly updated patch thus gets rid of the numeric limits use.

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


More information about the Gdb-prs mailing list