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/19993] New: Crash when running info w32 tib


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

            Bug ID: 19993
           Summary: Crash when running info w32 tib
           Product: gdb
           Version: 7.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: ariscop at gmail dot com
  Target Milestone: ---

Created attachment 9220
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9220&action=edit
Add-missing-to_has_all_memory-delegate

raw_memory_xfer_partial contains the following

      /* We want to continue past core files to executables, but not
         past a running target's memory.  */
      if (ops->to_has_all_memory (ops))
        break;

which crashes if current_ops is the result of install_delegators, as it defines
no to_has_all_memory

exactly why install_delegators is called on an empty target_ops is beyond me
but this patch avoids the issue

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