Bug 635508 - gdb forgot how to do arithmetic
Summary: gdb forgot how to do arithmetic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 634757
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-20 03:31 UTC by John Reiser
Modified: 2010-09-20 06:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-20 06:43:48 UTC


Attachments (Terms of Use)

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@redhat.com> - 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


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