Bug 637770 - crash on deleting a watchpoint
Summary: crash on deleting a watchpoint
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-27 11:11 UTC by Jan Kratochvil
Modified: 2010-10-05 13:15 UTC (History)
2 users (show)

Fixed In Version: gdb-7.2-16.fc14
Clone Of:
Environment:
Last Closed: 2010-10-05 13:15:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2010-09-27 11:11:58 UTC
echo 'f(){int x=1;x=2;}main(){f();}'|gcc -o 1 -g -x c -;gdb ./1 -nx -ex 'b f' -ex r -ex 'watch x' -ex c -ex 'delete 2'

Old value = 0
New value = 2
0x0000000000400486 in f () at <stdin>:1
1	in <stdin>
Segmentation fault

map_breakpoint_numbers:
+                   /* FUNCTION can be also delete_breakpoint.  */
+                   next_related_b = related_breakpoint->related_breakpoint;
+                   function (related_breakpoint, data);
+                   related_breakpoint = next_related_b;

Comment 1 Fedora Update System 2010-09-28 23:57:42 UTC
gdb-7.2-16.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gdb-7.2-16.fc14

Comment 2 Fedora Update System 2010-09-29 16:57:31 UTC
gdb-7.2-16.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gdb'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gdb-7.2-16.fc14

Comment 3 Fedora Update System 2010-10-05 13:15:16 UTC
gdb-7.2-16.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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