public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Error message uniformity
@ 2023-01-28  3:11 Tom Tromey
  2023-01-30 16:13 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2023-01-28  3:11 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

I found one spot that says "No symbol table loaded", while other spots
say "No symbol table is loaded".  In the interests of unformity, this
patch fixes that one spot.

Tested on x86-64 Fedora 36.
---
 gdb/infcmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index fd88b8ca328..baa771828b1 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -537,7 +537,7 @@ start_command (const char *args, int from_tty)
      minimal symbols for the location where to put the temporary
      breakpoint before starting.  */
   if (!have_minimal_symbols ())
-    error (_("No symbol table loaded.  Use the \"file\" command."));
+    error (_("No symbol table is loaded.  Use the \"file\" command."));
 
   /* Run the program until reaching the main procedure...  */
   run_command_1 (args, from_tty, RUN_STOP_AT_MAIN);
-- 
2.39.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-30 23:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28  3:11 [PATCH] Error message uniformity Tom Tromey
2023-01-30 16:13 ` Simon Marchi
2023-01-30 23:36   ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).