This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: arm-elf and mips-deb-linux gdb
- From: "Shaun Jackman" <sjackman at gmail dot com>
- To: Niklaus <niklaus at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Thu, 29 Jun 2006 11:07:00 -0600
- Subject: Re: arm-elf and mips-deb-linux gdb
- References: <85e0e3140606240419ge81ab34ubdbf64dc0ee352f0@mail.gmail.com> <20060624132745.GA26555@nevyn.them.org> <85e0e3140606260342m1cb35c83xe1cc0a1873eda427@mail.gmail.com> <85e0e3140606280330i1956b695v2e443ccfcfa71271@mail.gmail.com> <85e0e3140606290332s14bc56d0l375b405f129f55ec@mail.gmail.com>
- Reply-to: "Shaun Jackman" <sjackman at gmail dot com>
On 6/29/06, Niklaus <niklaus@gmail.com> wrote:
...
(gdb) run
Starting program: /home/pro/armenv/bin/first.o
after 2 mins or so i interrupt with a Ctrl-C
Program received signal SIGINT, Interrupt.
0xf26ed660 in ?? ()
(gdb)
Can someone help me with this problem. Daniel(drow at false dot org)
told me i have to use linker scripts. Can anyone tell me which linker
scripts i have to use
Instead of running the program, you might find it more useful to step
instruction-by-instruction and see that it behaves as you'd expect.
Instead of `run', try 'display/i $pc' and 'si', which will display
every instruction before it's executed, and let you see everything
that's happening.
Cheers,
Shaun