summaryrefslogtreecommitdiff
path: root/patches/gdb/6.8/130-reg-no-longer-active.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:28:45 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:28:45 (GMT)
commit76b124a4d6a9ab0d567bd5f6a43dd235170086cf (patch)
tree5c0164b64172abf32934accf46234e11aae0cecc /patches/gdb/6.8/130-reg-no-longer-active.patch
parent77436f025f7e0b494a81d257fb8d7ce62858c3be (diff)
debug/gdb: rename patch directories
Missed renaming the patch directories after the version renames... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/gdb/6.8/130-reg-no-longer-active.patch')
-rw-r--r--patches/gdb/6.8/130-reg-no-longer-active.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/patches/gdb/6.8/130-reg-no-longer-active.patch b/patches/gdb/6.8/130-reg-no-longer-active.patch
deleted file mode 100644
index 1c7e7e0..0000000
--- a/patches/gdb/6.8/130-reg-no-longer-active.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix bug reported by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
-See: http://sourceware.org/ml/crossgcc/2009-05/msg00055.html
- https://bugzilla.redhat.com/show_bug.cgi?id=436037
-
-Fix from: http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1
-
-diff -d -urpN src.0/gdb/valops.c src.1/gdb/valops.c
---- src.0/gdb/valops.c 2008-07-27 04:00:03.000000000 +0200
-+++ src.1/gdb/valops.c 2008-07-31 15:17:42.000000000 +0200
-@@ -813,10 +813,18 @@ value_assign (struct value *toval, struc
- struct frame_info *frame;
- int value_reg;
-
-- /* Figure out which frame this is in currently. */
-- frame = frame_find_by_id (VALUE_FRAME_ID (toval));
- value_reg = VALUE_REGNUM (toval);
-
-+ /* Figure out which frame this is in currently. */
-+ frame = frame_find_by_id (VALUE_FRAME_ID (toval));
-+ /* "set $reg+=1" should work on programs with no debug info,
-+ but frame_find_by_id returns NULL here (RH bug 436037).
-+ Use current frame, it represents CPU state in this case.
-+ If frame_find_by_id is changed to do it internally
-+ (it is contemplated there), remove this. */
-+ if (!frame)
-+ frame = get_current_frame ();
-+ /* Probably never happens. */
- if (!frame)
- error (_("Value being assigned to is no longer active."));
-