File: without-threads.t

package info (click to toggle)
libdevel-gdb-perl 2.02-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 188 kB
  • sloc: perl: 556; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
use Test::More ;

qx/gdb -v/ or
  plan skip_all => "cannot execute 'gdb', please use -execfile => '/full/path/to/gdb' " ;

plan tests => 4 ;

use_ok('Devel::GDB') ;
my $gdb = new Devel::GDB ( '-params' => '-q', '-use-tty' => '/dev/pts/123' ) ;
ok($gdb) ;
ok(!$gdb->{'-use-threads'}) ;
ok($gdb -> get( 'help')) ;