diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-11-26 09:49:04 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-11-26 13:09:30 -0500 |
commit | f6512a69cd414a31e302daf107f5959ef06bcbec (patch) | |
tree | 660e13b01bedee4dd619031427eaa5d66f5ff0f9 /bfd/cpu-ia64.c | |
parent | 79efa585c51f0657b319beb1e213d5721eaacdcc (diff) | |
download | gdb-f6512a69cd414a31e302daf107f5959ef06bcbec.zip gdb-f6512a69cd414a31e302daf107f5959ef06bcbec.tar.gz gdb-f6512a69cd414a31e302daf107f5959ef06bcbec.tar.bz2 |
Add test for thread names
I couldn't find a test that verified the thread name functionality, so I
created a new one.
A target board can define gdb,no_thread_names if it doesn't support thread
names and wants to skip the tests that uses them.
This test has been made with Linux in mind. Not all platforms use
pthread_setname_np to set the thread name, but some #ifdefs can be added
later in order to support other platforms.
Tested on x86-64 Ubuntu 14.04, native and remote.
gdb/testsuite/ChangeLog:
* gdb.threads/names.exp: New file.
* gdb.threads/names.c: New file.
* README: Mention gdb,no_thread_names.
Diffstat (limited to 'bfd/cpu-ia64.c')
0 files changed, 0 insertions, 0 deletions