[RFC] Typo bug in i387-tdep.c ?
Mark Kettenis
kettenis@science.uva.nl
Wed Mar 21 15:59:00 GMT 2001
Date: Fri, 09 Mar 2001 16:32:49 +0100
From: Pierre Muller <muller@cerbere.u-strasbg.fr>
From
/* Print the status word STATUS. */
static void
print_i387_status_word (unsigned int status)
{
....
puts_filtered (" ");
printf_filtered (" %s", (status & 0x0080) ? "ES" : " ");
puts_filtered (" ");
printf_filtered (" %s", (status & 0x0080) ? "SF" : " ");
puts_filtered (" ");
I assume thatr one of these two constants should be 0x0040,
unless there is here some subtility that I didn't catch
(but anyhow why would we want to print it out twice !)
I checked in a fix. The acronyms are defined in the Intel processor
manuals (ES = Exception Summary, SF = Stack Fault).
Thanks for the report.
Mark
More information about the Gdb
mailing list