Bug 635508

Summary: gdb forgot how to do arithmetic
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: jan.kratochvil, pmuldoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-20 06:43:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 634757    
Bug Blocks:    

Description John Reiser 2010-09-20 03:31:45 UTC
Description of problem: Before, gdb could be used as a calculator, but recently gdb forgot how to do arithmetic.


Version-Release number of selected component (if applicable):
gdb-7.2-4.fc14.x86_64


How reproducible: every time


Steps to Reproduce:
1. gdb    # no arguments
2. (gdb) p 1+2
3.
  
Actual results:
GDB does not (yet) know how to evaluate that kind of expression


Expected results:
$1 = 3

Additional info:

Comment 1 Jan Kratochvil 2010-09-20 06:43:48 UTC
* Sat Sep 18 2010 Jan Kratochvil <jan.kratochvil> - 7.2-6.fc14
 - Temporarily build with -O0 to workaround GCC BZ 634757 (cmove bug). 

https://admin.fedoraproject.org/updates/gdb-7.2-6.fc14