aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-01-07 03:41:36 +0100
committerPetr Machata <pmachata@redhat.com>2012-08-29 19:02:07 +0200
commit642626096a694c6af279d25d2b1b2fba5b10ddfb (patch)
tree09bdd3219602049e767831d6370beb9b677aeda0 /proc.c
parentcd972587a4c0d14d764b3d0a43d75f5941db14cc (diff)
downloadltrace-642626096a694c6af279d25d2b1b2fba5b10ddfb.tar.gz
Add backend.h for backend interfaces
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 9a82782..d6937f0 100644
--- a/proc.c
+++ b/proc.c
@@ -1,3 +1,25 @@
+/*
+ * This file is part of ltrace.
+ * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc.
+ * Copyright (C) 2010 Joe Damato
+ * Copyright (C) 1998,2009 Juan Cespedes
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
#include "config.h"
#if defined(HAVE_LIBUNWIND)
@@ -12,9 +34,9 @@
#include <stdlib.h>
#include <assert.h>
-#include "common.h"
#include "breakpoint.h"
#include "proc.h"
+#include "backend.h"
#ifndef ARCH_HAVE_PROCESS_DATA
int