mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
2011-07-20 Pedro Alves <pedro@codesourcery.com>
* tracepoint.c (tracepoint_look_up_symbols): Return upon the first symbol error.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-07-20 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* tracepoint.c (tracepoint_look_up_symbols): Return upon the first
|
||||||
|
symbol error.
|
||||||
|
|
||||||
2011-05-31 Pedro Alves <pedro@codesourcery.com>
|
2011-05-31 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in
|
* linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in
|
||||||
|
@ -320,13 +320,11 @@ maybe_write_ipa_ust_not_loaded (char *buffer)
|
|||||||
void
|
void
|
||||||
tracepoint_look_up_symbols (void)
|
tracepoint_look_up_symbols (void)
|
||||||
{
|
{
|
||||||
int all_ok;
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (all_tracepoint_symbols_looked_up)
|
if (all_tracepoint_symbols_looked_up)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
all_ok = 1;
|
|
||||||
for (i = 0; i < sizeof (symbol_list) / sizeof (symbol_list[0]); i++)
|
for (i = 0; i < sizeof (symbol_list) / sizeof (symbol_list[0]); i++)
|
||||||
{
|
{
|
||||||
CORE_ADDR *addrp =
|
CORE_ADDR *addrp =
|
||||||
@ -336,11 +334,11 @@ tracepoint_look_up_symbols (void)
|
|||||||
{
|
{
|
||||||
if (debug_threads)
|
if (debug_threads)
|
||||||
fprintf (stderr, "symbol `%s' not found\n", symbol_list[i].name);
|
fprintf (stderr, "symbol `%s' not found\n", symbol_list[i].name);
|
||||||
all_ok = 0;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
all_tracepoint_symbols_looked_up = all_ok;
|
all_tracepoint_symbols_looked_up = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user