projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify tui_update_source_windows_with_line
[deliverable/binutils-gdb.git]
/
gdb
/
btrace.c
diff --git
a/gdb/btrace.c
b/gdb/btrace.c
index e2443a2d2345103cbaa091172cd3abcc5c511f3d..f6a0643ba172cffe0360c8f0b876b01440df45bf 100644
(file)
--- a/
gdb/btrace.c
+++ b/
gdb/btrace.c
@@
-82,10
+82,10
@@
ftrace_print_function_name (const struct btrace_function *bfun)
sym = bfun->sym;
if (sym != NULL)
sym = bfun->sym;
if (sym != NULL)
- return
SYMBOL_PRINT_NAME (sym
);
+ return
sym->print_name (
);
if (msym != NULL)
if (msym != NULL)
- return
MSYMBOL_PRINT_NAME (msym
);
+ return
msym->print_name (
);
return "<unknown>";
}
return "<unknown>";
}
@@
-197,7
+197,7
@@
ftrace_function_switched (const struct btrace_function *bfun,
/* If the minimal symbol changed, we certainly switched functions. */
if (mfun != NULL && msym != NULL
/* If the minimal symbol changed, we certainly switched functions. */
if (mfun != NULL && msym != NULL
- && strcmp (
MSYMBOL_LINKAGE_NAME (mfun), MSYMBOL_LINKAGE_NAME (msym
)) != 0)
+ && strcmp (
mfun->linkage_name (), msym->linkage_name (
)) != 0)
return 1;
/* If the symbol changed, we certainly switched functions. */
return 1;
/* If the symbol changed, we certainly switched functions. */
@@
-206,7
+206,7
@@
ftrace_function_switched (const struct btrace_function *bfun,
const char *bfname, *fname;
/* Check the function name. */
const char *bfname, *fname;
/* Check the function name. */
- if (strcmp (
SYMBOL_LINKAGE_NAME (fun), SYMBOL_LINKAGE_NAME (sym
)) != 0)
+ if (strcmp (
fun->linkage_name (), sym->linkage_name (
)) != 0)
return 1;
/* Check the location of those functions, as well. */
return 1;
/* Check the location of those functions, as well. */
@@
-926,7
+926,7
@@
ftrace_bridge_gap (struct btrace_thread_info *btinfo,
best_r = NULL;
/* We search the back traces of LHS and RHS for valid connections and connect
best_r = NULL;
/* We search the back traces of LHS and RHS for valid connections and connect
- the two functon segments that give the longest combined back trace. */
+ the two funct
i
on segments that give the longest combined back trace. */
for (cand_l = lhs; cand_l != NULL;
cand_l = ftrace_get_caller (btinfo, cand_l))
for (cand_l = lhs; cand_l != NULL;
cand_l = ftrace_get_caller (btinfo, cand_l))
This page took
0.027073 seconds
and
4
git commands to generate.