[binutils-gdb] Fix typo in windows-nat.c

Tom Tromey tromey@sourceware.org
Fri Jul 22 17:02:31 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=36da255e7c6a37b17492361d91001e23263c05c6

commit 36da255e7c6a37b17492361d91001e23263c05c6
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri Jul 22 10:56:44 2022 -0600

    Fix typo in windows-nat.c
    
    I noticed a typo in a printf in windows-nat.c.  This fixes it.

Diff:
---
 gdb/windows-nat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index b62d216a7d3..43a2c112db5 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -959,7 +959,7 @@ display_selector (HANDLE thread, DWORD sel)
       gdb_puts (")\n");
       if ((info.HighWord.Bits.Type & 0x10) == 0)
 	gdb_puts("System selector ");
-      gdb_printf ("Priviledge level = %ld. ",
+      gdb_printf ("Privilege level = %ld. ",
 		  (unsigned long) info.HighWord.Bits.Dpl);
       if (info.HighWord.Bits.Granularity)
 	gdb_puts ("Page granular.\n");


More information about the Gdb-cvs mailing list