Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-02-11 22:05:04 -0500
committerEugene Tarassov2014-02-11 22:05:04 -0500
commit429d37631a89e6575ff162ea11dcfc943b61cd6f (patch)
treed4ee1ba65d6a1dd50d2d65d195d863624f00260e
parent5be368395c6e3baee25c49d6208a84ef76cdaf4c (diff)
downloadorg.eclipse.tcf.agent-429d37631a89e6575ff162ea11dcfc943b61cd6f.tar.gz
org.eclipse.tcf.agent-429d37631a89e6575ff162ea11dcfc943b61cd6f.tar.xz
org.eclipse.tcf.agent-429d37631a89e6575ff162ea11dcfc943b61cd6f.zip
TCF Agent: fixed misspelling: DZW -> DWZ
-rw-r--r--agent/tcf/services/dwarfcache.c6
-rw-r--r--agent/tcf/services/dwarfio.c2
-rw-r--r--agent/tcf/services/tcf_elf.c3
3 files changed, 6 insertions, 5 deletions
diff --git a/agent/tcf/services/dwarfcache.c b/agent/tcf/services/dwarfcache.c
index 6694066a..e02147fe 100644
--- a/agent/tcf/services/dwarfcache.c
+++ b/agent/tcf/services/dwarfcache.c
@@ -191,9 +191,9 @@ static ObjectInfo * find_loaded_object(DWARFCache * Cache, ContextAddress ID) {
static ObjectInfo * find_alt_object_info(ContextAddress ID) {
ObjectInfo * Info = NULL;
ELF_File * File = sCache->mFile;
- if (File->dwz_file == NULL) str_exception(errno, "Cannot open DZW file");
+ if (File->dwz_file == NULL) str_exception(errno, "Cannot open DWZ file");
Info = find_loaded_object(get_dwarf_cache(File->dwz_file), ID);
- if (Info == NULL) str_exception(errno, "Invalid DZW file reference");
+ if (Info == NULL) str_exception(errno, "Invalid DWZ file reference");
return Info;
}
@@ -1728,7 +1728,7 @@ DWARFCache * get_dwarf_cache(ELF_File * file) {
if (file->dwz_file_name != NULL) {
file->dwz_file = elf_open(file->dwz_file_name);
if (file->dwz_file == NULL) {
- str_exception(errno, "Cannot open DZW file");
+ str_exception(errno, "Cannot open DWZ file");
}
file->dwz_file->lock_cnt++;
get_dwarf_cache(file->dwz_file);
diff --git a/agent/tcf/services/dwarfio.c b/agent/tcf/services/dwarfio.c
index 2e564b3d..503bf593 100644
--- a/agent/tcf/services/dwarfio.c
+++ b/agent/tcf/services/dwarfio.c
@@ -328,7 +328,7 @@ static U1_T * dio_LoadStringTable(ELF_File * File, U4_T * StringTableSize) {
static U1_T * dio_LoadAltStringTable(ELF_File * File, U4_T * StringTableSize) {
if (File->dwz_file == NULL) {
- str_exception(errno, "Cannot open DZW file");
+ str_exception(errno, "Cannot open DWZ file");
}
return dio_LoadStringTable(File->dwz_file, StringTableSize);
}
diff --git a/agent/tcf/services/tcf_elf.c b/agent/tcf/services/tcf_elf.c
index e3cdc43b..aa91b5d7 100644
--- a/agent/tcf/services/tcf_elf.c
+++ b/agent/tcf/services/tcf_elf.c
@@ -498,6 +498,7 @@ static char * get_dwz_file_name(ELF_File * file, int * error) {
lnm = apply_path_map(NULL, NULL, lnm, PATH_MAP_TO_LOCAL);
#endif
if (stat(lnm, &buf) == 0) return loc_strdup(lnm);
+ trace(LOG_ALWAYS, "Cannot open DWZ file: %s", lnm);
}
}
}
@@ -901,7 +902,7 @@ static ELF_File * create_elf_cache(const char * file_name) {
}
if (error == 0) {
file->dwz_file_name = get_dwz_file_name(file, &error);
- if (file->dwz_file_name) trace(LOG_ELF, "DZW file found %s", file->dwz_file_name);
+ if (file->dwz_file_name) trace(LOG_ELF, "DWZ file found %s", file->dwz_file_name);
}
if (error != 0) {
trace(LOG_ELF, "Error opening ELF file: %d %s", error, errno_to_str(error));

Back to the top