opensuse:ptools.git
9 years agoRename testcase to plinkmap
Jan Blunck [Fri, 7 Nov 2008 13:18:21 +0000 (14:18 +0100)]
Rename testcase to plinkmap

This tools prints the struct link_map of ifself and parses the dynamic
segments of the loaded shared objects.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoAdd --vdso command line option
Jan Blunck [Fri, 7 Nov 2008 12:58:59 +0000 (13:58 +0100)]
Add --vdso command line option

This patch adds support to print the buildid of the vDSO if it exists.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoAdd --kernel command line option
Jan Blunck [Thu, 6 Nov 2008 17:48:16 +0000 (18:48 +0100)]
Add --kernel command line option

This patch adds support to print the build id of the current running
kernel.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoDon't build pstack and libproc_service
Jan Blunck [Thu, 6 Nov 2008 13:33:41 +0000 (14:33 +0100)]
Don't build pstack and libproc_service

Since there are 32/64bit issues with the symbol table code this is
temporarily disabled.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoCleanup autotools configuration
Jan Blunck [Thu, 6 Nov 2008 12:34:22 +0000 (13:34 +0100)]
Cleanup autotools configuration

This are some necessary cleanups to build the package in the openSUSE
buildservice.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoRename package to ptools
Jan Blunck [Thu, 6 Nov 2008 11:11:14 +0000 (12:11 +0100)]
Rename package to ptools

There are more tools here than just (the not yet working) pstack.
Therefore rename the package.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoAdd support for elf executables
Jan Blunck [Thu, 6 Nov 2008 10:53:15 +0000 (11:53 +0100)]
Add support for elf executables

This patch adds support for printing the build-id of elf executables. This
includes support for statically linked executables.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoCreate config directory in bootstrap.sh
Jan Blunck [Thu, 6 Nov 2008 09:54:19 +0000 (10:54 +0100)]
Create config directory in bootstrap.sh

Otherwise the autotools are complaining.

Signed-off-by: Jan Blunck <jblunck@suse.de>
9 years agoAdd pbuildid tool
Jan Blunck [Thu, 6 Nov 2008 09:53:46 +0000 (10:53 +0100)]
Add pbuildid tool

This tool prints the build-id's from core files to stdout,

Signed-off-by: Jan Blunck <jblunck@suse.de>
10 years agoEmpty stub for proc_service /proc interface
Jan Blunck [Tue, 19 Feb 2008 10:37:44 +0000 (11:37 +0100)]
Empty stub for proc_service /proc interface

Example of how to read auxv via the /proc filesystem.

10 years agoIntroduce 32/64bit macros to use the same code on both platforms
Jan Blunck [Wed, 6 Feb 2008 21:36:17 +0000 (22:36 +0100)]
Introduce 32/64bit macros to use the same code on both platforms

First try to get the elf symbol code 32/64bit clean.

10 years agoStart rewrite pstack with libproc_service
Jan Blunck [Wed, 6 Feb 2008 19:32:10 +0000 (20:32 +0100)]
Start rewrite pstack with libproc_service

Started to rewrite the existing pstack with the proc_service interface. This
commit adds reading the dynamic section of the executable. Parsing the whole
link_map will follow later.

10 years agoAdded everything to make libthread_db actually link
Jan Blunck [Tue, 5 Feb 2008 22:33:23 +0000 (23:33 +0100)]
Added everything to make libthread_db actually link

Added everything to make libthread_db link. Although the symbol table reading
is missing therefore initialization fails.

10 years agoAdded autotools build system
Jan Blunck [Mon, 4 Feb 2008 21:04:09 +0000 (22:04 +0100)]
Added autotools build system

This is the inital version of the autotools buildsystem for pstack and
libproc.

10 years agoMoved symbol table Implementation to libproc
Jan Blunck [Mon, 4 Feb 2008 14:17:10 +0000 (15:17 +0100)]
Moved symbol table Implementation to libproc

The symbol table implementation from pstack is now a part of libproc. The code
is still native dwarf only. So you can't load cores from another arch
e.g. 32bit on 64bit Intel.

10 years agoMinimal proc_service Implementation
Jan Blunck [Mon, 4 Feb 2008 11:22:38 +0000 (12:22 +0100)]
Minimal proc_service Implementation

This is the beginning of a minimal proc_service implementation for new pstack
implementation for Linux. The proc_service.h itself is taken from the glibc.

10 years agoAdd debug code to linkmap reading code
Jan Blunck [Mon, 4 Feb 2008 09:47:08 +0000 (10:47 +0100)]
Add debug code to linkmap reading code

Add some debug output code to linkmap reading code. Also fills the l_ld record
in  the linkmap now.

10 years agoFix OFFSET() macro
Jan Blunck [Tue, 29 Jan 2008 20:19:13 +0000 (21:19 +0100)]
Fix OFFSET() macro

offsetof() should be used instead of the home brewed version.

10 years agoAdd debian patch
Jan Blunck [Tue, 29 Jan 2008 20:10:12 +0000 (21:10 +0100)]
Add debian patch

10 years agoInitial commit
Jan Blunck [Tue, 29 Jan 2008 20:09:13 +0000 (21:09 +0100)]
Initial commit