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/11253] New: SEGV during reverse debugging w/ record target over simulator


I'm getting a SEGV now whenever I step after setting record on for my target
(the built-in moxie simulator).

It's happening in the first line of watchpoints_triggered(), where the code reads:
 int stopped_by_watchpoint = target_stopped_by_watchpoint ();

target_stopped_by_watchpoint is defined as
(*current_target.to_stopped_by_watchpoint).

The problem is that current_target.to_stopped_by_watchpoint is NULL.

This has something to do with how the record and simulator targets interact.

Normal breakpoints (w/o record) are working fine.

AG

-- 
           Summary: SEGV during reverse debugging w/ record target over
                    simulator
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: green at moxielogic dot com
                CC: gdb-prs at sourceware dot org,msnyder at vmware dot
                    com,teawater at gmail dot com
GCC target triplet: moxie-elf


http://sourceware.org/bugzilla/show_bug.cgi?id=11253

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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