This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How do I examine the FPU/MMX registers?


> 
> Hello,
> 
> My apologies if this is a poor question.  I have made the obiligatory
> search in the list archives for information.  Now to the crux of the
> matter...
> 
> While debugging my MMX code in gdb, I've tried using 'info registers'
> and 'info all-registers'.  No luck.  I've tried using 'info float',
> but I get this:
> 
>    (gdb) info float
>    No floating point info available for this processor.
> 
> gdb -version gives:
> 
>    GNU gdb 4.18
>    Copyright 1998 Free Software Foundation, Inc.
>    GDB is free software, covered by the GNU General Public License, and
> you are
>    welcome to change it and/or distribute copies of it under certain
> conditions.
>    Type "show copying" to see the conditions.
>    There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
>    This GDB was configured as "i386-mandrake-linux".
> 
> I'm using Mandrake Linux, 6.1 on a dual Pentium II.
> 
> Any thoughts here?  Is there a version of gdb I can download which
> will "work" for me?  I noticed the recent conversations on this
> (H. J. Lu, et al), is there a specially patched gdb for Linux/x86
> I should get?
> 

Try gdb 4.17.0.14 at

ftp://ftp.valinux.com/pub/support/hjl/gdb

Please keep in mind that, as Mark pointed out, the FPU display format
will be changed in the next official gdb release.

-- 
H.J. Lu (hjl@gnu.org)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]