This is the mail archive of the gdb@sources.redhat.com 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]

Re: Using gdb with JEENI


Jeremy Lin wrote:
> 
> Hi,
> I updated to the newest version of Cygwin(1.1.7).
> Now it works fine. I can single step it.
> Thanks!
> 
> Jeremy
> 


Thank you for letting us know.  If someone else runs into the same
problem they can look at the list archives and figure what to do.


Regards,
Fernando



> --- Fernando Nasser <fnasser@cygnus.com> wrote:
> > Jeremy Lin wrote:
> > >
> > > It is cygwin 1.1, I installed in in August 2000.
> > > Thanks!
> > >
> >
> > Jeremy,
> >
> > I am not completely sure about this specific Cygwin version, but people have
> > been getting good results with more recent versions.  Maybe you should
> > try upgrading to a recent Cygwin snapshot.
> >
> > Fernando
> >
> >
> > > Jeremy Lin
> > >
> > > --- Fernando Nasser <fnasser@cygnus.com> wrote:
> > > > Which version of Cygwin are you using?
> > > >
> > > > Jeremy Lin wrote:
> > > > >
> > > > > I have a problem using JEENI with GDB 5.0 debugging.
> > > > > JEENI FirmwareVersion:2.0
> > > > > Connected via serial port and RDI(tar rdi s=com2),
> > > > > I'm doing the eCos porting to our customize board based on
> > > > > Samsung KS32C50100 (ARM7TDMI core). Right now I'm debugging
> > > > > the ROM image which initialize the board. The problem is, for example,
> > > > > here is a sample instructions of the ROM image dump by gnu objdump:
> > > > > 00008060 <reset_vector>:
> > > > >     8060:       e59f0458        ldr     r0, [pc, #458]
> > > > >     8064:       e5800000        str     r0, [r0]
> > > > >
> > > > > 00008068 <warm_reset>:
> > > > >     8068:       e3a00000        mov     r0, #0  ; 0x0
> > > > >     806c:       e5800040        str     r0, [r0, #64]
> > > > >     8070:       e59f144c        ldr     r1, [pc, #44c]
> > > > >     8074:       e5912008        ldr     r2, [r1, #8]
> > > > >     8078:       e5802008        str     r2, [r0, #8]
> > > > >     807c:       e5912040        ldr     r2, [r1, #64]
> > > > >     8080:       e5802028        str     r2, [r0, #40]
> > > > >     8084:       ef000000        swi     0x00000000
> > > > >
> > > > > when I set a breakpoint"b *0x8070" then "continue", it breaks
> > > > > normally. But after that I type "stepi" to run next instruction.
> > > > > This message comes out and gdb was terminated:
> > > > >
> > > > > 0 [main] arm-elf-gdb 1003 handle_exceptions: Exception: \
> > > > > STATUS_ACCESS_VIOLATION
> > > > > 21532 [main] arm-elf-gdb 1003 stackdump: Dumping stack trace to
> > > > > arm-elf-gdb.exe.stack.dump
> > > > > Segmentation fault (core dump)
> > > > >
> > > > > This happens also when I set the 2nd breakpoint (for example, at
> > 0x8080)
> > > > and
> > > > > enter "continue". So I can only set one breakpoint at a time...
> > > > > Does any one have the same problem?
> > > > >
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Get email at your own domain with Yahoo! Mail.
> > > > > http://personal.mail.yahoo.com/
> > > >
> > > > --
> > > > Fernando Nasser
> > > > Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
> > > > 2323 Yonge Street, Suite #300
> > > > Toronto, Ontario   M4P 2C9
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email at your own domain with Yahoo! Mail.
> > > http://personal.mail.yahoo.com/
> >
> > --
> > Fernando Nasser
> > Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
> > 2323 Yonge Street, Suite #300
> > Toronto, Ontario   M4P 2C9
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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