This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Typo bug in i387-tdep.c ?
- To: muller at cerbere dot u-strasbg dot fr
- Subject: Re: [RFC] Typo bug in i387-tdep.c ?
- From: Mark Kettenis <kettenis at science dot uva dot nl>
- Date: Fri, 9 Mar 2001 17:18:35 +0100 (MET)
- CC: gdb at sourceware dot cygnus dot com
- References: <4.2.0.58.20010309161829.00d15c40@ics.u-strasbg.fr>
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