diff options
| author | Roland McGrath <[email protected]> | 2006-08-15 01:37:23 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2006-08-15 01:37:23 +0000 |
| commit | a1cee0760dceaeca52aff9498b144978537d5a16 (patch) | |
| tree | 7cb36d6a21c32314cf2c7d140e2083d228cedc7b /libdwfl/find-debuginfo.c | |
| parent | 231c590fbe9d6f3a8e22796ded9c6a378628eb09 (diff) | |
libdwfl/
2006-08-14 Roland McGrath <[email protected]>
* linux-kernel-modules.c (try_kernel_name): If the call to
dwfl_standard_find_debuginfo produces no results, try it again
with NULL as DEBUGLINK_FILE to try *FNAME with .debug suffix.
* find-debuginfo.c (DEFAULT_DEBUGINFO_PATH): Macro moved ...
* libdwflP.h: ... to here.
* linux-kernel-modules.c (try_kernel_name): Skip manual open if it
repeats the first thing dwfl_standard_find_debuginfo will try.
* linux-kernel-modules.c (MODULE_SECT_NAME_LEN): New macro.
(dwfl_linux_kernel_module_section_address): If a /sys file is missing
and the section name is >= MODULE_SECT_NAME_LEN, try truncating the
section name.
Diffstat (limited to 'libdwfl/find-debuginfo.c')
| -rw-r--r-- | libdwfl/find-debuginfo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c index 4baf5fa8..a99fd144 100644 --- a/libdwfl/find-debuginfo.c +++ b/libdwfl/find-debuginfo.c @@ -1,5 +1,5 @@ /* Standard find_debuginfo callback for libdwfl. - Copyright (C) 2005 Red Hat, Inc. + Copyright (C) 2005, 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -54,9 +54,6 @@ #include "system.h" -#define DEFAULT_DEBUGINFO_PATH ":.debug:/usr/lib/debug" - - /* Try to open64 [DIR/][SUBDIR/]DEBUGLINK, return file descriptor or -1. On success, *DEBUGINFO_FILE_NAME has the malloc'd name of the open file. */ static int |
