aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-05-05 00:05:13 +0200
committerPetr Machata <pmachata@redhat.com>2012-05-05 00:10:27 +0200
commit2eb941ddadeec2382a45a1e4e80003dc8abe59d0 (patch)
tree7b21fabe07c79f8f4e21e124327d6a89bbaca223 /proc.c
parent5bddfccaa50aa9de2f58cbe8fa754ded3c7ad2eb (diff)
downloadltrace-2eb941ddadeec2382a45a1e4e80003dc8abe59d0.tar.gz
Drop process_get_entry, which is not useful right now
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/proc.c b/proc.c
index 54afbe0..3e6d5cb 100644
--- a/proc.c
+++ b/proc.c
@@ -104,14 +104,6 @@ process_bare_destroy(struct Process *proc, int was_exec)
static int
process_init_main(struct Process *proc)
{
- target_address_t entry;
- target_address_t interp_bias;
- if (process_get_entry(proc, &entry, &interp_bias) < 0) {
- fprintf(stderr, "Couldn't get entry points of process %d\n",
- proc->pid);
- return -1;
- }
-
if (breakpoints_init(proc) < 0) {
fprintf(stderr, "failed to init breakpoints %d\n",
proc->pid);