Mercurial > hg > truffle
comparison agent/src/os/linux/ps_core.c @ 50:485d403e94e1
6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
Summary: (for Serguei) Allow for Linux builds with Sun Studio Linux compilers
Reviewed-by: sspitsyn, ohair
author | dcubed |
---|---|
date | Wed, 12 Mar 2008 18:37:03 -0700 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
49:31000d79ec71 | 50:485d403e94e1 |
---|---|
516 } | 516 } |
517 return false; | 517 return false; |
518 } | 518 } |
519 | 519 |
520 static ps_prochandle_ops core_ops = { | 520 static ps_prochandle_ops core_ops = { |
521 release: core_release, | 521 .release= core_release, |
522 p_pread: core_read_data, | 522 .p_pread= core_read_data, |
523 p_pwrite: core_write_data, | 523 .p_pwrite= core_write_data, |
524 get_lwp_regs: core_get_lwp_regs | 524 .get_lwp_regs= core_get_lwp_regs |
525 }; | 525 }; |
526 | 526 |
527 // read regs and create thread from NT_PRSTATUS entries from core file | 527 // read regs and create thread from NT_PRSTATUS entries from core file |
528 static bool core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) { | 528 static bool core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) { |
529 // we have to read prstatus_t from buf | 529 // we have to read prstatus_t from buf |