mirror of
https://github.com/davea42/libdwarf-code.git
synced 2025-10-23 01:37:53 +08:00

BLD BLDLIBDWARF BLDTESTDIR CREATINGARELEASE Makefile.in README UPDATEDWARFDUMPVERSION.sh configure (regenerated) configure.in dwarfdump2/NEWS This adds improved error reporting in case of major libdwarf error. dwarfgen/createirepfrombinary.cc These are not normally used, but they enable simple tests of the malloc-fail case. dwarfgen/TESTmallocfail dwarfgen/fakemalloc.c These implement and document new handling of malloc-space-exhausted special case for Dwarf_Error. Using a global. This has no effect on any client code, it just enables sensible reports (from libdwarf) in case the malloc arena exhausted. libdwarf/dwarf_alloc.c libdwarf/dwarf_error.c libdwarf/dwarf_error.h libdwarf/libdwarf.h.in Document malloc-fail special case error handling. libdwarf/libdwarf2.1.mm Regenerated: v 2.23 libdwarf/libdwarf2.1.pdf
20 lines
484 B
Bash
20 lines
484 B
Bash
# Do not turn on -x here. it will screw things up!
|
|
x=`date |tr '\n' ' '`
|
|
cat > UPD.awk <<\EOF
|
|
BEGIN {
|
|
if (ARGC <= 2) {
|
|
print "Bogus use of awk file, requires arg"
|
|
exit 1
|
|
} else {
|
|
v=ARGV[1]
|
|
ARGV[1]=""
|
|
}
|
|
}
|
|
$0 ~ /#define DWARFDUMP_VERSION/ { print $1, $2, "\"",v,"\"" }
|
|
$0 !~ /^#define DWARFDUMP_VERSION/ { print $0 }
|
|
EOF
|
|
awk -f UPD.awk "$x" dwarfdump/dwarfdump.c >t
|
|
mv t dwarfdump/dwarfdump.c
|
|
awk -f UPD.awk "$x" dwarfdump/common.c >t
|
|
mv t dwarfdump/common.c
|