From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: chester@linux.org.tw Cc: gdb@sourceware.cygnus.com Subject: Re: help with remote debug!! Date: Tue, 18 Jul 2000 17:03:00 -0000 Message-id: <3974F011.278D561E@cygnus.com> References: X-SW-Source: 2000-07/msg00064.html chester@linux.org.tw wrote: > > Hi....! > I got some confuse about remote debug feature on gdb. > (I have read some GDB doc). > Build all of cross-compile in my PC for StrongARM and bootable > kernel that uses cross-compile. > Then i do the following command, >From memory, adding the GDB stub to the Linux kernel was only a recent inovation. I guess, the kernel stub code is enabled and is known to work. Does that stub code come with a Linux HOWTO tht is specific to the arm? > $ arm-unknown-linux-gdb vmlinux > > and, > (gdb) set remotebaud 115200 > (gdb) target remote /dev/ttyS0 Ok so far. (should I also mention set debug remote ...? :-) > (gdb) run this looks wrong. If I assume that you've set up: - /dev/ttyS0 ------ arm board with kernel then I don't know that ``run'' is applicable. One guess of what should happen is: o the arm board boots the kernel o the arm board traps to the sub o you connect gdb to the serial line connected to the arm board o after entering ``target remote...'' you can examine the kernel state o use continue (not run) to resume execution Andrew > > But it hang on connect to remote target,no message on my terminal. > > What can i do for it ?? Or more doc i can study?? > > Thanks, > Chester >From gerwynd@tommoll.freeserve.co.uk Thu Jul 20 04:03:00 2000 From: "Gerwyn Davies" To: "GDB" Subject: Connecting to Insight Date: Thu, 20 Jul 2000 04:03:00 -0000 Message-id: <000701bff23a$96e0c0c0$aeb8883e@gtd-s-machine> X-SW-Source: 2000-07/msg00065.html Content-length: 162 Hi,   Anyone know of the RS232 pinout require to connect Insight ( hosted on a PC, is it available for any other hosts?) to a remote target?   Thanks.   Â