summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-22packaging: update to 0.7.91tizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20140822.120445accepted/tizen/ivi/20140827.105232accepted/tizen/common/20140822.152031tizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonChanho Park2-2/+10
Change-Id: I2e383896f948a19dcd5ba07b8e7f60b6de0c5c74 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-08-22do not error on warningsAnas Nashif2-1/+5
2014-08-22resetting manifest requested domain to floorAlexandru Cornea2-0/+8
2014-08-22 do not depend on dejagnuAnas Nashif1-2/+1
2014-08-22Update to 0.7.2Anas Nashif1-0/+3
2014-08-22Update to 0.7.2Anas Nashif1-15/+8
2014-08-22do not run testsAnas Nashif1-21/+1
2014-08-22clean up specAnas Nashif2-50/+2
2014-08-22demangle lib.cstdlibAnas Nashif1-0/+1
2014-08-22add packagingAnas Nashif3-0/+125
2014-08-22Guard a dwarf_prototypes.h include with a conditionalPetr Machata1-1/+4
- Thanks to Kai Noda for reporting this.
2014-08-22Mention support of powerpc64le ELFv2 in README and NEWSPetr Machata2-0/+3
2014-08-22PowerPC: convert ELFv2 conditionals form preprocessor to plain conditionsPetr Machata2-41/+46
- The reason being that this way, all of the code is exposed all the time, which should make future refactoring easier. There's nothing that needs hiding, no system-specific constants or such.
2014-08-22Fix coding style in PowerPC's arch.hPetr Machata1-16/+18
2014-08-22Fix bugs in fetch backend of powerpc64lePetr Machata1-80/+70
- One bug was in a function that returned a small structure and whose first argument was a pointer that pointed to stack. The old code assumed that meant that the structure was returned by implicit reference instead of in registers. - Another was in passing large HFA's (larger than 8 elements) in arguments, and in returning HFA's.
2014-08-22Recognize powerpc64le in configurePetr Machata1-7/+7
2014-08-22Fix an error path problem introduced in last commitPetr Machata1-1/+1
2014-08-22In config files, allow whitespace between identifier and opening parenPetr Machata2-50/+25
2014-08-22minor whitespace-only style fixDima Kogan2-4/+4
2014-08-22fixed testsuite typos: ltarce -> ltraceDima Kogan11-11/+11
2014-08-22Add a missing license blurbPetr Machata1-0/+19
2014-08-22Normalize some include guardsPetr Machata17-48/+55
2014-08-22Drop uses of #pragma oncePetr Machata2-2/+4
2014-08-22PPC: fix PPC32 buildAlexandre Belloni1-0/+1
Compilation on PPC32 fails because STACK_FRAME_OVERHEAD is never defined in arch.h. Define it to 112 on that platform to restore the same behaviour as before commit eea4ad2cce289753aaa35b4e0258a76d8f8f367c. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2014-08-22Copy struct library.should_activate_latent on clonePetr Machata1-0/+1
- I don't think it makes actual difference, as the only consumer of this symbol is proc_add_library, and that's not called from proc_clone (the clone is done by directly iterating the library list). But the code is more obviously right this way.
2014-08-22Fix cloning of libraries with Dwarf supportPetr Machata1-1/+9
- struct library::dwfl_module was left unitialized after library_clone. Garbage was kept in, which prevented proper initialization later, and resulted in segmentation violation.
2014-08-22I now always build the export listDima Kogan4-29/+46
Previously I only built the export list when tracing with -l. Since I was using this export list to resolve aliased symbols in addition to setting breakpoints, this aliased symbol resolution was only working with -l. I now always build the export list to make aliased symbol resolution always work. I now have a separate variable to control whether we should activate latent symbols or not; previously the existence of the export list was used to make this determination. Furthermore populate_this_symtab() now takes an extra argument to indicate that ONLY the export list should be filled in
2014-08-22un-consted some variables to build with older (<= gcc-4.6) compilersDima Kogan2-8/+8
2014-08-22Made activate_latent_in() iterations much more efficientDima Kogan3-71/+33
Previously activate_latent_in() iterations looked like for(export names in lib1) // hash table iteration { for(symbol names in lib2) // list iteration { if(names equal && libsym->latent) { proc_activate_latent_symbol(proc, libsym) } } } This is inefficient both due to the double iteration but also since iterating over a hash table in slow (have to look through all cells, even empty ones). This patch turns this logic into for(symbol names in lib2) // list iteration { if(name in lib1 export names && libsym->latent) // hash table lookup { proc_activate_latent_symbol(proc, libsym) } } So there's no more double iteration, and the hash iteration was turned into a hash lookup. Much better.
2014-08-22removed needless #includeDima Kogan1-1/+0
2014-08-22library_exported_names_each_alias(), library_exported_names_each() now ↵Dima Kogan4-40/+52
restartable These function now takes a *start_after, and return a pointer to the first failing key, like the other ltrace iterators
2014-08-22added forgotten free(), forgotten returnDima Kogan1-1/+4
2014-08-22clarified some int return code checkingDima Kogan1-6/+6
2014-08-22whitespace 'if(' -> 'if ('Dima Kogan1-14/+14
2014-08-22renamed _dtor_* and _clone_* functions to remove the leading _Dima Kogan1-9/+9
2014-08-22DWARF prototypes are now generated with both the plain and the linkage namesDima Kogan1-13/+35
If a die has a DW_AT_linkage_name, I now use it: this is required for C++ code, in particular. I use the plain name regardless, since sometimes the exported symbol corresponds to the plain name, NOT the linkage name. For instance I see this on my Debian/sid amd64 box. In its libc, the linkage name of __nanosleep is __GI___nanosleep, but the export is __nanosleep
2014-08-22We now use known prototypes for all aliased symbols (same address)Dima Kogan6-76/+346
Some libraries have multiple names for the same function. Prior to this patch, it was possible to define a prototype for a symbol, and not have ltrace use it because it saw a different symbol be called. libc is a common source of this. For instance (on my amd64 Debian box) it defines the nanosleep symbol as both 'nanosleep' and '__GI___nanosleep', at the same address. If a calling library calls '__GI___nanosleep', then an ltrace prototype for 'nanosleep' would not be used, even though it should apply to this call
2014-08-22dict_hash_uint64: do not ignore upper 32 bits of the quantityPetr Machata1-6/+4
2014-08-22added hash and equality functions for uint64_tDima Kogan2-0/+23
The hash function is identical to the 32-bit signed int hash function. This function is unideal for such extended use, but is sufficient for now
2014-08-22added NEWS, CREDITS info about the new DWARF prototyping codeDima Kogan2-0/+7
2014-08-22Added manpage section giving examples of -x, -e and -l usageDima Kogan1-17/+121
2014-08-22Making sure to not double-examine the same DWARF CUDima Kogan6-16/+27
2014-08-22CREDITS update for ppc64el supportThierry Fauck1-0/+4
Signed-off-by: Thierry Fauck <thierry@linux.vnet.ibm.com>
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