public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Debug session
@ 2004-09-12 19:07 Xavier
  2004-09-13  2:14 ` [ECOS] Redboot Server address problem Vijay Jayaraman
  0 siblings, 1 reply; 15+ messages in thread
From: Xavier @ 2004-09-12 19:07 UTC (permalink / raw)
  To: ecos-discuss


arm-elf-gdb redboot.elf
GNU gdb 5.3 (eCosCentric)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(gdb) target rdi /dev/ttyS0
JEENI (ADP, ARM7TDI) Rev 2.0
Rebuilt on Oct 18 1999 at 18:31:13
SN=0101J107 ENET=00:80:CF:00:0C:68 IP=192.168.72.88 (255.255.255.0)
Serial Rate:   9600
Connected to ARM RDI target.
(gdb) list set_debug_comm
255
256         CYG_ASSERT(__comm_id >= CYGNUM_CALL_IF_SET_COMM_ID_MANGLER
257                    && __comm_id < CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS,
258                    "Invalid channel");
259
260         switch (__comm_id) {
261         case CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT:
262             if (__selected_id > 0)
263                 res = __selected_id-1;
264             else if (__selected_id == 0)
(gdb) list 271
266             else
267                 res = __selected_id;
268             break;
269
270         case CYGNUM_CALL_IF_SET_COMM_ID_EMPTY:
271             CYGACC_CALL_IF_DEBUG_PROCS_SET(0);
272             __selected_id = __comm_id;
273             break;
274
275         case CYGNUM_CALL_IF_SET_COMM_ID_MANGLER:
(gdb) break 271
Breakpoint 1 at 0x5764: file /usr/local/ecos/ecos-2.0/packages/hal/common/v2_0/src/hal_if.c, line 271.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/xavier/project/ecos/lpc2294/redboot.elf

Breakpoint 1, set_debug_comm (__comm_id=-536707060)
    at /usr/local/ecos/ecos-2.0/packages/hal/common/v2_0/src/hal_if.c:271
271             CYGACC_CALL_IF_DEBUG_PROCS_SET(0);
(gdb) info local
__selected_id = 22356
__chan = (volatile CYG_ADDRWORD (*)[8]) 0x84
interrupt_state = -2130696852
res = 252
update = 16
(gdb) step
272             __selected_id = __comm_id;
(gdb) info local
__selected_id = 22356
__chan = (volatile CYG_ADDRWORD (*)[8]) 0x40000070
interrupt_state = -2130696852
res = 252
update = 16
(gdb) step
RDI_setbreak: data abort, no memory at specified address?
RDI_execute: prefetch abort, execution ran into unmapped memory?
RDI_read: data abort, no memory at specified address?
RDI_read: data abort, no memory at specified address?
Error accessing memory address 0xfffffffe: Resource temporarily unavailable.
RDI_setbreak: data abort, no memory at specified address?
Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0x5e20: Input/output error.
The same program may be running in another process.
(gdb)

Any suggestions as to which way to go from here?


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-09-15  9:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-12 19:07 [ECOS] Debug session Xavier
2004-09-13  2:14 ` [ECOS] Redboot Server address problem Vijay Jayaraman
2004-09-13  2:20   ` [ECOS] Redboot make tests fails Vijay Jayaraman
2004-09-13  6:39     ` Andrew Lunn
2004-09-13  6:38   ` [ECOS] Redboot Server address problem Andrew Lunn
2004-09-13  7:43     ` Vijay Jayaraman
2004-09-13  7:52       ` Andrew Lunn
2004-09-13 15:18         ` Vijay Jayaraman
2004-09-13 18:48           ` Andrew Lunn
2004-09-14  7:33             ` [ECOS] zImage Help Vijay Jayaraman
2004-09-14  7:36               ` Vijay Jayaraman
2004-09-14  9:09                 ` Andrew Lunn
2004-09-14  9:45               ` Nick Garnett
2004-09-15  7:28                 ` Vijay Jayaraman
2004-09-15  9:36                   ` Nick Garnett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).