summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* tcf-agent: Update to 1.8.0 releaseMark Hatle2023-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | New 1.8 release of tcf-agent. Implements DWARF 5 support and various bug fixes. Changelog since last SRCREV: Releng: Upversion TCF to 1.8 Fixed possible SEGFAULT after error message queue overflow Fixed misspelling in a comment TCF Agent: update breakpoint error message Fixed regression: possible segfault in run_safe_events() Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V DWARF: a bit faster implementation of dio_ReadAddressX() Bug 581971 - Failed to handle loclist for DWARF 5 Fixed handling of situation when a context resumed or exited during breakpoint evaluation Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero Updated examples/daytime/readme.txt (From OE-Core rev: 1b5b577f1b766ed6f98b6854e6968d4b9b02a45a) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 0c2c7c910fa933bc46f69207f1f7641c1e7b77e0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* tcf-agent: Update to current versionMark Hatle2023-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While there has not been an official release in some time, the latest version fixes a large number of bugs and adds support for Dwarf 5, among other things. (Dwarf 5 is default in gcc 12 and newer.) Short change log since the last version: TCF Agent: Narrow down LoadLibrary search scope TCF Agent: faster breakpoint planting Bug 581214 - Expression evaluation fails for a data member that is defined in a structure, union or class that is of type DW_AT_data_bit_offset attribute (DWARF5) TCF Agent: reduced memory footprint TCF Agent: fixed build error on CygWin: CYGWIN_VERSION_CYGWIN_CONV undefined TCF Agent: workaround for GCC compilation error: function may return address of local variable Bug 581034 - "long long int" data type can't be recognized from dwarf5 debug info generated by llvm15 TCF Agent: Removal of unused variable causing clang-15 build error TCF Agent: fixed: malformed HTTP request can crash the agent TCF Agent: fixed assertion failure in the Breakpoints service TCF Agent: GDB Remote Serial Protocol: fixed handling of process ID 0 Bug 580644 - steps into the function of shared library does not work on PPC TCF Agent: add PowerPC 32-bit and big-endian builds in the Dockerfile TCF Agent: check glibc version when calling pthread_setname_np() Bug 580600 - -Wmisleading-indentation issue for gcc version less than 6.0 Bug 580489 - failed to handle .debug_rnglists section sometimes Bug 580450 - failed to read the full compilation unit tag in dwarf 5 when customized sections Bug 580414 - failed to handle debug sections for DWARF 5 Bug 580326 - Can not display the type of global variable defined in a sharedlib Fixed text formatting in Makefile.inc Bug 580279 - VERSION grep in agent/Makefile.inc need update for vxWorks Bug 580089 - pid2id() failed to get a right id TCF Agent: improved comments TCF Agent: a few more asserts TCF Agent: improved X86 disassembler Bug 580002 - [tcf-dev] Speedup compute_reverse_lookup_indices Bug 579989 - compile error by vs2008 on windows TCF Agent: improved X86 disassembler Bug 579947 - NULL pointer caused the tcf-server crashed when load ELF file that compiled by LLVM 14 with dwarf-5 TCF Agent: fixed Coverity warning TCF Agent: fixed Coverity warning TCF Agent: new function in HTTP server API: closed() call-back Merge "TCF Agent: Fix potential memory/resource leaks" TCF Agent: Fix potential memory/resource leaks TCF Agent: Fix unsafe strcpy TCF Agent: Respect certain ENABLE_* macros Bug 579412 - incorrect or missing copyright information TCF Agent: Lazy PC initialization Bug 579362 - the process IDs should be pid_t instead of UINT32 in waitpid.c and waitpid.h files Bug 579378 - update copyright year to 2022 Bug 579274 - unknown option -Wmisleading-indentation issue for gcc version less than 6.0 TCF Agent: ARM v8 stack crawl: fixed handling of ERET instruction TCF Agent: fixed handling of line info file names when file contains a mix DWARF 5 and DWARF 3 TCF Tests: fixed incorrect error reports in DWARF reader test TCF Agent: disabled bogus warnings misleading-indentation TCF Agent: fixed handling of line info file names in DWARF 5 TCF Agent: Expressions: fixed handling of a static field of a struct stored in a register TCF Agent: fixed error when building with c++-11 TCF Agent: DWARF 5: improved handling of location expressions TCF Agent: DWARF reader: fixed regression - "FORM_FLAG expected" error TCF Agent: DWARF reader: new object flag DOIF_inlined TCF Tests: improved tests of var declarations TCF Agent: fixed regression: memory corruption in the symbols proxy TCF Agent: fixed issues with handling GCC-11 debug info TCF Agent: fixed warning: ISO C90 forbids mixed declarations and code TCF Agent: Fix stack frame cleanup on error TCF Agent: Add missing parentheses Bug 578201 - Sometimes variables show as "N/A - Cannot read target memory. Input/output error" Bug 577936 - dprintf not work as expected TCF Agent: lazy initialization in rand32() TCF Agent: new API function: rand32() TCF Agent: fixed possible buffer overflow when calling fscanf() Bug 577174 - Sometimes variables show as "N/A - Value of register is unknown in the selected frame" Bug 577064 - Union type variables don’t show correctly if based on a register TCF Agent: fixed: tmp_vprintf and loc_vprintf can segfault on Linux Bug 577001 - DW_AT_high_pc with DW_FORM_udata form not handled TCF Agent: fixed pthread_cond_timedwait() on Windows TCF Agent: Expressions service: improved error message (From OE-Core rev: 34a6d0e6b23a42fbec5507ab22a5574ad1d38111) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: cleanup patchesRoss Burton2021-12-081-1/+0
| | | | | | | | | | | | | ldflags.patch isn't really suitable for upstream, so mark inappropriate. fix_ranlib.patch has been rebased into uselessness over time, it's now setting RANLIB to just '$@' which expands to '' when called, so is a null operation. (From OE-Core rev: 726d6d77b4ec6034ba80974dcd291bac9720236d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Move to the latest master versionMark Hatle2021-09-171-2/+1
| | | | | | | | | | | | | There has not been a release since 2018, the 1.7.0 release. A number of recent improvements around thumb and clang debugging prompted this move to a newer version. The patch is no longer necessary as it was a backport patch. (From OE-Core rev: b98c739aa1204ecd842278a6e36a56243bfbc2a5) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day2021-09-071-3/+3
| | | | | | | | | | | Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: fetching over git:// no longer worksAlexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 44a6cd03721b51cbb4e05870375fa347527b0db5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-10/+10
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: change license to EPL/EDLJoe Slater2021-06-121-0/+1
| | | | | | | | | cpudefs-mdep-mux.h contains a proprietary license notice. (From OE-Core rev: 6105678a1255aa41ae9314f4d99c571d2b73186a) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+1
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Fix build on riscv32Khem Raj2021-02-121-0/+1
| | | | | | | | | LCL_STOP_SERVICES needs tcf/cpudefs-mdep.h ported (From OE-Core rev: ed5e0de938469a7fa4e6cd725d9e0c8325d890d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Mangle arch for armebJeremy A. Puhlman2020-02-151-1/+1
| | | | | | | (From OE-Core rev: 1a1d7e94b2e3aaaaf2683123c406651ef590df96) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Add LCL_STOP_SERVICES for powerpc64 LEKhem Raj2020-01-191-0/+1
| | | | | | | | | This is same as PPC64 BE (From OE-Core rev: 119fb36180bbca0c98e9f5e72bb5ab0daf23bfd1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Disable architecture-specific features for ARCAlexey Brodkin2018-11-141-0/+1
| | | | | | | | | | | | There's no support of architecture-specific features for ARC in tcf-agent, so disable non-generic stuff for now. (From OE-Core rev: 49b376b84bcb321eac9787957be2c94ec59e0a95) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Disable non-building features on riscv64Khem Raj2018-09-041-0/+1
| | | | | | | (From OE-Core rev: ef803a2e82a5e33984da830f54ea8261a90819e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: upgrade to 1.7.0Ross Burton2018-07-241-4/+3
| | | | | | | | | | Remove 0001-canonicalize_file_name-is-specific-to-glibc.patch as upstream has integrated musl support. (From OE-Core rev: 4c243b71a0a05acc3b2a8bd327a8c97dcc08d3c5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: update machine setting for aarch64 bigendian buildChunrong Guo2018-01-291-1/+1
| | | | | | | | (From OE-Core rev: af2f545a5fb0a622a2f21ce0912d543529f048c7) Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: latest upstream version is now knownAlexander Kanavin2017-11-091-1/+0
| | | | | | | | | So incorrect acknowledgement of it being unknown can be deleted. (From OE-Core rev: e76874db9599fd23188384db761813ec7e0d7c28) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin2017-08-161-0/+1
| | | | | | | | | | | ... instead of a global exception list which was problematic. [YOCTO #11896] (From OE-Core rev: 89dfede4ca795ba085f1ee7290c6dede573c11db) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: correct CFLAGSJoe Slater2017-06-061-8/+9
| | | | | | | | | | | | Modify CFLAGS for several cases which will not compile otherwise. Do not use the form CFLAGS_x_append because it will replace, not append to CFLAGS for override x. (From OE-Core rev: f8e63dff3eb807b07bd71f0e31f6e0cf18ecdb0c) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: enable default target debugging featuresGernot Hillier2017-05-111-4/+9
| | | | | | | | | | | | | | | | | | A number of features were disabled in OE due to historic problems on ARM. In tcf-agent 1.4, they compile cleanly on all architectures besides mips and libc-musl. These features are required for target debugging with Eclipse Neon, CDT and TCF plugins - for example used by Xilinx Vivado SDK 2016.4. For MIPS and libc-musl, at least re-enable SERVICE_Symbols and SERVICE_LineNumbers which compile cleanly. (From OE-Core rev: b07242cfe4544e99daf0a8d2f7062530e366bfae) Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com> Signed-off-by: Tim Offermann <tim.offermann@siemens.com> Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: fix machine setting for arm64 buildGernot Hillier2017-05-111-1/+1
| | | | | | | | | | | | tcf-agent uses "a64", not "aarch64", see agent/Makefile.inc. This fix allows to re-enable features like SERVICE_Breakpoints and SERVICE_ MemoryMap on arm64. (From OE-Core rev: 60c9b55d2247ca4a5074804eb42189c31d33fcf8) Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com> Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: update to 1.4_neon_bugfix branchTim Orling2016-08-011-3/+3
| | | | | | | | (From OE-Core rev: 3e0de80e8157669803df74a7ff06eea4d3a5d7ff) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Implement canonicalize_file_name() for musl as wellKhem Raj2016-01-241-0/+1
| | | | | | | (From OE-Core rev: 6faa7294ebc4f9897e256cad4b6e16fb56faaab9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split GITTAGREGEX entries into recipe filesAlexander Kanavin2015-12-081-0/+1
| | | | | | | | (From OE-Core rev: 589f5442372a7ab0f8bc40403e1739ce1cdd1cc0) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: obey LDFLAGSChristopher Larson2015-11-251-0/+1
| | | | | | | | | | | This silences a GNU_HASH warning when using external toolchains. The patch is courtesy Abdur Rehman <abdur_rehman@mentor.com>. (From OE-Core rev: 909c77ad13b139478bd1a9eee288604a75d59ee5) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Update to version 1.3Randy Witt2015-07-251-9/+4
| | | | | | | | | | | | | According to the Eclipse tcf team, 1.3 tcf is required for the newest Eclipse release "mars". [YOCTO #7886] (From OE-Core rev: 68135f7777ba4f3238b814da7eb1b5a11efb3ad8) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: add systemd supportChen Qi2014-04-241-1/+7
| | | | | | | | | Add systemd unit file tcf-agent.service. (From OE-Core rev: 1a4feebf98780f586bf2e81cf9844e6805a50799) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi2014-02-021-1/+1
| | | | | | | | | | | | | | | Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. (From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing RDEPENDS of initscripts-functionsChen Qi2014-01-061-1/+1
| | | | | | | | | | | Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. (From OE-Core rev: 6690c12cb1977f6bf93f3eb6d471dbd7db81bf28) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: add init.d/tcf-agent status commandLi Wang2013-11-291-1/+3
| | | | | | | (From OE-Core rev: 5b3c4863665eabf7750ff1bdd975ea1f4772006b) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Use common two-digit sequence numbers for init script linksStefan Herbrechtsmeier2013-05-161-2/+2
| | | | | | | | | | | | The common init script links use two-digit sequence numbers and systemd interprets everything behind the two-digits as service name. This leads to the following failure during boot: Cannot add dependency job for unit 9tcf-agent.service (From OE-Core rev: e29a13bf047ce90e9e1aae953044b9cab85f9aab) Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Use kill instead of killproc to stop agentIoana Grigoropol2013-04-081-1/+1
| | | | | | | | | | | | | | | | When shutting down a core-image-lsb-sdk image, there is a lot of time spend stopping tcf-agent, which slows down the whole process. The reason for this slowdown is the fact that it tries in a loop to kill tcf-agent service by using killproc with the path of the executable and killproc does not seem to available in lsb images. This patch fixes the issue by using "kill" instead of "killproc". [Yocto #3928] (From OE-Core rev: 251361eb78176a04e3da00e0f77b7f3ff459d571) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Don't download epl-v10.html just for LIC_FILES_CHKSUM validationMartin Jansa2013-04-021-6/+1
| | | | | | | | | | | | | | * it's not part of sources, downloading some html from web is not better check then using meta/files/common-licenses/EPL-1.0 * http://www.eclipse.org/org/documents/epl-v10.html was changed, plain text looks the same, but html formating was changed (from MS Word export to valid XHTML 1.0, changing checksums for this new html would cause issues for people with old epl-v10.html already on PREMIRROR, so lets just remove it. (From OE-Core rev: 22bce79652fc753a7b5d536664b744e110b5775a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update proto -> protocol for recipesSaul Wold2012-07-171-1/+1
| | | | | | | (From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Using git repository instead of svn.Lianhao Lu2012-03-221-0/+51
Fixed bug [YOCTO #2152]. (From OE-Core rev: 6c785bcd4368ea49941ec00bc8c34f334a39d8f3) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>