summaryrefslogtreecommitdiff
path: root/gdb/doc/filter-for-doxygen
blob: 457d088c104da62b1faa2e90f241f19cff2b49b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# This filters GDB source before Doxygen can get confused by it;
# this script is listed in the doxyfile. The output is not very
# pretty, but at least we get output that Doxygen can understand.
#
# $1 is a source file of some kind. The source we wish doxygen to
# process is put on stdout.

# (Adapted from gcc/contrib/filter_gcc_for_doxygen)

dir=`dirname $0`
perl $dir/filter-params.pl < $1
exit 0