[1/5] Change `...'-style quoting in gdbsupport
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
Commit Message
This changes spots in gdbsupport that use `...'-style quoting to use
double quotes instead. Some spots also use the `...` style; these are
also changed.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34044
---
gdbsupport/agent.cc | 2 +-
gdbsupport/event-loop.cc | 4 ++--
gdbsupport/format.cc | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
@@ -97,7 +97,7 @@ agent_look_up_symbols (void *arg)
if (find_minimal_symbol_address (symbol_list[i].name, addrp,
objfile) != 0)
{
- DEBUG_AGENT ("symbol `%s' not found\n", symbol_list[i].name);
+ DEBUG_AGENT ("symbol \"%s\" not found\n", symbol_list[i].name);
return -1;
}
}
@@ -521,7 +521,7 @@ handle_file_event (file_handler *file_ptr, int ready_mask)
if (mask & POLLERR)
warning (_("Error detected on fd %d"), file_ptr->fd);
if (mask & POLLNVAL)
- warning (_("Invalid or non-`poll'able fd %d"),
+ warning (_("Invalid or non-\"poll\"able fd %d"),
file_ptr->fd);
file_ptr->error = 1;
}
@@ -546,7 +546,7 @@ handle_file_event (file_handler *file_ptr, int ready_mask)
if (mask != 0)
{
event_loop_ui_debug_printf (file_ptr->is_ui,
- "invoking fd file handler `%s`",
+ "invoking fd file handler \"%s\"",
file_ptr->name.c_str ());
file_ptr->proc (file_ptr->error, file_ptr->client_data);
}
@@ -359,10 +359,10 @@ format_pieces::format_pieces (const char **arg, bool gdb_extensions,
break;
case '*':
- error (_("`*' not supported for precision or width in printf"));
+ error (_("\"*\" not supported for precision or width in printf"));
case 'n':
- error (_("Format specifier `n' not supported in printf"));
+ error (_("Format specifier \"n\" not supported in printf"));
case '\0':
error (_("Incomplete format specifier at end of format string"));