Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dbgserver: eradicate last vestiges of 'dbgclient*', fix solib visibilitydbgserver.pre20190810 | Frank Ch. Eigler | 2019-08-09 | 2 | -17/+18 |
| | |||||
* | source-file eradication | Frank Ch. Eigler | 2019-08-09 | 3 | -5/+5 |
| | |||||
* | dbgserver: defeat "eu-" program_prefix naming for dbgserver* components | Frank Ch. Eigler | 2019-08-09 | 1 | -0/+5 |
| | | | | They don't overlap binutils names, so no need to prefix. | ||||
* | dbgserver: add man page for dbgserver-find.1 | Frank Ch. Eigler | 2019-08-09 | 4 | -34/+199 |
| | | | | ... with a lot of shared text between it and dbgserver.8 | ||||
* | dbgserver: dist the new man page, or else srpm is incomple | Frank Ch. Eigler | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | dbgserver: add man8 page, tweak webapi | Frank Ch. Eigler | 2019-08-08 | 4 | -8/+176 |
| | | | | | now with a man page! webapi change: /source-file//path.c to /source/path.c | ||||
* | dbgserver-find: don't convert build-id string to bytes | Aaron Merey | 2019-08-07 | 1 | -24/+4 |
| | | | | | dbgserver/dbgserver-find.c: remove build-id string conversion as dbgserver-client can handle hex string build-ids. | ||||
* | dbgserver client: CURLOPT_ACCEPT_ENCODING pass char* instead of long | Aaron Merey | 2019-08-07 | 1 | -1/+1 |
| | | | | | dbgserver/dbgserver-client.c: curl_easy_setopt called with CURLOPT_ACCEPT_ENCODING expects a char* argument and can segfault if passed a long. Replace 1L with "". | ||||
* | dbgserver client: add command-line frontend | Aaron Merey | 2019-08-07 | 2 | -1/+114 |
| | | | | | | | dbgserver/dbgserver-find.c: new command-line frontend for dbgserver. dbgserver/Makefile.am: build dbgserver-find along with dbgserver. config/elfutils.spec.in: add dbgserver-find to the dbgserver-libs package. | ||||
* | dbgserver: add note re. curl_easy_escape() as future source-file caching ↵ | Frank Ch. Eigler | 2019-08-06 | 1 | -0/+3 |
| | | | | name-generator | ||||
* | dbgserver client: add more curl options | Frank Ch. Eigler | 2019-08-06 | 1 | -0/+5 |
| | | | | Enable compression and redirection following, set a user-agent. | ||||
* | dbgserver-client: change names of dbgclient_find_*() to dbgserver_find_*() | Aaron Merey | 2019-08-02 | 3 | -9/+9 |
| | |||||
* | dbgserver client cache: escape '.'s in filenames too, to prevent ↵ | Frank Ch. Eigler | 2019-08-01 | 1 | -1/+1 |
| | | | | path/../path escapes | ||||
* | dbgserver-client: support source-file fetching/caching | Frank Ch. Eigler | 2019-08-01 | 1 | -4/+17 |
| | | | | Uglyish, but rewrite / chars in filename to '#', so cache directories don't get crazy nested | ||||
* | dbgclient: use thread-safe strtok_r() for tokenizing $DBGSERVER_URLS | Frank Ch. Eigler | 2019-08-01 | 1 | -11/+7 |
| | |||||
* | dbgserver client: check for env vars before even creating tmp file / cache ↵ | Frank Ch. Eigler | 2019-08-01 | 1 | -22/+24 |
| | | | | directory | ||||
* | dbgserver client: fix -ENOSYS error case; simplify rmdir cleanup | Frank Ch. Eigler | 2019-08-01 | 1 | -12/+3 |
| | |||||
* | dbgserver client: restore empty-directory cleanup | Frank Ch. Eigler | 2019-08-01 | 1 | -0/+15 |
| | |||||
* | dbgserver client: normal exit to avoid error label chain | Frank Ch. Eigler | 2019-08-01 | 1 | -14/+12 |
| | |||||
* | dbgserver client: tmpfile, simplify, fix error handling paths | Frank Ch. Eigler | 2019-07-31 | 2 | -183/+183 |
| | |||||
* | dbgserver: pass back Last-Modified: response header for all files | Frank Ch. Eigler | 2019-07-31 | 1 | -7/+25 |
| | |||||
* | dbgserver: support -t 0 (never rescan) | Frank Ch. Eigler | 2019-07-30 | 1 | -3/+8 |
| | |||||
* | dbgserver-client: add $DBGSERVER_TIMEOUT env var | Frank Ch. Eigler | 2019-07-30 | 1 | -2/+9 |
| | | | | instead of hardcoding it at 5 | ||||
* | dbgserver: prefer wal logging for sqlite db | Frank Ch. Eigler | 2019-07-30 | 1 | -0/+1 |
| | |||||
* | dbgserver: add path parameter to dbgclient_find_*() | Aaron Merey | 2019-07-29 | 3 | -43/+59 |
| | | | | | | | | | | dbgserver/dbgserver-client.c: add parameter for returning path of file downloaded from server. Some clients may prefer this to an fd. Also call curl init functions after checking whether the cache contains a copy of the target file. dbgserver/dbgserver-client.h: see prev dbgserver/dbgserver.cxx: see prev libdwlf/dwfl_build_id_find_elf.c,find-debuginfo.c: see prev. | ||||
* | dbgserver: add source file indexing & service | Frank Ch. Eigler | 2019-07-28 | 1 | -73/+323 |
| | | | | also: normalize all persistent tables so file names / buildids are not repeatedly stored | ||||
* | dbgserver.txt: retired | Frank Ch. Eigler | 2019-07-25 | 1 | -64/+0 |
| | |||||
* | normalized sqlite | Frank Ch. Eigler | 2019-07-25 | 1 | -35/+128 |
| | |||||
* | dbgserver: as fallback, delegate to upstream dbgserver | Frank Ch. Eigler | 2019-07-20 | 4 | -23/+76 |
| | | | | | Have dbgserver link against its own client library. Fallback to making outbound query, relaying the resulting fd in the cache. | ||||
* | dbgclient: replace custom error codes with errno, modify user api | Aaron Merey | 2019-07-19 | 2 | -95/+114 |
| | | | | | | | | | | | | | | | | | | dbgserver/dbgserver-client.c: Custom error codes replaced with errno. dbgclient_build_id_find() replaced with dbgclient_find_{debuginfo,source,executable}(). Removed dbgclient_enabled(), dbgclient_find_*() now returns -ENOENT if $DBGSERVER_URLS is not defined. dbgclient_query_server() now properly handles GET requests for source files. dgbserver/dbgserver-client.h: Removed enum dbgclient_file_type and custom error codes. dbgclient_build_id_find() declaration replaced with dbgclient_find_{debuginfo,source,executable}(). libdwfl/dwfl_build_id_find_elf.c,find-debuginfo.c: remove dbgclient_enabled(), replace dbgclient_build_id_find with dbgclient_find_{executable,debuginfo}. Signed-off-by: Aaron Merey <amerey@redhat.com> | ||||
* | dbgserver: rework packaging of client into dlopen()'d solib | Frank Ch. Eigler | 2019-07-18 | 6 | -0/+2129 |
so libdw is back to its svelte dependency-free form |