History log of /openbsd-current/usr.bin/ctfconv/ctfstrip
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.12 15-Oct-2019 mpi

Include the .SUNW_ctf section in bsd.gdb

Once the section has been built from the DWARF symbols also add it to
the debug kernel. That makes ddb(4) print the correct number of args
in function backtraces in such kernel as well.

While here make comment fit in 80 columns.

ok jasper@


Revision tags: OPENBSD_6_6_BASE
# 1.11 27-May-2019 jca

Use getopts instead of getopt(1)

getopts is a standard shell builtin (POSIX) and lets you handle
whitespace in parameters. ok mpi@ sunil@


Revision tags: OPENBSD_6_5_BASE
# 1.10 18-Feb-2019 sunil

Using getopt(1) is more idiomatic and consistent with other scripts.

Ok mpi@


# 1.9 18-Feb-2019 sunil

Fix in-place stripping by using correct form of parameter substitution.

Ok mpi@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.8 15-Aug-2017 jasper

proper fix for previous and add missing quotes

from tb@
ok visa@ mpi@


# 1.7 14-Aug-2017 jasper

simplify LABEL extraction; from tb@


# 1.6 13-Aug-2017 visa

Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice.

OK mpi@, jasper@


# 1.5 12-Aug-2017 jasper

make this properly portable:
- keep track of the argument inside the for loop to determine INFILE
- replace the builtin [[ with [ and adjust the tests
- use echo instead of the print builtin

from tb@


# 1.4 12-Aug-2017 jasper

fallback to strip(1) in case ctfconv(1) couldn't handle the file (i.e. when
the input file lacks useful debug sections).
adjust option handling accordingly to pass any flags not handled by
ctfstrip(1) down to strip(1).

help and ok mpi@ tb@


# 1.3 11-Aug-2017 jasper

- use mktemp to provide the tempfile name and clean it up properly
- set strict posix mode

ok mpi@


# 1.2 11-Aug-2017 mpi

CVS Id and license.


# 1.1 11-Aug-2017 mpi

Import a tool for generating CTF data section (SUNW_ctf) based on DWARF
information.

ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1)
works like strip(1) but also insert a .SUNW_ctf section inside a binary.

ok deraadt@, kettenis@, jasper@


# 1.11 27-May-2019 jca

Use getopts instead of getopt(1)

getopts is a standard shell builtin (POSIX) and lets you handle
whitespace in parameters. ok mpi@ sunil@


Revision tags: OPENBSD_6_5_BASE
# 1.10 18-Feb-2019 sunil

Using getopt(1) is more idiomatic and consistent with other scripts.

Ok mpi@


# 1.9 18-Feb-2019 sunil

Fix in-place stripping by using correct form of parameter substitution.

Ok mpi@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.8 15-Aug-2017 jasper

proper fix for previous and add missing quotes

from tb@
ok visa@ mpi@


# 1.7 14-Aug-2017 jasper

simplify LABEL extraction; from tb@


# 1.6 13-Aug-2017 visa

Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice.

OK mpi@, jasper@


# 1.5 12-Aug-2017 jasper

make this properly portable:
- keep track of the argument inside the for loop to determine INFILE
- replace the builtin [[ with [ and adjust the tests
- use echo instead of the print builtin

from tb@


# 1.4 12-Aug-2017 jasper

fallback to strip(1) in case ctfconv(1) couldn't handle the file (i.e. when
the input file lacks useful debug sections).
adjust option handling accordingly to pass any flags not handled by
ctfstrip(1) down to strip(1).

help and ok mpi@ tb@


# 1.3 11-Aug-2017 jasper

- use mktemp to provide the tempfile name and clean it up properly
- set strict posix mode

ok mpi@


# 1.2 11-Aug-2017 mpi

CVS Id and license.


# 1.1 11-Aug-2017 mpi

Import a tool for generating CTF data section (SUNW_ctf) based on DWARF
information.

ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1)
works like strip(1) but also insert a .SUNW_ctf section inside a binary.

ok deraadt@, kettenis@, jasper@


# 1.10 18-Feb-2019 sunil

Using getopt(1) is more idiomatic and consistent with other scripts.

Ok mpi@


# 1.9 18-Feb-2019 sunil

Fix in-place stripping by using correct form of parameter substitution.

Ok mpi@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.8 15-Aug-2017 jasper

proper fix for previous and add missing quotes

from tb@
ok visa@ mpi@


# 1.7 14-Aug-2017 jasper

simplify LABEL extraction; from tb@


# 1.6 13-Aug-2017 visa

Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice.

OK mpi@, jasper@


# 1.5 12-Aug-2017 jasper

make this properly portable:
- keep track of the argument inside the for loop to determine INFILE
- replace the builtin [[ with [ and adjust the tests
- use echo instead of the print builtin

from tb@


# 1.4 12-Aug-2017 jasper

fallback to strip(1) in case ctfconv(1) couldn't handle the file (i.e. when
the input file lacks useful debug sections).
adjust option handling accordingly to pass any flags not handled by
ctfstrip(1) down to strip(1).

help and ok mpi@ tb@


# 1.3 11-Aug-2017 jasper

- use mktemp to provide the tempfile name and clean it up properly
- set strict posix mode

ok mpi@


# 1.2 11-Aug-2017 mpi

CVS Id and license.


# 1.1 11-Aug-2017 mpi

Import a tool for generating CTF data section (SUNW_ctf) based on DWARF
information.

ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1)
works like strip(1) but also insert a .SUNW_ctf section inside a binary.

ok deraadt@, kettenis@, jasper@


Revision tags: OPENBSD_6_2_BASE
# 1.8 15-Aug-2017 jasper

proper fix for previous and add missing quotes

from tb@
ok visa@ mpi@


# 1.7 14-Aug-2017 jasper

simplify LABEL extraction; from tb@


# 1.6 13-Aug-2017 visa

Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice.

OK mpi@, jasper@


# 1.5 12-Aug-2017 jasper

make this properly portable:
- keep track of the argument inside the for loop to determine INFILE
- replace the builtin [[ with [ and adjust the tests
- use echo instead of the print builtin

from tb@


# 1.4 12-Aug-2017 jasper

fallback to strip(1) in case ctfconv(1) couldn't handle the file (i.e. when
the input file lacks useful debug sections).
adjust option handling accordingly to pass any flags not handled by
ctfstrip(1) down to strip(1).

help and ok mpi@ tb@


# 1.3 11-Aug-2017 jasper

- use mktemp to provide the tempfile name and clean it up properly
- set strict posix mode

ok mpi@


# 1.2 11-Aug-2017 mpi

CVS Id and license.


# 1.1 11-Aug-2017 mpi

Import a tool for generating CTF data section (SUNW_ctf) based on DWARF
information.

ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1)
works like strip(1) but also insert a .SUNW_ctf section inside a binary.

ok deraadt@, kettenis@, jasper@