This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/ob] gdb.asm/xstormy16.inc: Fix initial stack address


Hi,

For years there is a single test failing when running the
gdb.asm/asm-source.exp test on XStormy16.  The reason is the initial
value for the stack pointer which clashes with the .data segment.  The
below patch, which I checked in as obvious, fixes the testcase.


Corinna


        * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
        as not to clash with .data section.

Index: gdb.asm/xstormy16.inc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/xstormy16.inc,v
retrieving revision 1.1
diff -u -p -r1.1 xstormy16.inc
--- gdb.asm/xstormy16.inc       13 Dec 2001 13:42:19 -0000      1.1
+++ gdb.asm/xstormy16.inc       26 Jul 2010 12:24:18 -0000
@@ -29,6 +29,6 @@
 
        comment "crt0 startup"
        .macro gdbasm_startup
-       mov r15,#2
+       mov r15,#8
        .endm


-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]