History log of /external/valgrind/gdbserver_tests/passsigalrm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13bf8efc6adcc675161252c17ed86addd4d95b5c 29-May-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix MacOS passsigalrm.c compilation error due to SIGRTMIN not existing on MacOS
The test will very probably fail on MacOS (as gdb output will contain SIGUSR1
rather than signal SIGRTMIN, but at least it should compile).
(not tested on MacOS; just tested that it still works on linux)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12594 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/gdbserver_tests/passsigalrm.c
a3d8c6797bbefbc2689ddd6fda746b621bec672d 30-Mar-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Further fix 297078 : implement conversion between vki and gdb real time sig nr.

* gdbserver_tests/nlpasssigalrm
modify test so as to test also a real time signal

* coregrind/m_gdbserver/signals.c
- implement translation between gdb real time signal numbers
and vki real time signal numbers
- ensure non-convertible signals are giving an error



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12471 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/gdbserver_tests/passsigalrm.c
886fde3e9a960156989a1153ec03b637ab49888e 29-Mar-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix bug 297078 gdbserver signal handling problems caused by diff vki nr/gdb nr and
non reset of "C-ontinued" signal

* To allow vki signame to be used in debuglog:
- pub_core_signals.h : added prototype for Char *VG_(signame)
- m_signals.c : changed static const Char *signame(Int sigNo)
to const Char *VG_(signame)(Int sigNo)

* valgrind-low.c : when the signal to report to gdb has
been reported, clear it so that it is not reported anymore
afterwards.

* m_gdbserver.c: when checking in pass_signals if signal
can be passed without gdb interaction, do a conversion
from vki nr to gdb nr when indexing
(as pass_signals[] is indexed by gdb_nr).

* various gdbserver files:
- used vki_ prefix for some args and variables to clarify
- better debuglog tracing

* modified nlpasssigalrm.vgtest to test SIGCHLD signal
handling followed by a break (to see SIGTRAP is properly
given to gdb).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12470 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/gdbserver_tests/passsigalrm.c
f5194b352c74cba18ba0e628567fd8183f0a6048 05-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> GDB server: fix tests following recent commits.
Fixes #276987. (Philippe Waroquiers, philippe.waroquiers@skynet.be)

* make_local_links
- disable gdb tests if gdb version < 7
- disable pic tests if gdb version < 7.1
* nlfork_chain test
- reduce chain from 20 to 15 to avoid ENOMEM
on small ARM systems
* main_pic.c
- put break at line 11 rather than main entry, as ARM gdb
does not properly show main args till it has started executing.
* passsigalrm.c
- do not setsa.sa_restorer (obsolete on linux, unknown on darwin)
* mcvabits.vgtest
- make prereq consistent with other tests
* filter_gdb
- upgraded filter to new linenr in clean_after_fork.c



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11853 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/gdbserver_tests/passsigalrm.c
b2572b52b37d56d302408395f7fed9f509423af1 26-Jun-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> GDB server:
* Fix bug in logic related to signal-passing
* use SIGSTOP instead of SIGTRAP (avoid race condition)
(Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909
comment 109.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11837 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/gdbserver_tests/passsigalrm.c