| Summary: | unw_init_remote doesn't fully init the cursor | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Andrew Cagney <cagney> |
| Component: | general | Assignee: | Unassigned <frysk-bugzilla> |
| Status: | NEW --- | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 3076 | ||
vis: + logf(fine, this, "createCursor from address-space %lxf", (long) unwAddrSpace) + unw_cursor_t* unwCursor = (unw_cursor_t*) JvMalloc(sizeof(::unw_cursor_t)); + // XXX: Need to zero out the cursor, as unw_init_remote doesn't seem + // to do it. + memset(unwCursor, 0, sizeof(*unwCursor)); + unw_init_remote(unwCursor, (unw_addr_space_t) unwAddrSpace, (void *) addressSpace);