Bug 230000 - GDB does not disassemble DFP / Power6 instructions
GDB does not disassemble DFP / Power6 instructions
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gdb (Show other bugs)
rawhide
ppc64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Kratochvil
: Reopened
Depends On: 227592
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-25 13:36 EST by Jan Kratochvil
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: gdb-6.6-14.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-28 17:53:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Shell testcase from bauerman@br.ibm.com, requires gcc-4.2/4.3+ (2.49 KB, text/plain)
2007-02-25 13:36 EST, Jan Kratochvil
no flags Details

  None (edit)
Description Jan Kratochvil 2007-02-25 13:36:48 EST
+++ This bug was initially created as a clone of Bug #227592 +++

GDB 6.6 is the first official release to include support for Power6's DFP
(Decimal Floating Point) instructions. DFP is an important feature for Power6 HW. 

IBM Confidential: no 

----- Additional Comments From thiagoju@br.ibm.com (prefers email at
bauerman@br.ibm.com)  2007-01-29 06:15 EDT -------
 
I just attached the testcase for the feature. 

----- Additional Comments From thiagoju@br.ibm.com (prefers email at
bauerman@br.ibm.com)  2007-01-31 19:37 EDT -------
 
Change disassembler to decode any ppc instruction

Hi,

This is the fix I mentioned in comment #6. It is needed even in GDB 6.6 to
make
GDB disassemble Power6 DFP instructions. With this fix, the attached
testcase
passes.

----- Additional Comments From thiagoju@br.ibm.com (prefers email at
bauerman@br.ibm.com)  2007-02-01 05:59 EDT -------
Sorry, I mentioned the wrong URL to the patch submission:

http://www.sourceware.org/ml/gdb-patches/2007-02/msg00000.html 

----- Additional Comments From thiagoju@br.ibm.com (prefers email at
bauerman@br.ibm.com)  2007-02-09 14:07 EDT -------
The patch was accepted upstream yesterday:

http://www.sourceware.org/ml/gdb-patches/2007-02/msg00091.html
Comment 1 Jan Kratochvil 2007-02-25 13:36:48 EST
Created attachment 148760 [details]
Shell testcase from bauerman@br.ibm.com, requires gcc-4.2/4.3+
Comment 2 Jan Kratochvil 2007-02-25 17:08:46 EST
* Sun Feb 25 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-4
- Backport + testcase for PPC Power6/DFP instructions disassembly (BZ 230000).

Provided only a simplified testcase not requiring GCC currently not yet present
even in RawHide.
Comment 3 Jan Kratochvil 2007-04-28 14:25:48 EDT
lan Modra recently made this fix which is necessary to correctly disassemble DFP
instructions.

Here's the submission to upstream:

http://sources.redhat.com/ml/binutils/2007-04/msg00249.html
Comment 4 Jan Kratochvil 2007-04-28 17:53:05 EDT
Comment 3 fix committed to Rawhide:
* Sat Apr 28 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-14
- Fixup for the PPC Power6/DFP instructions disassembly (BZ 230000).

Note You need to log in before you can comment on or make changes to this bug.