This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ia64-tdep.c ChangeLog
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 28 Sep 2009 23:54:02 -0000
- Subject: src/gdb ia64-tdep.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2009-09-28 23:54:02
Modified files:
gdb : ia64-tdep.c ChangeLog
Log message:
Fix ia64 breakpoints in the L-X slot.
* ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
New variable shadow_slotnum, use it appropriately instead of slotnum.
Move shadow_len initialization before SLOTNUM adjustment, cover now the
whole remaining bundle. Error now on breakpoints requested for the
slot 2 of L-X bundles. Better sanity check the requested slot 1 of L-X
bundles.
(ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
appropriately instead of slotnum. Warn now on breakpoints requested
for the slot 2 of L-X bundles. Better sanity check the requested slot
1 of L-X bundles. Update the assertio check of PLACED_SIZE.
(ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
appropriately instead of slotnum. Move *lenptr initialization before
SLOTNUM adjustment, cover now the whole remaining bundle. Error now
on breakpoints requested for the slot 2 of L-X bundles. Better sanity
check the requested slot 1 of L-X bundles. Simplify the returned
expression.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ia64-tdep.c.diff?cvsroot=src&r1=1.201&r2=1.202
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10916&r2=1.10917