summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-22In ppc-lwarx.exp, Dwarf backend may resolve atomic_add's prototypePetr Machata1-4/+4
- in which case the patterns are wrong. Change the pattern to match both cases.
2014-08-22Support for powerpc64 arch ppc64elThierry Fauck7-36/+356
Signed-off-by: Thierry Fauck <thierry@linux.vnet.ibm.com> Add support for ppc64le proc and ELF ABIv2. Provides support for irelative and wchar
2014-08-22I only build the dwarf_prototypes if we have libdwDima Kogan2-3/+9
2014-08-22removed needless castDima Kogan1-1/+1
2014-08-22added forgotten error checking to some ltrace callsDima Kogan1-12/+35
2014-08-22fixed typoDima Kogan1-1/+1
2014-08-22I only explicitly look at sizeof(long) if it differs from sizeof(int)Dima Kogan1-8/+11
If they're the same, checking for both in a switch() is a compile error
2014-08-22style whitespace changesDima Kogan1-25/+25
- * with name, not type - if (blah), not if( blah )
2014-08-22whitespace style changeDima Kogan4-259/+309
- Tabs should be 8 characters. - Lines should be no longer than 80 characters - Pointer star belongs to the variable, not the type - Lines shouldn't be formatted into tables arbitrarily - if and while should get a space before the paren
2014-08-22a bit more debug printingDima Kogan1-0/+1
2014-08-22added a bit more diagnostic printingDima Kogan2-0/+5
2014-08-22fixed memory leaksDima Kogan1-22/+1
Two leaks plugged: 1. value used for array-length 2. prototype return type
2014-08-22fixed prototype memory leakDima Kogan1-27/+18
protolib_add_prototype() makes a copy of the prototype, so allocating a new pointer there was an error
2014-08-22removed notesDima Kogan1-13/+0
2014-08-22removed, commented testing codeDima Kogan1-25/+1
2014-08-22dwarf diagnostic output now controlled by -DDima Kogan1-8/+4
2014-08-22fixed broken diagnostic outputDima Kogan1-5/+5
2014-08-22reworked error and memory handlingDima Kogan1-175/+363
I now longer exit() on the slightest sign of trouble, nor do I leak all my heap memory allocations
2014-08-22unknown pointers now return void*, not voidDima Kogan1-1/+1
2014-08-22DWARF parser now looks for exported typesDima Kogan1-1/+1
I now pass true to protolib_lookup_type(). Thus the user can now define a type in .ltrace.conf, and it would be picked up
2014-08-22renamed type_hash -> type_dieoffset_hashDima Kogan1-30/+30
2014-08-22type_hash is no longer globalDima Kogan1-34/+46
2014-08-22I now read the DWARF data in addition to the .conf filesDima Kogan1-1/+3
Previously if a .conf file for a library was available, the corresponding DWARF data would not be parsed. Now I use one to complement the other
2014-08-22If a functions is defined in a .conf, I do not parse the DWARFDima Kogan1-7/+6
Previously I would parse the DWARF data for such a function, but I wouldn't use the result. Now I don't even parse
2014-08-22types defined in .conf files now take precedence over DWARF typesDima Kogan1-14/+29
2014-08-22style whitespaceDima Kogan1-64/+64
2014-08-22import_DWARF_prototypes() now takes JUST a lib argumentDima Kogan3-5/+11
2014-08-22moved DWARF prototype reading to library_get_prototype()Dima Kogan4-8/+26
2014-08-22updated error message to reflect the new dwfl use caseDima Kogan1-1/+1
2014-08-22whitespaceDima Kogan1-2/+2
2014-08-22Stylistic refactoring. No functional changesDima Kogan1-98/+93
2014-08-22I now import functions using their linkage nameDima Kogan1-1/+14
This is required for C++ methods
2014-08-22enums are no longer assumed to have type 'int'Dima Kogan1-18/+40
2014-08-22reworked attr_numeric() to report failuresDima Kogan1-41/+71
This whole file is thus copyright me
2014-08-22added a disabled stub for complex float supportDima Kogan1-0/+17
2014-08-22a bit more debug printingDima Kogan1-0/+1
2014-08-22style changesDima Kogan2-183/+128
- no spaces in () - hanging braces - no camelCase - collapsed long lines
2014-08-22debug-printing via complain()Dima Kogan1-1/+1
2014-08-22added explicit support for some more typesDima Kogan1-14/+26
- boolean constant - long long double (as void) - variable-length array (assuming len 0) - union (as void) - empty compile units
2014-08-22added some optional debug printingDima Kogan1-1/+11
2014-08-22tree dumping goes to stderrDima Kogan1-9/+9
2014-08-22initial prototypes-from-dwarf implementationDima Kogan4-25/+811
2014-08-22fixed typo: toplevel_format_lens() now uses ptr data when talking about pointersDima Kogan1-1/+1
2014-08-22Fix lookup of prototypes from non-leader threadsPetr Machata2-2/+35
2014-08-22Add a couple TODO itemsPetr Machata1-0/+30
2014-08-22Improve wording on -e, -x, -l in ltrace.1Petr Machata1-9/+16
2014-08-22Add missing #include stdio.hdann frazier2-0/+2
Include stdio.h in files that use fprintf() Signed-off-by: dann frazier <dannf@debian.org>
2014-08-22add missing <stdint.h> includedann frazier1-0/+1
aarch64's fetch.c uses the uintptr_t typedef defined by stdint.h without including it. This doesn't currently cause a build failure because stdint.h is indirectly included via proc.h. Signed-off-by: dann frazier <dannf@debian.org>
2014-08-22Add --config to man, drop -X from options.cPetr Machata2-3/+3
2014-08-22Initialize struct process.e_machine and .e_class for secondary threadsPetr Machata1-3/+5