Fix SLES10 (and others): highest_userspace_address
- Restored use of highest_userspace_address for accurate value of highest_addr
- posix-mq2 test still failing for SLES10 and RedHat5
- SLES10 and RedHat5 are both Linux 2.6.18
- They use glibc-2.4 and glibc-2.5 respectively
- Ubuntu 9.04 still failing on restart
- Haven't re-tested ARM-32 yet.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2554 ba6dc0ae-232f-0410-883f-9ebac64fc565
Created dl plugin with wrappers for dl{open,close}

Wrappers for dlopen/dlclose don't play well with RPATH. This plugin can
thus be disabled for applications that depends RPATH.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2555 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix a bug for IB plugin.

- Do not save/restore shm area backed by /dev/infiniband/uverbs* .

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2556 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix gdb-add-symbol-file (2 text sections)
- libdmtcp.so can have two 'r-x' sections since DMTCP-2.1. It's not clear why.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2557 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix compiler warning about unbounded strncat


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2558 ba6dc0ae-232f-0410-883f-9ebac64fc565
Remove more compiler warnings.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2559 ba6dc0ae-232f-0410-883f-9ebac64fc565
Compilation fix for ptrace on newer systems.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2560 ba6dc0ae-232f-0410-883f-9ebac64fc565
Moved --simulate option from dmtcp_restart to mtcp_restart.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2561 ba6dc0ae-232f-0410-883f-9ebac64fc565
Added util/readdmtcp.sh for reading ckpt images.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2562 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix compile bug for ARM (introduced at rev. 2523)


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2563 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix 'struct stat64' compiler issue for 32-bit Linux
- syscallwrappers.h needs to selectively set __USE_LARGEFILE64 for sys/stat.h


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2564 ba6dc0ae-232f-0410-883f-9ebac64fc565
Add '#include <stdlib.h>' in files that use strtol


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2565 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix restart: no permission for controlling terminal
- This can happen if the user was root, and did 'su username'
  The user inherits root's fd on the controlling terminal, but cannot
  reopen it.  We now recognize this case, and do 'dup(fd)' on restart.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2566 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fixed a typo in shareddata.cpp.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2567 ba6dc0ae-232f-0410-883f-9ebac64fc565
IB: fix scalability issue, do not publish/subscribe before ckpt

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2568 ba6dc0ae-232f-0410-883f-9ebac64fc565
expand tabs->spaces; more time for sshtest,waitpid


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2569 ba6dc0ae-232f-0410-883f-9ebac64fc565
Use highest_userspace_address(). Partial fix on ARM.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2570 ba6dc0ae-232f-0410-883f-9ebac64fc565
mtcp_restart.c: Better debugging; 'make gdb' added


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2571 ba6dc0ae-232f-0410-883f-9ebac64fc565
In mtcp: 'make gdb' lets you debug while unmapping


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2572 ba6dc0ae-232f-0410-883f-9ebac64fc565
Update previous revision to work with 32-bit CPUs


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2573 ba6dc0ae-232f-0410-883f-9ebac64fc565