Skip to content
Snippets Groups Projects
Commit 439eb8de authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

remove script/ directory and move it's content to extra/

parent d28c0fef
No related branches found
No related tags found
No related merge requests found
add_custom_target(www-data ALL
COMMAND ${PROJECT_SOURCE_DIR}/scripts/static.py
COMMAND ${PROJECT_SOURCE_DIR}/extra/static.py
--source-path ${PROJECT_SOURCE_DIR}/doc/www-data.in
--output-path ${PROJECT_BINARY_DIR}/doc/www-data)
File moved
#!/usr/bin/perl -s
use strict;
use warnings;
use IPC::Open2 qw/open2/;
our ($exe);
die "$0: no valid -exe given" unless -f $exe;
our($out, $in);
my $addr2line_pid = open2($in, $out, qw/addr2line -f -e/, $exe) or die "can't spawn addr2line: $!";
sub addr_to_name {
my ($f) = @_;
print $out "$f\n";
my $name = <$in>;
my $junk = <$in>;
chomp $name;
return $name;
}
while (<>) {
chomp;
next unless /(.*)(E|X)(0x\w+)/;
my $f = addr_to_name($3);
print "$1$2 $f\n";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment