From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Tony Ko Cc: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] question about GDB things. Date: Thu, 12 Jul 2001 07:15:00 -0000 Message-id: References: <9860C773D04D834D83FD6FAD00A61E9311B70C@gctsemi.gctsemi.com> X-SW-Source: 2001-07/msg00368.html On 12-Jul-2001 Tony Ko wrote: > hi. > I'm trying to load eCos image via GDB ( on board Redboot is running ) >>powerpc-eabi-gdb -nw install/eCos > (gdb) set remotebaud 38400 > (gdb) target remote /dev/ttyS0 > Remote debugging using /dev/ttyS0 > 0xfe002640 in ?? () > > what's mean by " 0xfe002640 in ??" () ? It simply the current program counter (PC) on the machine (which is actually in your debug stubs, probably RedBoot). The ?? simply means that GDB has no knowledge of where this value is, because it is not in the program being debugged. Once you download new code, the PC will be reset to a point within that application.