+2006-02-22 Roland McGrath <roland@redhat.com>
+
+ * libdw.map: Bump to 0.120; export dwfl_version.
+
2005-12-22 Roland McGrath <roland@redhat.com>
* libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report.
ELFUTILS_0 { };
-ELFUTILS_0.119 {
+ELFUTILS_0.120 {
global:
dwarf_abbrevhaschildren;
dwarf_addrdie;
dwfl_report_offline;
dwfl_standard_argp;
dwfl_standard_find_debuginfo;
+ dwfl_version;
local:
*;
2006-02-26 Roland McGrath <roland@redhat.com>
+ * dwfl_version.c: New file.
+ * Makefile.am (libdwfl_a_SOURCES): Add it.
+ * libdwfl.h: Declare dwfl_version.
+
* offline.c (dwfl_report_offline): Account for dwfl_report_elf having
aligned up from DWFL->offline_next_address when checking for overlap.
##
## Process this file with automake to create Makefile.in
##
-## Copyright (C) 2005 Red Hat, Inc.
+## Copyright (C) 2005, 2006 Red Hat, Inc.
##
## This program is Open Source software; you can redistribute it and/or
## modify it under the terms of the Open Software License version 1.0 as
euincludedir = ${includedir}/elfutils
euinclude_HEADERS = libdwfl.h
-libdwfl_a_SOURCES = dwfl_begin.c dwfl_end.c dwfl_error.c \
+libdwfl_a_SOURCES = dwfl_begin.c dwfl_end.c dwfl_error.c dwfl_version.c \
dwfl_module.c dwfl_report_elf.c relocate.c \
derelocate.c offline.c \
dwfl_module_info.c dwfl_getmodules.c \
--- /dev/null
+/* Return implementation's version string suitable for printing.
+ Copyright (C) 2006 Red Hat, Inc.
+
+ This program is Open Source software; you can redistribute it and/or
+ modify it under the terms of the Open Software License version 1.0 as
+ published by the Open Source Initiative.
+
+ You should have received a copy of the Open Software License along
+ with this program; if not, you may obtain a copy of the Open Software
+ License version 1.0 from http://www.opensource.org/licenses/osl.php or
+ by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
+ 3001 King Ranch Road, Ukiah, CA 95482. */
+
+#include "libdwflP.h"
+
+const char *
+dwfl_version (dwfl)
+ Dwfl *dwfl __attribute__ ((unused));
+{
+ return PACKAGE_STRING;
+}
/* Interfaces for libdwfl.
- Copyright (C) 2005 Red Hat, Inc.
+ Copyright (C) 2005, 2006 Red Hat, Inc.
This program is Open Source software; you can redistribute it and/or
modify it under the terms of the Open Software License version 1.0 as
/* End a session. */
extern void dwfl_end (Dwfl *);
+/* Return implementation's version string suitable for printing. */
+extern const char *dwfl_version (Dwfl *);
+
/* Return error code of last failing function call. This value is kept
separately for each thread. */
extern int dwfl_errno (void);